var oImg 
function fiximgwin(surl,w,h){ 
if(arguments.length==1){        //如果图像大小未定?
     oImg=new Image()             //创建图像对象 
     oImg.src=surl                 //设置图像?
     Size(surl)                    //调用Size函数获取图像尺寸 
} 
//如果已取得图像尺寸，打开固定大小的窗?
else window.open(surl,"sPIC","width="+w+",height="+h) 
} 
function Size(surl){ 
if(oImg.width&&oImg.height)        //如果已取得图像尺?
//将图像尺寸加上一定尺寸后返回给fiximgwin()函数?
//其中18?5的表现见下图右下角所?
fiximgwin(surl,oImg.width+18,oImg.height+25)   
else setTimeout("Size(surl)",10) 
}

function mmLoadMenus() {
  if (window.mm_menu_0526140240_0) return;
  window.mm_menu_0526140240_0 = new Menu("root",160,18,"",12,"#000000","#000000","#F9F9F9","#E7E7E7","left","middle",5,0,500,-5,7,true,true,true,0,true,true);
  mm_menu_0526140240_0.addMenuItem("Company Profile","location='/DOCE/about/default.html'");
  mm_menu_0526140240_0.addMenuItem("Factory Profile","location='/DOCE/about/live-action.html'");
  mm_menu_0526140240_0.addMenuItem("Certification,Credit & Honor","location='/DOCE/about/certification.html'");
   mm_menu_0526140240_0.hideOnMouseOut=true;
   mm_menu_0526140240_0.bgColor='#F9F9F9';
   mm_menu_0526140240_0.menuBorder=1;
   mm_menu_0526140240_0.menuLiteBgColor='#F9F9F9';
   mm_menu_0526140240_0.menuBorderBgColor='#CDCDCD';

  window.mm_menu_0526140346_0 = new Menu("root",150,18,"",12,"#000000","#000000","#F9F9F9","#E7E7E7","left","middle",5,0,500,-5,7,true,true,true,0,true,true);
  mm_menu_0526140346_0.addMenuItem("Chaowei news","location='/DOCE/news/default_85_1.html'");
  mm_menu_0526140346_0.addMenuItem("Chaowei field","location='/DOCE/news/default_86_1.html'");
  mm_menu_0526140346_0.addMenuItem("Show information","location='/DOCE/news/default_87_1.html'");
  mm_menu_0526140346_0.addMenuItem("Trade news","location='/DOCE/news/default_88_1.html'");
   mm_menu_0526140346_0.hideOnMouseOut=true;
   mm_menu_0526140346_0.bgColor='#F9F9F9';
   mm_menu_0526140346_0.menuBorder=1;
   mm_menu_0526140346_0.menuLiteBgColor='#F9F9F9';
   mm_menu_0526140346_0.menuBorderBgColor='#CDCDCD';

      window.mm_menu_0526141000_0 = new Menu("root",180,18,"",12,"#000000","#000000","#F9F9F9","#E7E7E7","left","middle",5,0,500,-5,7,true,true,true,0,true,true);
  mm_menu_0526141000_0.addMenuItem("News products","location='/DOCE/product/default_3_1.html'");
  mm_menu_0526141000_0.addMenuItem("Hot products","location='/DOCE/product/default_2_1.html'");
  mm_menu_0526141000_0.addMenuItem("Automotive Electronics Boutique","location='/DOCE/product/default_41_1.html'");
  mm_menu_0526141000_0.addMenuItem("Home Electronics Boutique","location='/DOCE/product/default_42_1.html'");
  mm_menu_0526141000_0.addMenuItem("Outdoor electronic products","location='/DOCE/product/default_43_1.html'");
  mm_menu_0526141000_0.addMenuItem("Office electronics products","location='/DOCE/product/default_44_1.html'");
   mm_menu_0526141000_0.hideOnMouseOut=true;
   mm_menu_0526141000_0.bgColor='#F9F9F9';
   mm_menu_0526141000_0.menuBorder=1;
   mm_menu_0526141000_0.menuLiteBgColor='#F9F9F9';
   mm_menu_0526141000_0.menuBorderBgColor='#CDCDCD';

  window.mm_menu_0526141502_0 = new Menu("root",150,18,"",12,"#000000","#000000","#F9F9F9","#E7E7E7","left","middle",5,0,500,-5,7,true,true,true,0,true,true);
  mm_menu_0526141502_0.addMenuItem("Channel policy","location='/DOCE/channels/default_89_1.html'");
  mm_menu_0526141502_0.addMenuItem("Distribution channels","location='/DOCE/channels/distribution.html'");
  mm_menu_0526141502_0.addMenuItem("Investment channels","location='/DOCE/channels/default_91_1.html'");
   mm_menu_0526141502_0.hideOnMouseOut=true;
   mm_menu_0526141502_0.bgColor='#F9F9F9';
   mm_menu_0526141502_0.menuBorder=1;
   mm_menu_0526141502_0.menuLiteBgColor='#F9F9F9';
   mm_menu_0526141502_0.menuBorderBgColor='#CDCDCD';

  window.mm_menu_0526141621_0 = new Menu("root",150,18,"",12,"#000000","#000000","#F9F9F9","#E7E7E7","left","middle",5,0,500,-5,7,true,true,true,0,true,true);
  mm_menu_0526141621_0.addMenuItem("E-knowledge","location='/DOCE/knowledge/default.html'");
  mm_menu_0526141621_0.addMenuItem("Consumer faq","location='/DOCE/knowledge/faq.html'");
  mm_menu_0526141621_0.addMenuItem("Partner Forum","location='/BBS/index.aspx'");
   mm_menu_0526141621_0.hideOnMouseOut=true;
   mm_menu_0526141621_0.bgColor='#F9F9F9';
   mm_menu_0526141621_0.menuBorder=1;
   mm_menu_0526141621_0.menuLiteBgColor='#F9F9F9';
   mm_menu_0526141621_0.menuBorderBgColor='#CDCDCD';

  window.mm_menu_0526141705_0 = new Menu("root",150,18,"",12,"#000000","#000000","#F9F9F9","#E7E7E7","left","middle",5,0,500,-5,7,true,true,true,0,true,true);
  mm_menu_0526141705_0.addMenuItem("Company contact","location='/DOCE/contact/retail.html'");
  mm_menu_0526141705_0.addMenuItem("Gift contact channels","location='/DOCE/contact/gift.html'");
  mm_menu_0526141705_0.addMenuItem("Contact the retail channels","location='/DOCE/contact/retail.html'");
   mm_menu_0526141705_0.hideOnMouseOut=true;
   mm_menu_0526141705_0.bgColor='#F9F9F9';
   mm_menu_0526141705_0.menuBorder=1;
   mm_menu_0526141705_0.menuLiteBgColor='#F9F9F9';
   mm_menu_0526141705_0.menuBorderBgColor='#CDCDCD';

mm_menu_0526141705_0.writeMenus();
} // mmLoadMenus()

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];}
}
