//图片变换效果函数
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.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 swapClass(obj, cls) 
{
  obj.className = cls ;
}

//显示主菜单
function showMenu(MenuID)
{
	var strMenu = null;
		  strMenu = "<img src=\"http://www.benq.com.cn/images/m1.jpg\" align=\"absmiddle\" width=\"119\" height=\"78\" border=\"0\">";

	switch(MenuID)
	{
		case "product" :
			strMenu = strMenu + "<a onclick=\"goUrl('product');showMenu('product')\" onfocus=\"this.blur();\" style=\"cursor:hand;\"><img name=\"Image1\" src=\"http://www.benq.com.cn/images/mm01on.gif\" align=\"absmiddle\" width=\"85\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('service');showMenu('service')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('service')\" onMouseOver=\"MM_swapImage('Image2','','http://www.benq.com.cn/images/mm02on.gif',1);ypSlideOutMenu.showMenu('service')\"><img name=\"Image2\" src=\"http://www.benq.com.cn/images/mm02off.gif\" align=\"absmiddle\" width=\"71\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('news');showMenu('news')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('news')\" onMouseOver=\"MM_swapImage('Image3','','http://www.benq.com.cn/images/mm03on.gif',1);ypSlideOutMenu.showMenu('news')\"><img name=\"Image3\" src=\"http://www.benq.com.cn/images/mm03off.gif\" align=\"absmiddle\" width=\"80\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('club');showMenu('club')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('club')\" onMouseOver=\"MM_swapImage('Image4','','http://www.benq.com.cn/images/mm04on.gif',1);ypSlideOutMenu.showMenu('club')\"><img name=\"Image4\" src=\"http://www.benq.com.cn/images/mm04off.gif\" align=\"absmiddle\" width=\"56\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('shop');showMenu('shop')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('shop')\" onMouseOver=\"MM_swapImage('Image5','','http://www.benq.com.cn/images/mm05on.gif',1);ypSlideOutMenu.showMenu('shop')\"><img name=\"Image5\" src=\"http://www.benq.com.cn/images/mm05off.gif\" align=\"absmiddle\" width=\"57\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('ClubBenQ');showMenu('ClubBenQ')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('ClubBenQ')\" onMouseOver=\"MM_swapImage('Image6','','http://www.benq.com.cn/images/mm06on.gif',1);ypSlideOutMenu.showMenu('ClubBenQ')\"><img name=\"Image6\" src=\"http://www.benq.com.cn/images/mm06off.gif\" align=\"absmiddle\" width=\"29\" height=\"78\" border=\"0\"></img></a>";
			break;
		case "service" :
			strMenu = strMenu + "<a onclick=\"goUrl('product');showMenu('product')\" onfocus=\"this.blur();\" style=\"cursor:hand;\"><img name=\"Image1\" src=\"http://www.benq.com.cn/images/mm01off.gif\" align=\"absmiddle\" width=\"85\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('service');showMenu('service')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"ypSlideOutMenu.hideMenu('service')\" onMouseOver=\"ypSlideOutMenu.showMenu('service')\"><img name=\"Image2\" src=\"http://www.benq.com.cn/images/mm02on.gif\" align=\"absmiddle\" width=\"71\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('news');showMenu('news')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('news')\" onMouseOver=\"MM_swapImage('Image3','','http://www.benq.com.cn/images/mm03on.gif',1);ypSlideOutMenu.showMenu('news')\"><img name=\"Image3\" src=\"http://www.benq.com.cn/images/mm03off.gif\" align=\"absmiddle\" width=\"80\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('club');showMenu('club')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('club')\" onMouseOver=\"MM_swapImage('Image4','','http://www.benq.com.cn/images/mm04on.gif',1);ypSlideOutMenu.showMenu('club')\"><img name=\"Image4\" src=\"http://www.benq.com.cn/images/mm04off.gif\" align=\"absmiddle\" width=\"56\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('shop');showMenu('shop')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('shop')\" onMouseOver=\"MM_swapImage('Image5','','http://www.benq.com.cn/images/mm05on.gif',1);ypSlideOutMenu.showMenu('shop')\"><img name=\"Image5\" src=\"http://www.benq.com.cn/images/mm05off.gif\" align=\"absmiddle\" width=\"57\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('ClubBenQ');showMenu('ClubBenQ')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('ClubBenQ')\" onMouseOver=\"MM_swapImage('Image6','','http://www.benq.com.cn/images/mm06on.gif',1);ypSlideOutMenu.showMenu('ClubBenQ')\"><img name=\"Image6\" src=\"http://www.benq.com.cn/images/mm06off.gif\" align=\"absmiddle\" width=\"29\" height=\"78\" border=\"0\"></img></a>";
			break;
		case "news" :
			strMenu = strMenu + "<a onclick=\"goUrl('product');showMenu('product')\" onfocus=\"this.blur();\" style=\"cursor:hand;\"><img name=\"Image1\" src=\"http://www.benq.com.cn/images/mm01off.gif\" align=\"absmiddle\" width=\"85\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('service');showMenu('service')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('service')\" onMouseOver=\"MM_swapImage('Image2','','http://www.benq.com.cn/images/mm02on.gif',1);ypSlideOutMenu.showMenu('service')\"><img name=\"Image2\" src=\"http://www.benq.com.cn/images/mm02off.gif\" align=\"absmiddle\" width=\"71\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('news');showMenu('news')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"ypSlideOutMenu.hideMenu('news')\" onMouseOver=\"ypSlideOutMenu.showMenu('news')\"><img name=\"Image3\" src=\"http://www.benq.com.cn/images/mm03on.gif\" align=\"absmiddle\" width=\"80\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('club');showMenu('club')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('club')\" onMouseOver=\"MM_swapImage('Image4','','http://www.benq.com.cn/images/mm04on.gif',1);ypSlideOutMenu.showMenu('club')\"><img name=\"Image4\" src=\"http://www.benq.com.cn/images/mm04off.gif\" align=\"absmiddle\" width=\"56\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('shop');showMenu('shop')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('shop')\" onMouseOver=\"MM_swapImage('Image5','','http://www.benq.com.cn/images/mm05on.gif',1);ypSlideOutMenu.showMenu('shop')\"><img name=\"Image5\" src=\"http://www.benq.com.cn/images/mm05off.gif\" align=\"absmiddle\" width=\"57\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('ClubBenQ');showMenu('ClubBenQ')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('ClubBenQ')\" onMouseOver=\"MM_swapImage('Image6','','http://www.benq.com.cn/images/mm06on.gif',1);ypSlideOutMenu.showMenu('ClubBenQ')\"><img name=\"Image6\" src=\"http://www.benq.com.cn/images/mm06off.gif\" align=\"absmiddle\" width=\"29\" height=\"78\" border=\"0\"></img></a>";
			break;
		case "club" :
			strMenu = strMenu + "<a onclick=\"goUrl('product');showMenu('product')\" onfocus=\"this.blur();\" style=\"cursor:hand;\"><img name=\"Image1\" src=\"http://www.benq.com.cn/images/mm01off.gif\" align=\"absmiddle\" width=\"85\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('service');showMenu('service')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('service')\" onMouseOver=\"MM_swapImage('Image2','','http://www.benq.com.cn/images/mm02on.gif',1);ypSlideOutMenu.showMenu('service')\"><img name=\"Image2\" src=\"http://www.benq.com.cn/images/mm02off.gif\" align=\"absmiddle\" width=\"71\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('news');showMenu('news')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('news')\" onMouseOver=\"MM_swapImage('Image3','','http://www.benq.com.cn/images/mm03on.gif',1);ypSlideOutMenu.showMenu('news')\"><img name=\"Image3\" src=\"http://www.benq.com.cn/images/mm03off.gif\" align=\"absmiddle\" width=\"80\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('club');showMenu('club')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"ypSlideOutMenu.hideMenu('club')\" onMouseOver=\"ypSlideOutMenu.showMenu('club')\"><img name=\"Image4\" src=\"http://www.benq.com.cn/images/mm04on.gif\" align=\"absmiddle\" width=\"56\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('shop');showMenu('shop')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('shop')\" onMouseOver=\"MM_swapImage('Image5','','http://www.benq.com.cn/images/mm05on.gif',1);ypSlideOutMenu.showMenu('shop')\"><img name=\"Image5\" src=\"http://www.benq.com.cn/images/mm05off.gif\" align=\"absmiddle\" width=\"57\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('ClubBenQ');showMenu('ClubBenQ')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('ClubBenQ')\" onMouseOver=\"MM_swapImage('Image6','','http://www.benq.com.cn/images/mm06on.gif',1);ypSlideOutMenu.showMenu('ClubBenQ')\"><img name=\"Image6\" src=\"http://www.benq.com.cn/images/mm06off.gif\" align=\"absmiddle\" width=\"29\" height=\"78\" border=\"0\"></img></a>";
			break;
		case "shop" :
			strMenu = strMenu + "<a onclick=\"goUrl('product');showMenu('product')\" onfocus=\"this.blur();\" style=\"cursor:hand;\"><img name=\"Image1\" src=\"http://www.benq.com.cn/images/mm01off.gif\" align=\"absmiddle\" width=\"85\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('service');showMenu('service')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('service')\" onMouseOver=\"MM_swapImage('Image2','','http://www.benq.com.cn/images/mm02on.gif',1);ypSlideOutMenu.showMenu('service')\"><img name=\"Image2\" src=\"http://www.benq.com.cn/images/mm02off.gif\" align=\"absmiddle\" width=\"71\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('news');showMenu('news')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('news')\" onMouseOver=\"MM_swapImage('Image3','','http://www.benq.com.cn/images/mm03on.gif',1);ypSlideOutMenu.showMenu('news')\"><img name=\"Image3\" src=\"http://www.benq.com.cn/images/mm03off.gif\" align=\"absmiddle\" width=\"80\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('club');showMenu('club')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('club')\" onMouseOver=\"MM_swapImage('Image4','','http://www.benq.com.cn/images/mm04on.gif',1);ypSlideOutMenu.showMenu('club')\"><img name=\"Image4\" src=\"http://www.benq.com.cn/images/mm04off.gif\" align=\"absmiddle\" width=\"56\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('shop');showMenu('shop')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"ypSlideOutMenu.hideMenu('shop')\" onMouseOver=\"ypSlideOutMenu.showMenu('shop')\"><img name=\"Image5\" src=\"http://www.benq.com.cn/images/mm05on.gif\" align=\"absmiddle\" width=\"57\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('ClubBenQ');showMenu('ClubBenQ')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('ClubBenQ')\" onMouseOver=\"MM_swapImage('Image6','','http://www.benq.com.cn/images/mm06on.gif',1);ypSlideOutMenu.showMenu('ClubBenQ')\"><img name=\"Image6\" src=\"http://www.benq.com.cn/images/mm06off.gif\" align=\"absmiddle\" width=\"29\" height=\"78\" border=\"0\"></img></a>";
			//window.open('/shop/notice.htm','','left='+((screen.availwidth/2)-250)+',top='+((screen.availheight/2)-150)+',width=450,height=300,scrollbars=no,resizable=no');			
			break;
		case "ClubBenQ" :
			strMenu = strMenu + "<a onclick=\"goUrl('product');showMenu('product')\" onfocus=\"this.blur();\" style=\"cursor:hand;\"><img name=\"Image1\" src=\"http://www.benq.com.cn/images/mm01off.gif\" align=\"absmiddle\" width=\"85\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('service');showMenu('service')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('service')\" onMouseOver=\"MM_swapImage('Image2','','http://www.benq.com.cn/images/mm02on.gif',1);ypSlideOutMenu.showMenu('service')\"><img name=\"Image2\" src=\"http://www.benq.com.cn/images/mm02off.gif\" align=\"absmiddle\" width=\"71\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('news');showMenu('news')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('news')\" onMouseOver=\"MM_swapImage('Image3','','http://www.benq.com.cn/images/mm03on.gif',1);ypSlideOutMenu.showMenu('news')\"><img name=\"Image3\" src=\"http://www.benq.com.cn/images/mm03off.gif\" align=\"absmiddle\" width=\"80\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('club');showMenu('club')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('club')\" onMouseOver=\"MM_swapImage('Image4','','http://www.benq.com.cn/images/mm04on.gif',1);ypSlideOutMenu.showMenu('club')\"><img name=\"Image4\" src=\"http://www.benq.com.cn/images/mm04off.gif\" align=\"absmiddle\" width=\"56\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('shop');showMenu('shop')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('shop')\" onMouseOver=\"MM_swapImage('Image5','','http://www.benq.com.cn/images/mm05on.gif',1);ypSlideOutMenu.showMenu('shop')\"><img name=\"Image5\" src=\"http://www.benq.com.cn/images/mm05off.gif\" align=\"absmiddle\" width=\"57\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('ClubBenQ');showMenu('ClubBenQ')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"ypSlideOutMenu.hideMenu('ClubBenQ')\" onMouseOver=\"ypSlideOutMenu.showMenu('ClubBenQ')\"><img name=\"Image6\" src=\"http://www.benq.com.cn/images/mm06on.gif\" align=\"absmiddle\" width=\"29\" height=\"78\" border=\"0\"></img></a>";
			break;
		default:
			strMenu = strMenu + "<a onclick=\"goUrl('product');showMenu('product')\" onfocus=\"this.blur();\" style=\"cursor:hand;\"><img name=\"Image1\" src=\"http://www.benq.com.cn/images/mm01off.gif\" align=\"absmiddle\" width=\"85\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('service');showMenu('service')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('service')\" onMouseOver=\"MM_swapImage('Image2','','http://www.benq.com.cn/images/mm02on.gif',1);ypSlideOutMenu.showMenu('service')\"><img name=\"Image2\" src=\"http://www.benq.com.cn/images/mm02off.gif\" align=\"absmiddle\" width=\"71\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('news');showMenu('news')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('news')\" onMouseOver=\"MM_swapImage('Image3','','http://www.benq.com.cn/images/mm03on.gif',1);ypSlideOutMenu.showMenu('news')\"><img name=\"Image3\" src=\"http://www.benq.com.cn/images/mm03off.gif\" align=\"absmiddle\" width=\"80\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('club');showMenu('club')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('club')\" onMouseOver=\"MM_swapImage('Image4','','http://www.benq.com.cn/images/mm04on.gif',1);ypSlideOutMenu.showMenu('club')\"><img name=\"Image4\" src=\"http://www.benq.com.cn/images/mm04off.gif\" align=\"absmiddle\" width=\"56\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('shop');showMenu('shop')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('shop')\" onMouseOver=\"MM_swapImage('Image5','','http://www.benq.com.cn/images/mm05on.gif',1);ypSlideOutMenu.showMenu('shop')\"><img name=\"Image5\" src=\"http://www.benq.com.cn/images/mm05off.gif\" align=\"absmiddle\" width=\"57\" height=\"78\" border=\"0\"></img></a>";
			strMenu = strMenu + "<a onclick=\"goUrl('ClubBenQ');showMenu('ClubBenQ')\" onfocus=\"this.blur();\" style=\"cursor:hand;\" onMouseOut=\"MM_swapImgRestore();ypSlideOutMenu.hideMenu('ClubBenQ')\" onMouseOver=\"MM_swapImage('Image6','','http://www.benq.com.cn/images/mm06on.gif',1);ypSlideOutMenu.showMenu('ClubBenQ')\"><img name=\"Image6\" src=\"http://www.benq.com.cn/images/mm06off.gif\" align=\"absmiddle\" width=\"29\" height=\"78\" border=\"0\"></img></a>";
			break;
	}

	document.all.Menu.innerHTML = strMenu;
}

