﻿// JavaScript Document

  var imga=new Array()
    imga[0]=new Image();
	imga[0].src="/images_En/menu_home.gif";
	imga[1]=new Image();
	imga[1].src="/images_En/menu_company.gif";
	imga[2]=new Image();
	imga[2].src="/images_En/menu_product.gif";
	imga[3]=new Image();
	imga[3].src="/images_En/menu_partners.gif";

  var imgb=new Array()
    imgb[0]=new Image();
	imgb[0].src="/images_En/menu_home_f.gif";
	imgb[1]=new Image();
	imgb[1].src="/images_En/menu_company_f.gif";
	imgb[2]=new Image();
	imgb[2].src="/images_En/menu_product_f.gif";
	imgb[3]=new Image();
	imgb[3].src="/images_En/menu_partners_f.gif";
	
					
	function sms_GetObj(objName){
		if(document.getElementById){
			return eval('document.getElementById("' + objName + '")');
		}else if(document.layers){
			return eval("document.layers['" + objName +"']");
		}else{
			return eval('document.all.' + objName);
		}
	}
	function changeImage(){
		
	}
	function SetLbl(preFix, ImageName, idx){
		for(var i=0;i<9;i++){
			if(sms_GetObj(preFix+i)) sms_GetObj(preFix+i).src = eval(preFix+"["+i+"].src");
			if(sms_GetObj(preFix+"_con_"+i)) sms_GetObj(preFix+"_con_"+i).style.display = "none";
		}
		
		/*sms_GetObj(preFix+"_con_"+idx).style.display = "block";*/
		
		sms_GetObj(preFix+idx).src = eval(ImageName+"["+idx+"].src");						
	}

document.write("<table width='1003' border='0' align='center' cellpadding='0' cellspacing='0'>");
document.write("  <tr>");
document.write("    <td width='164' height='55' align='right'><a href='/en/index.html'><img src='/images_en/logo.gif' width='139' height='23' border='0' /></a></td>");
document.write("    <td width='130' align='center' style='padding-top:8px;'><span class='font_en10'><a href='/' class='font_black'>简体中文</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href='/en/index.html' class='font_black'>Home</a></td>");
document.write("    <td>&nbsp;</td>");
document.write("  </tr>");
document.write("</table>");

if(window.location.href.indexOf("index_en.html")>0 || window.location.href.indexOf("terms.html")>0 || window.location.href.indexOf("privacy.html")>0){
document.write("<table width='1003' border='0' align='center' cellpadding='0' cellspacing='0' class='top_menu'>");
document.write("  <tr>");
document.write("    <td width='74'>");
document.write("      <div onMouseOver=SetLbl('imga','imgb',0)><a href='/en/index.html'><img src='/images_En/menu_home.gif' width='74' height='25' border='0' id='imga0'></a></div>");
document.write("    </td>");
document.write("    <td width='116'>");
document.write("      <div onMouseOver=SetLbl('imga','imgb',1)><a href='/en/company/about_us.html'><img src='/images_En/menu_company.gif' border='0' id='imga1'></a></div>");
document.write("    </td>");
document.write("    <td width='90'>");
document.write("      <div onMouseOver=SetLbl('imga','imgb',2)><a href='/phoneshow/phoneshow_en.asp'><img src='/images_En/menu_product.gif' border='0' id='imga2'></a></div>");
document.write("    </td>");
document.write("    <td width='90'>");
document.write("      <div onMouseOver=SetLbl('imga','imgb',3)><a href='/en/partner/oem.html'><img src='/images_En/menu_partners.gif' border='0' id='imga3'></a></div>");
document.write("    </td>");
document.write("    <td style='border-right:1px solid #BABABA;'>&nbsp;</td>");
document.write("  </tr>");
document.write("</table>");
SetLbl('imga','imgb',0);
}

else if(window.location.href.indexOf("about_us.html")>0 || window.location.href.indexOf("quality.html")>0 || window.location.href.indexOf("history.html")>0){
document.write("<table width='1003' border='0' align='center' cellpadding='0' cellspacing='0' class='top_menu'>");
document.write("  <tr>");
document.write("    <td width='74'>");
document.write("      <div onMouseOver=SetLbl('imga','imgb',0)><a href='/en/index.html'><img src='/images_En/menu_home.gif' width='74' height='25' border='0' id='imga0'></a></div>");
document.write("    </td>");
document.write("    <td width='116'>");
document.write("      <div onMouseOver=SetLbl('imga','imgb',1)><a href='/en/company/about_us.html'><img src='/images_En/menu_company.gif' border='0' id='imga1'></a></div>");
document.write("    </td>");
document.write("    <td width='90'>");
document.write("      <div onMouseOver=SetLbl('imga','imgb',2)><a href='/phoneshow/phoneshow_en.asp'><img src='/images_En/menu_product.gif' border='0' id='imga2'></a></div>");
document.write("    </td>");
document.write("    <td width='90'>");
document.write("      <div onMouseOver=SetLbl('imga','imgb',3)><a href='/en/partner/oem.html'><img src='/images_En/menu_partners.gif' border='0' id='imga3'></a></div>");
document.write("    </td>");
document.write("    <td style='border-right:1px solid #BABABA;'>&nbsp;</td>");
document.write("  </tr>");
document.write("</table>");
SetLbl('imga','imgb',1);
}

