
function st(Stext) {
    document.getElementById('toptext').innerHTML = Stext;
}


//
var s = new String(location.href);


document.write('<style type="text/css">');

if( /\/en\/$/.test(s) ) {
    document.write('.rght_img { background:url(/i/d/index.jpg) no-repeat right top; }');
    st('Welcome to<br/>the web site of <b>Garage Service</b>');
} else



if( /\/corp\/taxi\//.test(s) ) {
    document.write('.rght_img { background:url(/i/d/corp_taxi.jpg) no-repeat right top; }');
    st('&#151; Hello, <b>Garage</b>,<br>one more taxi by two o\'clock!');
} else

if( /\/corp\/courier\//.test(s) ) {
    document.write('.rght_img { background:url(/i/d/corp_courier.jpg) no-repeat right top; }');
    st('&#151; Hello, <b>Garage</b>,<br>deliver the contract<br>personally.<br>Urgently!');
} else

if(/\/corp\/help\//.test(s) )  {
    document.write('.rght_img { background:url(/i/d/corp_help.jpg) no-repeat right top; }');
    st('&#151; Hello, <b>Garage</b>,<br>cope with<br>any trouble?');
} else

if(/\/corp\/delivery\//.test(s) )  {
    document.write('.rght_img { background:url(/i/d/corp_delivery.jpg) no-repeat right top; }');
    st('&#151; Hello, <b>Garage</b>,<br>we have no food<br>in the office.<br>Waiting...');

} else

if( /\/corp\/navigator\//.test(s) ) {
    document.write('.rght_img { background:url(/i/d/corp_navi.jpg) no-repeat right top; }');
    st('&#151; Hello, <b>Garage</b>!,<br>where is<br>my driver now?');

} else

if( /\/corp\/rent\//.test(s) ) {
    document.write('.rght_img { background:url(/i/d/corp_rent.jpg) no-repeat right top; }');
    st('&#151; Hello, <b>Garage</b>,<br>hire a car<br>for a couple of days.');

} else


if(/\/corp\//.test(s) )        {
    document.write('.rght_img { background:url(/i/d/corp.jpg) no-repeat right top; }');
    st('&#151; Hello, <b>Garage</b>!<br> Garage! A taxi to the airport:<br>a flight from Astana,<br>22:00.');

} else


//...



if(/\/personal\/taxi\//.test(s) )  {
    document.write('.rght_img { background:url(/i/d/personal_taxi.jpg) no-repeat right top; }');
    st('&#151; Hello, <b>Garage</b>!<br> a taxi to home.<br>We go on a visit.');

} else


if( /\/personal\/courier\//.test(s) ) {
    document.write('.rght_img { background:url(/i/d/personal_courier.jpg) no-repeat right top; }');
    st('&#151; Hello, <b>Garage</b>!<br>flowers for my beloved<br>right in her hands!');
} else

if(/\/personal\/help\//.test(s) )  {
    document.write('.rght_img { background:url(/i/d/personal_help.jpg) no-repeat right top; }');
    st('&#151; Hello, <b>Garage</b>!<br>cope with<br>any trouble?');
} else

if(/\/personal\/navigator\//.test(s) ) {
    document.write('.rght_img { background:url(/i/d/corp_navi.jpg) no-repeat right top; }');
    st('&#151; Hello, <b>Garage</b>!<br>Where is<br>my wife in<br>my Ferrary.');
} else

if(/\/personal\/delivery\//.test(s) )  {
    document.write('.rght_img { background:url(/i/d/personal_delivery.jpg) no-repeat right top; }');
    st('&#151; Hello, <b>Garage</b>!<br>we have no food<br>at home.<br>Waiting...');
} else

if(/\/personal\/rent\//.test(s) )  {
    document.write('.rght_img { background:url(/i/d/personal_rent.jpg) no-repeat right top; }');
    st('&#151; Hello, <b>Garage</b>!<br>My friend and<br>I hire a car.');
} else


if(/\/personal\//.test(s) )    {
    document.write('.rght_img { background:url(/i/d/personal.jpg) no-repeat right top; }');
    st('&#151; Hello, <b>Garage</b>,<br>a taxi to Medeo.<br>We go to have a rest...');
} else


//...






if(/\/about\/opinions\//.test(s) )       {
    document.write('.rght_img { background:url(/i/d/photos.jpg) no-repeat right top; }');
    st('&#151; We it is important any<br>your opinion!');
} else

if(/\/about\/quest\//.test(s) )       {
    document.write('.rght_img { background:url(/i/d/photos.jpg) no-repeat right top; }');
    st('&#151; We it is important any<br>your opinion!');
} else


if(/\/about\/order\//.test(s) )       {
    document.write('.rght_img { background:url(/i/d/order_taxi.jpg) no-repeat right top; }');
    st('&#151; Hello <b>Garage</b>,<br>one more taxi<br>to two hours');

} else


if(/\/about\/feedback\//.test(s) )    {
    document.write('.rght_img { background:url(/i/d/about.jpg) no-repeat right top; }');
    st('&#151; We consider <br>any <br>your offers!');
} else

if(/\/about\//.test(s) )       {
    document.write('.rght_img { background:url(/i/d/about.jpg) no-repeat right top; }');
    st('&#151; Hello,<br>you called<br>to the <b>Garage Service</b>.<br>We are glad to greet you.');
} else


//...



if(/\/advert\//.test(s) )       {
    document.write('.rght_img { background:url(/i/d/advert.jpg) no-repeat right top; }');
    st('&#151; <b>Garage Service</b>.<br>is Ready<br>for cooperation<br>with you!');
} else

//...




if(/\/contacts\//.test(s) )    {
    document.write('.rght_img { background:url(/i/d/contacts.jpg) no-repeat right top; }');
    st('&#151; <b>Garage</b> Service.<br>We are always<br>on line.');
} else


if(/\/map\//.test(s) )         {
    document.write('.rght_img { background:url(/i/d/index.jpg) no-repeat right top; }');
    st('&#151; <b>Garage</b> Service.<br>Be in course<br>of events!');
} else

{ document.write('.rght_img { background:url(/i/d/index.jpg) no-repeat right top; }'); }

document.write('</style>');
//