function goUrl(MenuID)
{
	if (MenuID=="ClubBenQ")
	{
	window.location.href = "http://www.benq.com.cn/Club/GoToClubBenQ.aspx";
	}
	else if (MenuID=="service")
	{
	window.location.href = "http://www.benq.com.cn/service/ASExchangeSystem.aspx?url=http://service.benq.com.cn/CCMSLogin.aspx";
	}
	else
	{
	window.location.href = "http://www.benq.com.cn/" + MenuID;
	}
}

//显示子菜单
//new ypSlideOutMenu("product", "down", 280, 27, 104, 300);//产品中心
new ypSlideOutMenu("service", "down", 360, 27, 104, 300);//服务支持
new ypSlideOutMenu("news", "down", 445, 27, 104, 300);//新闻
new ypSlideOutMenu("club", "down", 500, 27, 104, 300);//会员
new ypSlideOutMenu("shop", "down", 560, 27, 104, 300);//商城
new ypSlideOutMenu("ClubBenQ", "down", 605, 27, 104, 300);//部落

//功能主菜单
document.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"684\">");
	document.write("<tr>");
		document.write("<td width=\"187\">");
			document.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
				document.write("<tr>");
					document.write("<td><a name=\"tom\"></a><a href=\"http://www.benq.com.cn\"><img src=\"http://www.benq.com.cn/images/logo.jpg\" width=\"187\" height=\"59\" border=0 alt=\"BenQ Logo\"></a></td>");
				document.write("</tr>");
				document.write("<tr>");
					document.write("<td><img src=\"http://www.benq.com.cn/images/l1.jpg\" width=\"80\" height=\"19\" border=0><img src=\"http://www.benq.com.cn/images/l2.jpg\" width=\"107\" height=\"19\" border=0></td>");
				document.write("</tr>");
			document.write("</table>");
		document.write("</td>");
		document.write("<td width=\"497\">");
			document.write("<div id=\"Menu\"></div>");
		document.write("</td>");
	document.write("</tr>");
