 var h;
 var w;
 var l;
 var t;
 var topMar = 3;
 var leftMar = -10;
 var space = 2;
 var isvisible;
 var MENU_SHADOW_COLOR='#009A95';
 var global = window.document
 global.fo_currentMenu = null
 global.fo_shadows = new Array

function HideMenu() 
{
 var mX;
 var mY;
 var vDiv;
 var mDiv;
	if (isvisible == true)
{
		vDiv = document.all("menuDiv");
		mX = window.event.clientX + document.body.scrollLeft;
		mY = window.event.clientY + document.body.scrollTop;
		if ((mX < parseInt(vDiv.style.left)) || (mX > parseInt(vDiv.style.left)+vDiv.offsetWidth) || (mY < parseInt(vDiv.style.top)-h) || (mY > parseInt(vDiv.style.top)+vDiv.offsetHeight)){
			vDiv.style.visibility = "hidden";
			isvisible = false;
		}
}
}

function ShowMenu(vMnuCode,tWidth) {
	vSrc = window.event.srcElement;
	vMnuCode = "<table id='submenu' cellspacing=1 cellpadding=3 style='width:"+tWidth+"' class=tableborder1 onmouseout='HideMenu()'><tr height=23><td nowrap align=left class=tablebody1>" + vMnuCode + "</td></tr></table>";

	h = vSrc.offsetHeight;
	w = vSrc.offsetWidth;
	l = vSrc.offsetLeft + leftMar+4;
	t = vSrc.offsetTop + topMar + h + space-2;
	vParent = vSrc.offsetParent;
	while (vParent.tagName.toUpperCase() != "BODY")
	{
		l += vParent.offsetLeft;
		t += vParent.offsetTop;
		vParent = vParent.offsetParent;
	}

	menuDiv.innerHTML = vMnuCode;
	menuDiv.style.top = t;
	menuDiv.style.left = l;
	menuDiv.style.visibility = "visible";
	isvisible = true;
    makeRectangularDropShadow(submenu, MENU_SHADOW_COLOR, 4)
}

function makeRectangularDropShadow(el, color, size)
{
	var i;
	for (i=size; i>0; i--)
	{
		var rect = document.createElement('div');
		var rs = rect.style
		rs.position = 'absolute';
		rs.left = (el.style.posLeft + i) + 'px';
		rs.top = (el.style.posTop + i) + 'px';
		rs.width = el.offsetWidth + 'px';
		rs.height = el.offsetHeight + 'px';
		rs.zIndex = el.style.zIndex - i;
		rs.backgroundColor = color;
		var opacity = 1 - i / (i + 1);
		rs.filter = 'alpha(opacity=' + (100 * opacity) + ')';
		el.insertAdjacentElement('afterEnd', rect);
		global.fo_shadows[global.fo_shadows.length] = rect;
	}
}
var news= '&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"news.asp?typeid=1\"><font color="#ffffff">信息公告</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"news.asp?typeid=2\"><font color="#ffffff">政策法规</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"news.asp?typeid=3\"><font color="#ffffff">行业新闻</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"news.asp?typeid=4\"><font color="#ffffff">洗衣技术</font></a>&nbsp;<br>'
var ping= '&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"ping5.asp\"><font color="#ffffff">凯萨简介</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"ping1.asp\"><font color="#ffffff">技术实力</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"ping2.asp\"><font color="#ffffff">品牌形象</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"ping3.asp\"><font color="#ffffff">培训中心</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"ping4.asp\"><font color="#ffffff">全国加盟商</font></a>&nbsp;<br>'
var rong= '&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"rong1.asp\"><font color="#ffffff">凯萨宣言</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"rong2.asp\"><font color="#ffffff">领导关怀</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"rong3.asp\"><font color="#ffffff">合作伙伴</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"rong4.asp\"><font color="#ffffff">管理团队</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"rong5.asp\"><font color="#ffffff">总裁致辞</font></a>&nbsp;<br>'
var jia= '&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"jia1.asp\"><font color="#ffffff">投资前景</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"jia3.asp\"><font color="#ffffff">加盟优势</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"jia4.asp\"><font color="#ffffff">加盟程序</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"jia2.asp\"><font color="#ffffff">投资规模</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"jia5.asp\"><font color="#ffffff">设备价格</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"jia6.asp\"><font color="#ffffff">加盟培训</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"jia7.asp\"><font color="#ffffff">加盟申请</font></a>&nbsp;<br>'
var hao= '&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"haocai1.htm"><font color="#ffffff">干洗房耗材</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"haocai5.htm"><font color="#ffffff">水洗房耗材</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"haocai8.htm"><font color="#ffffff">皮革耗材</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"haocai9.htm"><font color="#ffffff">设备配件及洗衣辅材</font></a>&nbsp;<br>'
var anli= '&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"ping4.asp"><font color="#ffffff">加盟店展示</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"anli2.asp\"><font color="#ffffff">设备工程案例</font></a>&nbsp;<br>'
var web= '&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"anli1.asp\"><font color="#ffffff">加盟店名录</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"ke.asp\"><font color="#ffffff">客户须知</font></a>&nbsp;<br>'
var down= '&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"down1.asp\"><font color="#ffffff">vi下载</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"down2.asp\"><font color="#ffffff">宣传册下载</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"down3.asp\"><font color="#ffffff">收衣单下载</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"down4.asp\"><font color="#ffffff">会员卡下载</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"down7.asp\"><font color="#ffffff">名片下载</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"down5.asp\"><font color="#ffffff">洗烫标示</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"down6.asp\"><font color="#ffffff">客户须知</font></a>&nbsp;<br>'
var sebei1= '&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"show.asp?id=137\"><font color="#ffffff">P4系列全自动全封闭干洗机</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"show.asp?id=136\"><font color="#ffffff">P3系列全自动全封闭干洗机</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"show.asp?id=135\"><font color="#ffffff">30F,50F,100F全自动洗脱机</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"show.asp?id=134\"><font color="#ffffff">12F.16F,20F全自动微洗脱机</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"show.asp?id=133\"><font color="#ffffff">15F全自动微电脑洗脱机</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"show.asp?id=132\"><font color="#ffffff">电脑全自动快速烘干机</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"show.asp?id=131\"><font color="#ffffff">不锈钢烫平机</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"show.asp?id=104\"><font color="#ffffff">豪华节能真空烫台</font></a>&nbsp;'
var sebei2='<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"show.asp?id=103\"><font color="#ffffff">多功能吸鼓风烫台</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"show.asp?id=102\"><font color="#ffffff">全自动蒸汽发生器</font></a>&nbsp;<br>&nbsp;'
var sebei3='<a style=font-size:9pt;line-height:16pt; href=\"show.asp?id=101\"><font color="#ffffff">全蒸汽熨斗</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"show.asp?id=100\"><font color="#ffffff">成衣立体包装机</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"show.asp?id=99\"><font color="#ffffff">自动人像烫机</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"show.asp?id=98\"><font color="#ffffff">衣物消毒柜</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"show.asp?id=97\"><font color="#ffffff">冷热去渍台</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"show.asp?id=90\"><font color="#ffffff">全自动衣物输送线</font></a>&nbsp;<br>&nbsp;<a style=font-size:9pt;line-height:16pt; href=\"show.asp?id=89\"><font color="#ffffff">液晶电脑收银机</font></a>&nbsp;<br>'
var sebei=sebei1+sebei2+sebei3;

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);
