<!--


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_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_findObj(n, d) { //v4.0
  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 && document.getElementById) x=document.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 MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}

function Linkto(aURL,target){
	if(target=="_blank")
		window.open(aURL);
	else
		location.href=aURL;
}


function MItem(aURL,mName,childTop,rImage,hImage,target)
{
	this.aURL = aURL;
	this.mName = mName;
	this.childTop = childTop;
	this.rImage = rImage;
	this.hImage = hImage;	
	this.target=target;
	
	return this;
}

function ChildItem(aURL,mName,target)
{
	this.aURL = aURL;
	this.mName = mName;		
	this.target=target;
	
	return this;
}


var borderColor="#ffffff"; //菜单边框颜色
var foreColor="#ffffff"; //菜单前景色
var menuBgColor="#21556B"; //菜单背景色
var menuHighColor="#0099FF"; //菜单高亮显示颜色
var rootpath="/GB"; //菜单主目录路径

var MenuCount=11;  //一级菜单数
var MenuStr;
var ChildStr;

ParentMenu=new Array(MenuCount);
ParentMenu[1]=new MItem("index.htm","Image1","87","css/nav_01.gif","css/nav_01_hover.gif","");
ParentMenu[2]=new MItem("Laptop-Battery-Manufacturer.htm","Image2","150","css/nav_02.gif","css/nav_02_hover.gif","_top");
ParentMenu[3]=new MItem("Laptop-AC-adapter-Manufacturer.htm","Image3","184","css/nav_03.gif","css/nav_03_hover.gif","_top");
ParentMenu[4]=new MItem("Digital-Camera-Battery-manufacturer.htm","Image4","218","css/nav_04.gif","css/nav_04_hover.gif","_top");
ParentMenu[5]=new MItem("Camcorder-Battery-manufacturer.htm","Image5","252","css/nav_05.gif","css/nav_05_hover.gif","_top");
ParentMenu[6]=new MItem("Digital-Camera-Adapter-manufacturer.htm","Image6","288","css/nav_06.gif","css/nav_06_hover.gif","_top");
ParentMenu[7]=new MItem("R-D.htm","Image9","291","css/nav_09.gif","css/nav_09_hover.gif","");
ParentMenu[8]=new MItem("FAQ.htm","Image7","291","css/nav_07.gif","css/nav_07_hover.gif","");
ParentMenu[9]=new MItem("Factory-tour.htm","Image11","291","css/nav_11.gif","css/nav_11_hover.gif","");
ParentMenu[10]=new MItem("ContactUs.htm","Image8","325","css/nav_08.gif","css/nav_08_hover.gif","");
ParentMenu[11]=new MItem("Sitemap.htm","Image10","325","css/nav_10.gif","css/nav_10_hover.gif","");



ChildMenu=new Array(MenuCount);

ChildMenu[1]=new Array(
);

ChildMenu[2]=new Array(
	new ChildItem("Laptop-Battery-Ibm.htm","IBM Laptop Battery",""),
	new ChildItem("Laptop-Battery-Compaq.htm","COMPAQ Laptop Battery",""),
	new ChildItem("Laptop-Battery-Hp.htm","HP Laptop Battery",""),
	new ChildItem("Laptop-Battery-Dell.htm","DELL Laptop Battery",""),	
	new ChildItem("Laptop-Battery-ACER.htm","ACER Laptop Battery",""),		
	new ChildItem("Laptop-Battery-ASUS.htm","ASUS Laptop Battery",""),
	new ChildItem("Laptop-Battery-APPLE.htm","APPLE Laptop Battery",""),
	new ChildItem("Laptop-Battery-TOSHIBA.htm","TOSHIBA Laptop Battery",""),
	new ChildItem("Laptop-Battery-Sony.htm","SONY Laptop Battery",""),
	new ChildItem("Laptop-Battery-lenovo.htm","LENOVO Laptop Battery",""),
	new ChildItem("Laptop-Battery-gateway.htm","GATEWAY Laptop Battery",""),
	new ChildItem("Laptop-Battery-samsung.htm","SAMSUNG Laptop Battery",""),
	new ChildItem("Laptop-Battery-fujitsu.htm","FUJITSU Laptop Battery",""),
	new ChildItem("Laptop-Battery-mitac.htm","MITAC Laptop Battery",""),
	new ChildItem("Laptop-Battery-msi.htm","MSI Laptop Battery",""),
	new ChildItem("Laptop-Battery-clevo.htm","CLEVO Laptop Battery",""),
	new ChildItem("Laptop-Battery-uniwill.htm","UNIWILL Laptop Battery","")
);

