function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf('#')!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf('?'))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


function writeTopmenu() {
MM_preloadImages('/global_ru/images/common/menu/top_menu_2006/menu_about_us_over.gif','/global_ru/images/common/menu/top_menu_2006/menu_how_to_buy_over.gif','/global_ru/images/common/menu/top_menu_2006/menu_choose_your_car_over.gif','/global_ru/images/common/menu/top_menu_2006/menu_information_over.gif','/global_ru/images/common/menu/top_menu_2006/menu_contact_us_over.gif','/global_ru/images/common/menu/left_menu_2006/about_us_01_on.gif','/global_ru/images/common/menu/left_menu_2006/about_us_02_on.gif','/global_ru/images/common/menu/left_menu_2006/about_us_03_on.gif','/global_ru/images/common/menu/left_menu_2006/about_us_04_on.gif','/global_ru/images/common/menu/left_menu_2006/about_us_05_off.gif','/global_ru/images/common/menu/left_menu_2006/about_us_06_on.gif');
str="<!-------------------- menu start  ------------------------->\n"
+"<table width='900' height='30' border='0' align='center' cellpadding='0' cellspacing='0'>\n"
+"  <tr>\n"
+"    <td align='left'>&nbsp;</td>\n"
+"    <td width='220' align='right'><table border='0' cellpadding='0' cellspacing='0'>\n"
+"       <tr>\n"
+"         <td><a href='http://www.encar.com/'><img src='/global_ru/images/common/menu/top_menu_2006/select_koream.gif' alt='korean' width='64' height='17' border='0'></a></td>\n"
+"         <td><a href='/global/index.html'><img src='/global_ru/images/common/menu/top_menu_2006/select_russian.gif' alt='English' width='52' height='17' border='0'></a></td>\n"
+"         <td><a href='/global_ar/about_us.html'><img src='/global_ru/images/common/menu/top_menu_2006/select_arabic.gif' alt='arabic' width='44' height='17' border='0'></a></td>\n"
+"         <td><a href='/global_ru/contact_us/chinese.html'><img src='/global_ru/images/common/menu/top_menu_2006/select_chinese.gif' alt='chinese' width='37' height='17' border='0'></a></td>\n"
+"         <td><a href='/global_sp/about_us.html'><img src='/global/images/common/menu/top_menu_2006/select_espanol.gif' alt='espanol' width='49' height='17' border='0'></a></td>\n"
+"       </tr>\n"+"     </table></td>\n"
+"  </tr>\n"
+"</table>\n"
+"<table width='900' height='47' border='0' align='center' cellpadding='0' cellspacing='0'>\n"
+"  <tr>\n"
+"    <td width='224' valign='top' background='/global_ru/images/common/menu/logo_03.gif' ><a href='/global_ru/index.html'><img src='/global_ru/images/common/menu/top_menu_2006/global_sk_encar_top_logo.gif' alt='Home' width='224' height='60' border='0'></a></td>\n"
+"    <td width='674' align='right' valign='top'>\n"
+"<table width='674' height='47' border='0' cellpadding='0' cellspacing='0'>\n"
+"        <tr>\n"
+"          <td width='66'>\n"
+"		  <a href='/global_ru/about_us/about_this_site.html' onMouseOut='MM_swapImgRestore()' onMouseOver=\"MM_swapImage('menu1','','/global_ru/images/common/menu/top_menu_2006/menu_about_us_over.gif',1)\">\n"
+"		  <img src='/global_ru/images/common/menu/top_menu_2006/menu_about_us.gif' alt='about us' name='menu1' width='66' height='40' border='0' onMouseOver='MM_swapImgRestore()'></a></td>\n"
+"          <td width='97'>\n"
+"		  <a href='/global_ru/how_to_buy/procedures.html ' onMouseOut='MM_swapImgRestore()' onMouseOver=\"MM_swapImage('menu2','','/global_ru/images/common/menu/top_menu_2006/menu_how_to_buy_over.gif',1)\">\n"
+"		  <img src='/global_ru/images/common/menu/top_menu_2006/menu_how_to_buy.gif' alt='how to buy' name='menu2' width='97' height='40' border='0'></a></td>\n"
+"          <td width='159'>\n"
+"		  <a href='/global_ru/choose_yours/search_by_make_model.jsp' onMouseOut='MM_swapImgRestore()' onMouseOver=\"MM_swapImage('menu3','','/global_ru/images/common/menu/top_menu_2006/menu_choose_your_car_over.gif',1)\">\n"
+"		  <img src='/global_ru/images/common/menu/top_menu_2006/menu_choose_your_car.gif' alt='choose your car' name='menu3' width='159' height='40' border='0'></a></td>\n"
+"          <td width='116'>\n"
+"		  <a href='/global_ru/information/faq.html' onMouseOut='MM_swapImgRestore()' onMouseOver=\"MM_swapImage('menu4','','/global_ru/images/common/menu/top_menu_2006/menu_information_over.gif',1)\">\n"
+"		  <img src='/global_ru/images/common/menu/top_menu_2006/menu_information.gif' alt='information' name='menu4' width='116' height='40' border='0'></a></td>\n"
+"          <td width='78'>\n"
+"		  <a href='/global_ru/contact_us/contact_us.html' onMouseOut='MM_swapImgRestore()' onMouseOver=\"MM_swapImage('menu5','','/global_ru/images/common/menu/top_menu_2006/menu_contact_us_over.gif',1)\">\n"
+"		  <img src='/global_ru/images/common/menu/top_menu_2006/menu_contact_us.gif' alt='contact us' name='menu5' width='78' height='40' border='0' /></a></td>\n"
+"          <td background='/global_ru/images/common/menu/top_menu_2006/topmenu_bg.gif'>&nbsp;</td>\n"
+"		  <td width='5'><img src='/global_ru/images/common/menu/top_menu_2006/topmenu_tail.gif' width='5' height='40' border='0'></td>\n"
+"        </tr>\n"
+"        <tr align='left'><td height='7' colspan='7'  ><img src='/global_ru/images/etc/spacer.gif' width='1' height='8'></td></tr>\n"
+"    </table></td>\n"
+"  </tr>\n"
+"</table>\n"
+"<table width='900' border='0' align='center' cellpadding='0' cellspacing='0' >\n"
+"  <tr bgcolor='#FFFFFF'>\n"
+"    <td width='250'   valign='top' bgcolor='#FFFFFF'></td>\n"
+"    <td width='650' align='right' bgcolor='#FFFFFF'><table border='0' cellspacing='0' cellpadding='0'>\n"
+"      <tr>\n"
+"        <td class='location_bar_text'><a href='#' class='location_bar'>На главную</a></td>\n"
+"        <td width='5'><img src='/global_ru/images/etc/spacer.gif' width='1' height='20'></td>\n"
+"      </tr>\n"
+"    </table></td>\n"
+"  </tr>\n"
+"  <tr bgcolor='#FFFFFF'>\n"
+"    <td colspan='2' valign='top' bgcolor='#FFFFFF'  >\n"
+"<!--main page start-->\n";
document.write(str );
}

