function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}

function PWinopen(fpath,name,style){//v2.0
window.open(fpath,name,'toolbar=yes,scrollbars=yes,resizable=yes,location=no,directories=no,width=300,height=350,top=100,left=200');}//

function SWinopen(fpath,name,style){//v2.0
window.open(fpath,name,'toolbar=yes,scrollbars=yes,resizable=yes,location=no,directories=no,width=500,height=300,top=100,left=200');}//

function XWinopen(fpath,name,style){//v2.0
window.open(fpath,name,'toolbar=yes,scrollbars=yes,resizable=yes,location=no,directories=no,width=680,height=500,top=100,left=100');}//

function ZoomWinopen(fpath,name,style){//v2.0
window.open(fpath,name,'toolbar=yes,scrollbars=no,resizable=no,location=no,directories=no,width=380,height=380,top=100,left=100');}//

function MM_openbasket(BUrl,ProductID){ //v2.1
window.open(BUrl+'?productid='+ProductID+'&Locationid=01','购物车','toolbar=yes,scrollbars=yes,resizable=yes,location=no,directories=no,width=520,height=250,top=100,left=150');
}

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

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.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 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() { //v6.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; }
}
if (document.all)
document.write('<link rel="stylesheet" href="Include/style.css" type="text/css"><style type="text/css"><!--.search {  font-family: 宋体; font-size: 12px; border: 1px #999999 solid; color: #000000; background-color: #FFFFFF; height: 16px; padding-top: 1px}--></style>');
document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" align="center"><tr><td background="../image/topbjimg.gif">&nbsp;</td></tr></table><table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" align="center"><tr><td rowspan="2" align="center" width="160"><a href="http://www.yongle.com.cn"><img src="../images/yonglelogo.gif" height="50" width="150" alt="永乐家电" border="0"></a></td><td rowspan="2" align="center" width="16%">&nbsp;</td><td width=" 330" rowspan="2" background="../images/login.gif" valign="bottom"><table width="330" border="0" cellspacing="0" cellpadding="0"><tr><td align="center"><a href="../service/user/login.asp"><img src="../images/loginbt.gif" border="0" ></a>&nbsp;&nbsp;&nbsp;<a href="../include/user/regist.asp" target="_blank"><img src="../images/registbt.gif" border="0"></a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><img src="../image/spacer.gif" width="10" height="10"></td></tr></table></td><td rowspan="2" width="88" align="center"><a href="../mall/Basket.asp" target="_blank"><img src="../images/shoppingbag.gif" border="0" alt="查看购物车"></a></td><td rowspan="2" align="center">&nbsp;</td><td valign="bottom" align="center" width="155"><img src="../images/logo2.gif" width="149" height="31" alt="永乐生活电器"></td></tr><tr><td align="center" height="52"><img src="../image/telephone.gif" width="149" height="50"></td></tr></table><table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" align="center"><tr><td width="79" background="../image/hximg.gif"><a href="../default.asp"><img src="../image/shoppinghome.gif" width="79" height="23" alt="商城首页" border="0"></a></td><td width="79" background="../image/hximg.gif"><a href="http://www.yongle.cn/news/"><img src="../image/ylnews.gif" width="79" height="23" border="0" alt="永乐新闻"></a></td><td width="79" background="../image/hximg.gif"><a href="http://www.yongle.cn/Filiale/"><img src="../image/distribute.gif" width="79" height="23" border="0" alt="门店分布"></a></td><td width="79" background="../image/hximg.gif"><a href="../service/"><img src="../image/service.gif" width="79" height="23" border="0" alt="服务中心"></a></td><td width="79" background="../image/hximg.gif"><a href="http://www.yongle.cn/"><img src="../image/yonglecn.gif" width="79" height="23" border="0" alt="走进永乐"></a></td><td width="79" background="../image/hximg.gif"><a href="../magazine/"><img src="../image/YOLOmagazine.gif" width="79" height="23" border="0" alt="YoLo杂志"></a></td><td width="82" background="../image/hximg.gif"><a href="http://www.yongle.cn/contact/"><img src="../image/contactus.gif" width="79" height="23" border="0" alt="联系我们"></a></td><td background="../image/hximg.gif"><table  width="100%" height="18" border="0" cellpadding="0" cellspacing="0"><tr><td valign="bottom" align="center"><marquee direction=left TrueSpeed scrollAmount=1 scrollDelay=30 width="100%" height=15 border="0" onMouseOut=this.start(); onMouseOver=this.stop();> ·<a href="http://www.yongle.com.cn/magazine/default.asp" target="_blank"> <font color=#FF6600>《YoLo》杂志电子版</font></a> ·<a href="http://www.yongle.com.cn/service/user/UpdateL.asp" target="_blank"> <font color=#333333> 亲爱的用户，由于系统更新，请及时登录更新您的个人信息！</font></a> ·<font color=#FF6600>购物咨询 请拨全国服务电话 4008-11-3336（手机可拨打）</font> ·<a href="http://www.yongle.com.cn/service/guide/psxx.asp" target="_blank"> <font color=#333333> 网上购物配送指南>>></font></a> ·<a href="http://www.yongle.com.cn/service/guide/fkxz.asp" target="_blank"> <font color=#FF6600>网上商城主要面向上海地区销售</font></a></marquee></td></tr></table></td></tr><tr><td height="8" colspan="8"><img src="../image/spacer.gif" width="8" height="8"></td></tr></table>');