ChildMenu[3]=new Array(
	new ChildItem("Laptop-AC-adapter-UNIVERSAL.htm","Universal Laptop Adapter",""),
	new ChildItem("Laptop-AC-adapter-IBM.htm","IBM Laptop Adapter",""),		
	new ChildItem("Laptop-AC-adapter-DELL.htm","DELL Laptop Adapter",""),
	new ChildItem("Laptop-AC-adapter-COMPAQ.htm","COMPAQ Laptop Adapter",""),
	new ChildItem("Laptop-AC-adapter-HP-COMPAQ.htm","HP/COMPAQ Laptop Adapter",""),
	new ChildItem("Laptop-AC-adapter-ACER.htm","ACER Laptop Adapter",""),
	new ChildItem("Laptop-AC-adapter-APPLE.htm","APPLE Laptop Adapter",""),	
	new ChildItem("Laptop-AC-adapter-SONY.htm","SONY Laptop Adapter",""),
	new ChildItem("Laptop-AC-adapter-SAMSUNG.htm","SAMSUNG Laptop Adapter",""),
	new ChildItem("Laptop-AC-adapter-TOSHIBA.htm","TOSHIBA Laptop Adapter",""),
	new ChildItem("Laptop-AC-adapter-LITEON.htm","LITEON Laptop Adapter",""),
	new ChildItem("Laptop-AC-adapter-DELTA.htm","DELTA Laptop Adapter",""),
	new ChildItem("Laptop-AC-adapter-LISHIN.htm","LISHIN Laptop Adapter",""),
	new ChildItem("Laptop-AC-adapter-ASUS.htm","ASUS Laptop Adapter",""),
	new ChildItem("Laptop-AC-adapter-LENOVO.htm","LENOVO Laptop Adapter",""),
	new ChildItem("Laptop-AC-adapter-GATEWAY.htm","GATEWAY Laptop Adapter",""),
	new ChildItem("Laptop-AC-adapter-FUJITSU.htm","FUJITSU Laptop Adapter",""),	
	new ChildItem("Laptop-AC-adapter-NEC.htm","NEC Laptop Adapter",""),
	new ChildItem("Laptop-AC-adapter-LCD-Monitors.htm","LCD Monitors AC Adapter","")	
);	

ChildMenu[4]=new Array(
	new ChildItem("Digital-Camera-Battery-sony.htm","SONY DC Battery",""),
	new ChildItem("Digital-Camera-Battery-samsung.htm","SAMSUNG DC Battery",""),
	new ChildItem("Digital-Camera-Battery-panasonic.htm","PANASONIC DC Battery",""),
	new ChildItem("Digital-Camera-Battery-nikon.htm","NIKON DC Battery",""),
	new ChildItem("Digital-Camera-Battery-canon.htm","CANON DC Battery",""),
	new ChildItem("Digital-Camera-Battery-minolta.htm","MINOLTA DC Battery",""),
	new ChildItem("Digital-Camera-Battery-olympus.htm","OLYMPUS DC Battery",""),
	new ChildItem("Digital-Camera-Battery-Kodak.htm","KODAK DC Battery",""),
	new ChildItem("Digital-Camera-Battery-Casio.htm","CASIO DC Battery",""),
	new ChildItem("Digital-Camera-Battery-kyocera.htm","KYOCERA DC Battery",""),
	new ChildItem("Digital-Camera-Battery-fujifilm.htm","FUJIFILM DC Battery",""),
	new ChildItem("Digital-Camera-Battery-konica.htm","KONICA DC Battery",""),
	new ChildItem("Digital-Camera-Battery-jvc.htm","JVC DC Battery",""),
	new ChildItem("Digital-Camera-Battery-pentax.htm","PENTAX DC Battery",""),
	new ChildItem("Digital-Camera-Battery-ricoh.htm","RICOH DC Battery",""),
	new ChildItem("Digital-Camera-Battery-sanyo.htm","SANYO DC Battery","")

);

ChildMenu[5]=new Array(
	new ChildItem("Camcorder-Battery-sony.htm","SONY DV Battery",""),
	new ChildItem("Camcorder-Battery-jvc.htm","JVC DV Battery",""),
	new ChildItem("Camcorder-Battery-samsung.htm","SAMSUNG DV Battery",""),
	new ChildItem("Camcorder-Battery-panasonic.htm","PANASONIC DV Battery",""),
	new ChildItem("Camcorder-Battery-canon.htm","CANON DV Battery",""),
	new ChildItem("Camcorder-Battery-sharp.htm","SHARP DV Battery","")	
);