function WriteBottom() {
str="</td>\n"
+"  </tr>\n"
+"</table>\n"
+"<table width='900' height='5' border='0' align='center' cellpadding='0' cellspacing='0'>\n"
+"  <tr>\n"
+"    <td width='226'><img src='/global_ru/images/etc/spacer.gif' width='1' height='1'></td>\n"
+"  </tr>\n"
+"</table>\n"
+"<table width='900' height='50' border='0' align='center' cellpadding='0' cellspacing='0' class='tableline_cc_lrtb' >\n"
+"  <tr>\n"
+"    <td align='center'><table width='875'  border='0' cellspacing='0' cellpadding='0'>\n"
+"        <tr>\n"
+"          <td width='278' align='left'><img src='/global_ru/images/common/menu/tail_2006/tail_logo.gif' alt='SK encar' width='278' height='24'></td>\n"
+"          <td align='right'><table width='287' height='24' border='0' cellpadding='0' cellspacing='0'>\n"
+"            <tr>\n"
+"              <td width='230' height='24'><a href='/global_ru/contact_us/copyright_notice.html'><img src='/global_ru/images/common/menu/tail_2006/copyright_notice.gif' alt='Copyright Notice' width='230' height='24' border='0'></a></td>\n"
+"              <td width='186'><a href='/global_ru/contact_us/private_policy.html'><img src='/global_ru/images/common/menu/tail_2006/private_policy.gif' alt='Private Policy' width='186' height='24' border='0'></a></td>\n"
+"              <td width='75'><a href='/global_ru/contact_us/contact_us.html'><img src='/global_ru/images/common/menu/tail_2006/contact_us.gif' alt='Contact US' width='75' height='24' border='0'></a></td>\n"
+"				<td width='93'><a href='/global_ru/etc/sitemap.html'><img src='/global_ru/images/common/menu/tail_2006/site_map.gif' alt='Site map' width='93' height='24' border='0' /></a></td>"
+"            </tr>\n"
+"          </table></td>\n"
+"        </tr>\n"
+"      </table>\n"
+"    </td>\n"
+"  </tr>\n"
+"</table>\n"
+"<table width='900' height='5' border='0' align='center' cellpadding='0' cellspacing='0'>\n"
+"  <tr>\n"
+"    <td width='226'><img src='/global_ru/images/etc/spacer.gif' width='1' height='1'></td>\n"
+"  </tr>\n"
+"</table>\n"
+"<!-------------------menu end------------------------>\n";
document.write(str );
}