document.write("</table>");

//左边开始
document.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"684\">");
document.write("<tr><td width=\"80\" valign=\"top\"><img src=\"http://www.benq.com.cn/Images/m2.jpg\" width=\"80\" height=\"421\" border=0></td>");

//产品中心子菜单
//document.write("<div id=\"productContainer\">");
//	document.write("<div id=\"productContent\" class=\"dragmenu\">");
//		document.write("<img src=\"/images/mmhead.gif\">");
//		document.write("<div class=\"options\">");
//			document.write("<a href=\"/product/\" class=\"mainmenu\">个人电脑</a>");
//			document.write("<a href=\"/product/\" class=\"mainmenu\">视讯产品</a>");
//			document.write("<a href=\"/product/\" class=\"mainmenu\">移动电话</a>");
//			document.write("<a href=\"/product/\" class=\"mainmenu\">数码相机</a>");
//			document.write("<a href=\"/product/\" class=\"mainmenu\">个人影音</a>");
//			document.write("<a href=\"/product/\" class=\"mainmenu\">电脑外设</a>");
//		document.write("</div>");
//		document.write("<img src=\"/images/mmfoot.gif\">");
//	document.write("</div>");
//document.write("</div>");

//服务支持子菜单
//document.write("<div id=\"serviceContainer\">");
// document.write("<div id=\"serviceContent\" class=\"dragmenu\">");
 // document.write("<img src=\"http://www.benq.com.cn/images/mmhead.gif\">");
 // document.write("<div class=\"options\">");
 //  document.write("<a class=\"mainmenu\" href=\"http://service.benq.com.cn/original/ESModuleList.aspx?Module=701269f1-995d-4fda-a7a6-a4c3d9477441\">服务品牌</a>");
 //  document.write("<a class=\"mainmenu\" href=\"http://service.benq.com.cn/original/ESModuleList.aspx?Module=e2005051-fd1f-42df-a56b-0bf505f7d442\">服务调查</a>");
  // document.write("<a class=\"mainmenu\" href=\"http://service.benq.com.cn/original/ESModuleList.aspx?Module=6ed9d6a9-786d-4476-943c-6ca61050a11c\">联系明基</a>");
 //  document.write("<a class=\"mainmenu\" href=\"http://service.benq.com.cn/original/ESModuleList.aspx?Module=ad512d98-9c35-46c2-8b3c-8f62f0c5ce56\">服务信息</a>");
 //  document.write("<a class=\"mainmenu\" href=\"http://service.benq.com.cn/forum/ForumLogin.aspx?Module=b451717d-8e25-44a1-b483-0f30d8254993\">服务论坛</a>");
 //  document.write("<a class=\"mainmenu\" href=\"http://echannel.benq.com.cn\">售后服务</a>");
 // document.write("</div>");
 // document.write("<img src=\"http://www.benq.com.cn/images/mmfoot.gif\">");