ChildMenu[6]=new Array(
	new ChildItem("Digital-Camera-Adapter-sony.htm","SONY AC Adapter",""),
	new ChildItem("Digital-Camera-Adapter-samsung.htm","SAMSUNG AC Adapter",""),
	new ChildItem("Digital-Camera-Adapter-Panasonic.htm","PANASONIC AC Adapter",""),
	new ChildItem("Digital-Camera-Adapter-Nikon.htm","NIKON AC Adapter",""),
	new ChildItem("Digital-Camera-Adapter-Canon.htm","CANON AC Adapter",""),
	new ChildItem("Digital-Camera-Adapter-Minolta.htm","MINOLTA AC Adapter",""),
	new ChildItem("Digital-Camera-Adapter-Olympus.htm","OLYMPUS AC Adapter",""),
	new ChildItem("Digital-Camera-Adapter-Kodak.htm","KODAK AC Adapter",""),
	new ChildItem("Digital-Camera-Adapter-Casio.htm","CASIO AC Adapter",""),
	new ChildItem("Digital-Camera-Adapter-fujifilm.htm","FUJIFILM AC Adapter",""),
	new ChildItem("Digital-Camera-Adapter-Jvc.htm","JVC AC Adapter",""),
	new ChildItem("Digital-Camera-Adapter-Sharp.htm","SHARP AC Adapterr","")
);	
	
ChildMenu[7]=new Array(
	
);

ChildMenu[8]=new Array(
	
);

ChildMenu[9]=new Array(
	
);

ChildMenu[10]=new Array(
	
);


ChildMenu[11]=new Array(
	
);



//alert(ChildMenu[1][0].aURL);

MenuStr="<table border=0 cellpadding=0 cellspacing=0>";

for(var i=1;i<=MenuCount;i++){
	MenuStr+="<tr><td align=\"left\" valign=\"top\" height=34><a href=\""+ParentMenu[i].aURL+"\" target=\""+ParentMenu[i].target+"\">";
	MenuStr+="<img src=\""+ParentMenu[i].rImage+"\" name=\""+ParentMenu[i].mName+"\" onMouseOut=\"MM_swapImgRestore();";
	MenuStr+="MM_showHideLayers('Layer"+i+"','','hide')\" onMouseOver=\"MM_swapImage('"+ParentMenu[i].mName+"','','"+ParentMenu[i].hImage+"',1);";
	MenuStr+="MM_showHideLayers('Layer"+i+"','','show')\" border=\"0\"></a></td><td align=\"left\" valign=\"top\" width=1>";
	MenuStr+="<div id=\"Layer"+i+"\" style=\"position:absolute; top:"+ParentMenu[i].childTop+"px; z-index:1; visibility: hidden\" onMouseOver=\"";
	MenuStr+="MM_swapImage('"+ParentMenu[i].mName+"','','"+ParentMenu[i].hImage+"',1);MM_showHideLayers('Layer"+i+"','','show')\" ";
	MenuStr+="onMouseOut=\"MM_swapImgRestore();MM_showHideLayers('Layer"+i+"','','hide')\"> ";
	MenuStr+="<table width=\"188\" border=\"0\" cellpadding=\"2\" bgcolor=\""+borderColor+"\" cellspacing=\"1\" style=\"cursor='hand'\">";
	
	ChildStr="";
	for (var j=0;j<ChildMenu[i].length;j++){
		ChildStr+="<tr><td onMouseOver=\"this.bgColor='"+menuHighColor+"';\"onMouseOut=\"this.bgColor='"+menuBgColor+"';\" valign=bottom ";
		ChildStr+="bgcolor="+menuBgColor+" height=\"18\" onClick=\"Linkto('"+ChildMenu[i][j].aURL+"','"+ChildMenu[i][j].target+"');\">";
		ChildStr+="<font color=\""+menuBgColor+"\">"+"&nbsp;&nbsp;"+"</font>"+"<font style=\"font-size:12px; font-family:Arial \" color=\""+foreColor+"\">"+ChildMenu[i][j].mName+"</font></td></tr>";
	}
	
	MenuStr+=ChildStr;
	MenuStr+="</table></div></td></tr>";

}

MenuStr+="</table>";

document.write(MenuStr);


// -->