else if(window.location.href.indexOf("phoneshow_En.asp")>0 || window.location.href.indexOf("phone_En.aspx")>0 || window.location.href.indexOf("comparePhones_En.asp")>0){
document.write("<table width='1003' border='0' align='center' cellpadding='0' cellspacing='0' class='top_menu'>");
document.write("  <tr>");
document.write("    <td width='74'>");
document.write("      <div onMouseOver=SetLbl('imga','imgb',0)><a href='/en/index.html'><img src='/images_En/menu_home.gif' width='74' height='25' border='0' id='imga0'></a></div>");
document.write("    </td>");
document.write("    <td width='116'>");
document.write("      <div onMouseOver=SetLbl('imga','imgb',1)><a href='/en/company/about_us.html'><img src='/images_En/menu_company.gif' border='0' id='imga1'></a></div>");
document.write("    </td>");
document.write("    <td width='90'>");
document.write("      <div onMouseOver=SetLbl('imga','imgb',2)><a href='/phoneshow/phoneshow_en.asp'><img src='/images_En/menu_product.gif' border='0' id='imga2'></a></div>");
document.write("    </td>");
document.write("    <td width='90'>");
document.write("      <div onMouseOver=SetLbl('imga','imgb',3)><a href='/en/partner/oem.html'><img src='/images_En/menu_partners.gif' border='0' id='imga3'></a></div>");
document.write("    </td>");
document.write("    <td style='border-right:1px solid #BABABA;'>&nbsp;</td>");
document.write("  </tr>");
document.write("</table>");
SetLbl('imga','imgb',2);
}

else if(window.location.href.indexOf("oem.html")>0 || window.location.href.indexOf("lenovo_mobile.html")>0 || window.location.href.indexOf("partner_contact_us.html")>0){
document.write("<table width='1003' border='0' align='center' cellpadding='0' cellspacing='0' class='top_menu'>");
document.write("  <tr>");
document.write("    <td width='74'>");
document.write("      <div onMouseOver=SetLbl('imga','imgb',0)><a href='/en/index.html'><img src='/images_En/menu_home.gif' width='74' height='25' border='0' id='imga0'></a></div>");
document.write("    </td>");
document.write("    <td width='116'>");
document.write("      <div onMouseOver=SetLbl('imga','imgb',1)><a href='/en/company/about_us.html'><img src='/images_En/menu_company.gif' border='0' id='imga1'></a></div>");
document.write("    </td>");
document.write("    <td width='90'>");
document.write("      <div onMouseOver=SetLbl('imga','imgb',2)><a href='/phoneshow/phoneshow_en.asp'><img src='/images_En/menu_product.gif' border='0' id='imga2'></a></div>");
document.write("    </td>");
document.write("    <td width='90'>");
document.write("      <div onMouseOver=SetLbl('imga','imgb',3)><a href='/en/partner/oem.html'><img src='/images_En/menu_partners.gif' border='0' id='imga3'></a></div>");
document.write("    </td>");
document.write("    <td style='border-right:1px solid #BABABA;'>&nbsp;</td>");
document.write("  </tr>");
document.write("</table>");
SetLbl('imga','imgb',3);
}

else{
document.write("<table width='1003' border='0' align='center' cellpadding='0' cellspacing='0' class='top_menu'>");
document.write("  <tr>");
document.write("    <td width='74'>");
document.write("      <div onMouseOver=SetLbl('imga','imgb',0)><a href='/en/index.html'><img src='/images_En/menu_home.gif' width='74' height='25' border='0' id='imga0'></a></div>");
document.write("    </td>");
document.write("    <td width='116'>");
document.write("      <div onMouseOver=SetLbl('imga','imgb',1)><a href='/en/company/about_us.html'><img src='/images_En/menu_company.gif' border='0' id='imga1'></a></div>");
document.write("    </td>");
document.write("    <td width='90'>");
document.write("      <div onMouseOver=SetLbl('imga','imgb',2)><a href='/phoneshow/phoneshow_en.asp'><img src='/images_En/menu_product.gif' border='0' id='imga2'></a></div>");
document.write("    </td>");
document.write("    <td width='90'>");
document.write("      <div onMouseOver=SetLbl('imga','imgb',3)><a href='/en/partner/oem.html'><img src='/images_En/menu_partners.gif' border='0' id='imga3'></a></div>");
document.write("    </td>");
document.write("    <td style='border-right:1px solid #BABABA;'>&nbsp;</td>");
document.write("  </tr>");
document.write("</table>");
}