// document.write("</div>");
//document.write("</div>");


//新闻子菜单
document.write("<div id=\"newsContainer\">");
	document.write("<div id=\"newsContent\" class=\"dragmenu\">");
		document.write("<img src=\"http://www.benq.com.cn/images/mmhead.gif\">");
		document.write("<div class=\"options\">");
			document.write("<a href=\"http://www.benq.com.cn/news/News.aspx\" class=\"mainmenu\">新闻剪辑</a>");
			document.write("<a href=\"http://www.benq.com.cn/news/MediaReport.aspx\" class=\"mainmenu\">媒体报道</a>");
			document.write("<a href=\"http://www.benq.com.cn/news/VI.htm\" class=\"mainmenu\">视觉识别</a>");
		document.write("</div>");
		document.write("<img src=\"http://www.benq.com.cn/images/mmfoot.gif\">");
	document.write("</div>");
document.write("</div>");

//会员子菜单
document.write("<div id=\"clubContainer\">");
	document.write("<div id=\"clubContent\" class=\"dragmenu\">");
		document.write("<img src=\"http://www.benq.com.cn/images/mmhead.gif\">");
		document.write("<div class=\"options\">");
			document.write("<a href=\"#\" class=\"mainmenu\"></a>");
			document.write("<a href=\"http://www.benq.com.cn/Club/RegStepA.aspx\" class=\"mainmenu\">加入明基大家庭</a>");
			document.write("<a href=\"javascript:window.location.href='http://www.benq.com.cn/Club/UserLogon.aspx'\" class=\"mainmenu\">登陆会员中心</a>");
			document.write("<a href=\"http://www.benq.com.cn/club/MailList/\" class=\"mainmenu\">邮件订阅中心</a>");
	//		document.write("<a href=\"#\" class=\"mainmenu\">最新活动信息</a>");
	//		document.write("<a href=\"#\" class=\"mainmenu\">产品俱乐部</a>");
			document.write("<a href=\"http://www.benq.com.cn/club/Help/Help_FAQ.htm\" class=\"mainmenu\">帮助中心</a>");
		document.write("</div>");
		document.write("<img src=\"http://www.benq.com.cn/images/mmfoot.gif\">");
	document.write("</div>");
document.write("</div>");


//商城子菜单
document.write("<div id=\"shopContainer\">");
	document.write("<div id=\"shopContent\" class=\"dragmenu\">");
		document.write("<img src=\"http://www.benq.com.cn/images/mmhead.gif\">");
		document.write("<div class=\"options\">");
		document.write("<a href=\"http://www.benq.com.cn/shop/\" class=\"mainmenu\">网上商城</a>");
		document.write("<a href=\"http://www.benq.com.cn/product/Dealer/DisDealerInfo.aspx?ProductTypeID=43\" class=\"mainmenu\">销售网络</a>");
		document.write("<a href=\"http://www.benq.com.cn/shop/bankshop\" class=\"mainmenu\">免息分期专购</a>");	
                        //document.write("<a href=\"/shop/\" class=\"mainmenu\">最新热卖商品</a>");
			//document.write("<a href=\"/club/shop/orderstatus.aspx\" class=\"mainmenu\">我的定单</a>");
			//document.write("<a href=\"/shop/faq.aspx\" class=\"mainmenu\">常见问题</a>");
			//document.write("<a href=\"http://www.clubBenQ.com.cn/BBS/Board/Board.aspx?BoardID=210\" class=\"mainmenu\" target=\"_blank\">商城论坛</a>");
		document.write("</div>");
		document.write("<img src=\"http://www.benq.com.cn/images/mmfoot.gif\">");
	document.write("</div>");
document.write("</div>");

//部落子菜单
//document.write("<div id=\"ClubBenQContainer\">");
//	document.write("<div id=\"ClubBenQContent\" class=\"dragmenu\">");
//		document.write("<img src=\"/images/mmhead.gif\">");
//		document.write("<div class=\"options\">");
//			document.write("<a href=\"http://www.clubBenQ.com.cn/BBS/Channel/ChannelIndex.aspx?ChannelID=4\" class=\"mainmenu\"  target=\"_blank\">数码之旅</a>");
//			document.write("<a href=\"http://www.clubBenQ.com.cn/BBS/Channel/ChannelIndex.aspx?ChannelID=3\" class=\"mainmenu\"  target=\"_blank\">电脑大杂烩</a>");
//			document.write("<a href=\"http://www.clubBenQ.com.cn/BBS/Channel/ChannelIndex.aspx?ChannelID=20\" class=\"mainmenu\"  target=\"_blank\">观点</a>");
//			document.write("<a href=\"http://www.clubBenQ.com.cn/BBS/Channel/ChannelIndex.aspx?ChannelID=25\" class=\"mainmenu\"  target=\"_blank\">经理人</a>");
//			document.write("<a href=\"http://www.clubBenQ.com.cn/BBS/Channel/House.aspx\" class=\"mainmenu\"  target=\"_blank\">土著土屋</a>");
//		document.write("</div>");
//		document.write("<img src=\"/images/mmfoot.gif\">");
//	document.write("</div>");
//document.write("</div>");