// Ver: 4.3.30812
if(typeof(st_js)=="undefined"){
//* 是否自动隐藏custom类型菜单的顶层菜单
stAHCM=0;		// 0
//* 浮动菜单移动位置时或者cnt帧的客户区滚动时是否隐藏弹出菜单
stAHWS=1;		// 1
//* 是否平滑滚动浮动菜单
stSMSC=1;		// 1
//* 滚动菜单项时菜单离窗口的边距
stSCSP=0;		// 0
//* 跨帧菜单离窗口的边距
stCFSP=0;		// 0
//* 全局变量初始化
nOP=nOP5=nIE=nIE4=nIE5=nNN=nNN4=nNN6=nMAC=nIEM=nIEW=nDM=nVER=st_delb=st_addb=st_scd=0;st_reg=1;stnav();if(nIEW&&nVER>=5.5&&nVER<6)st_reg=0;
st_ttb=nIE||nOP&&(nVER>=6&&nVER<7);stHAL=["left","center","right"];stVAL=["top","middle","bottom"];stREP=["no-repeat","repeat-x","repeat-y","repeat"];stBDS=["none","solid","double","dotted","dashed","groove","ridge"];
st_gc=st_rl=st_cl=st_ct=st_cw=st_ch=st_cm=st_cp=st_ci=st_load=st_scr=0;st_ht="";st_ims=[];st_ms=[];stusrld=[];
//* 生成NN4事件函数
if(nNN4){stitovn=stevfn("stitov",1);stitoun=stevfn("stitou",1);stitckn=stevfn("stitck",1);stppovn=stevfn("stppov",0);stppoun=stevfn("stppou",0);}
//* onerror处理
if(nIE4||nNN4)onerror=function(m,u,l){if(!confirm("Java Script Error\n"+"\nDescription:"+m+"\nSource:"+u+"\nLine:"+l+"\n\nSee more details?"))onerror=null;}
//* onunload处理
if(nIEM||nOP5)onunload=function(){if(st_rl){clearInterval(st_rl);st_rl=0;}for(var j=0;j<st_ms.length;++j)st_ms[j].cfrm=0;return true;}
//* 输出必要的CSS(减少菜单受用户CSS的机率)和FONT对象(用来输出第二部分HTML代码)
if(nDM&&!nNN4)
{
	var s="<STYLE>\n.st_tbcss,.st_tdcss,.st_divcss,.st_ftcss{border:none;padding:0px;margin:0px;}\n</STYLE>";
	for(var j=0;j<10;++j)
		s+="<FONT ID=st_gl"+j+"></FONT>";
	if(nIEW&&nVER>=5&&document.body)
		document.body.insertAdjacentHTML("AfterBegin",s);
	else
		document.write(s);
}st_js=1;}
function stm_bm(a)
{
	var w=a[2]&&a[2].charAt(a[2].length-1)!='/'?a[2]+'/':a[2];
	var p=a.length>15?a[15]&&a[15].charAt(a[15].length-1)!='/'?a[15]+'/':a[15]:"";
	var m;
	st_ms[st_cm]=m={ps:[],mei:st_cm,ids:"Stm"+st_cm+"p",hdid:0,cked:0,cfrm:0,tfrm:window,sfrm:window,mcff:"",mcfd:0,mcfn:0,mcfb:1,mcfx:0,mcfy:0,mnam:a[0],mver:a[1],mweb:w,mbnk:stbuf(w+a[3]),mtyp:a[4],mcox:a[5],mcoy:a[6],maln:stHAL[a[7]],mcks:a[8],msdv:a[9],msdh:a[10],mhdd:nNN4?Math.max(100,a[11]):a[11],mhds:a[12],mhdo:a[13],mhdi:a[14],mpre:p,args:a.slice(0),mwid:a.length>16?a[16]:""};
	m.mscm=nIEW&&nVER>=5?[a.length>17&&a[17]?stm_sc(a[17],m):0,a.length>18&&a[18]?stm_sc(a[18],m):0]:0;
	m.midn=a.length>19?a[19]:0;
}
function stm_bp(l,a)
{
	var m=st_ms[st_cm],p,i=m.ps.length?m.ps[st_cp].is[st_ci]:0;
	st_cp=m.ps.length;st_ci=0;
	m.ps[st_cp]=p={is:[],mei:st_cm,ppi:st_cp,ids:"Stm"+st_cm+"p"+st_cp+"i",par:i,tmid:0,cuit:0,issh:0,isst:!st_cp&&!m.mtyp,isck:!st_cp&&(m.mcks&1),exed:0,pver:a[0],pdir:a[1],poffx:a[2],poffy:a[3],pspc:a[4],ppad:a[5],plmw:a[6],prmw:a[7],popc:a[8],pstp:a[14],psds:nIEW?a[15]:0,pscl:a[16],pbgc:a[17],pbgi:stbuf(stgsrc(a[18],m,0)),pbgr:stREP[a[19]],pbds:stBDS[a[20]],ipbw:a[21],pbdc:(!nDM||nNN4)?a[22].split(/\s/gi)[0]:a[22],args:a.slice(0)};
	p.peff=[stgeff(a[9],a[10],a[13],p),stgeff(a[11],a[12],a[13],p)];
	if(st_cp)	p.par.sub=p;
	p.zind=!st_cp?1000:stgpar(p.par).zind+1;
	p.pbgd=stgbg(p.pbgc,p.pbgi,p.pbgr);
	if(nIEW)
		p.effn=[p.peff[0]?p.peff[0].split(" ").length:0,p.peff[1]?p.peff[1].split(" ").length:0];
	eval(l+"=p");
}
function stm_bpx(l,r,a)
{
	var p=eval(r);
	stm_bp(l,a.concat(p.args.slice(a.length)));
}
function stm_ai(l,a)
{
	st_ci=st_ms[st_cm].ps[st_cp].is.length;
	var m=st_ms[st_cm],p=m.ps[st_cp],i;
	if(a[0]==6)
		i={ssiz:a[1],ibgc:[a[2]],simg:stbuf(stgsrc(a[3],m,1)),simw:a[4],simh:a[5],simb:a[6],args:a.slice(0)};
	else
		i={itex:a[0]?a[1]:a[1].replace(/ /g,"&nbsp;"),iimg:[stbuf(stgsrc(a[2],m,0)),stbuf(stgsrc(a[3],m,0))],iimw:a[4],iimh:a[5],iimb:a[6],iurl:(!a[7]||stabs(a[7])?(a[7].toLowerCase().indexOf("javascript:")?a[7]:a[7]+";void(0);"):m.mpre+a[7]),itgt:a[8]?a[8]:"_self",istt:a[9],itip:a[10].replace(/"/g,"&quot;"),iicn:[stbuf(stgsrc(a[11],m,1)),stbuf(stgsrc(a[12],m,1))],iicw:a[13],iich:a[14],iicb:a[15],iarr:[stbuf(stgsrc(a[16],m,1)),stbuf(stgsrc(a[17],m,1))],iarw:a[18],iarh:a[19],iarb:a[20],ihal:stHAL[a[21]],ival:stVAL[a[22]],ibgc:nOP5&&nVER<7&&a[24]&&a[26]?["transparent","transparent"]:[nOP5&&nVER<7||!a[24]?a[23]:"transparent",nOP5&&nVER<7||!a[26]?a[25]:"transparent"],ibgi:[stbuf(stgsrc(a[27],m,0)),stbuf(stgsrc(a[28],m,0))],ibgr:[stREP[a[29]],stREP[a[30]]],ibds:stBDS[a[31]],ipbw:a[32],ibdc:(!nDM||nNN4)?[a[33].split(/\s/gi)[0],a[34].split(/\s/gi)[0]]:[a[33],a[34]],itxc:[a[35],a[36]],itxf:[a[37],a[38]],itxd:[stgdec(a[39]),stgdec(a[40])],args:a.slice(0)};
	p.is[st_ci]=i;
	i.ityp=a[0];
	i.mei=st_cm;
	i.ppi=st_cp;
	i.iti=st_ci;
	i.ids=p.ids+st_ci+"e";
	i.sub=0;
	i.tmid=0;
	if(typeof(m.callai)!="undefined")m.callai(i);
	eval(l+"=i");
}
function stm_aix(l,r,a)
{
	var i=eval(r);
	stm_ai(l,a.concat(i.args.slice(a.length)));
}
function stm_ep()
{
	var m=st_ms[st_cm],p=m.ps[st_cp],i=p.par;
	if(i)
		st_cm=i.mei,st_cp=i.ppi,st_ci=i.iti;
	if(!p.is.length)
	{
		--m.ps.length;
		if(i)
			i.sub=0;
	}
}
function stm_em()
{
	//* 安装onlolad事件
	stsetld();
	//* 生成HTML代码
	var m=st_ms[st_cm];
	if(!m.ps.length)
		return --st_ms.length;
	//* 处理加亮菜单项
	if(m.midn&1)sthili(m);
	var mh="",mc="<STYLE TYPE='text/css'>\n";
	for(var n=nDM?m.ps.length:1,j=0;j<n;++j)
	{
		var p=m.ps[j],ph=(p.isst&&(m.maln!="left"||m.mwid&&!p.pver)?"<TABLE BORDER=0"+(m.mwid&&!p.pver?" WIDTH="+m.mwid+(p.pbgc=="transparent"?"":" BGCOLOR='"+p.pbgc):"")+"' STYLE='border:none;padding:0px;' CELLPADDING=0 CELLSPACING=0 ALIGN="+m.maln+">"+(m.mwid&&!p.pver&&m.maln!="left"?"<TD WIDTH="+(m.maln=="center"?"50%":"100%")+"><IMG WIDTH=1 HEIGHT=1 BORDER=0 SRC='"+m.mbnk+"'></TD>":"")+"<TD class=st_tdcss>":"")+stpbtx(p);
		if(stissc(p))
			ph+=stsctx(p,0);
		for(var k=0;k<p.is.length;++k)
		{
			var i=p.is[k];
			if(i.ityp!=6)
				i.ibgd=[stgbg(i.ibgc[0],i.ibgi[0],i.ibgr[0]),stgbg(i.ibgc[1],i.ibgi[1],i.ibgr[1])];
			ph+=p.pver?"<TR ID="+i.ids+"TR>"+stittx(i)+"</TR>":stittx(i);
			if(i.ityp!=6)
				mc+="."+i.ids+"TX0{"+sttcss(i,0)+"}\n."+i.ids+"TX1{"+sttcss(i,1)+"}\n";
		}
		if(stissc(p))
			ph+=stsctx(p,1);
		ph+=stpetx(p);
		if(p.isst&&(m.maln!="left"||m.mwid&&!p.pver))
			ph+="</TD>"+(m.mwid&&!p.pver&&m.maln!="right"?"<TD WIDTH="+(m.maln=="center"?"50%":"100%")+"><IMG WIDTH=1 HEIGHT=1 BORDER=0 SRC='"+m.mbnk+"'></TD>":"")+"</TABLE>";
		if(p.isst||nNN||!nDM)
			mh+=ph;
		else
			st_ht+=ph;
	}
	mc+="</STYLE>";
	//* 输出HTML代码
	if(!nDM||nNN4)
		document.write(mc);
	if(mh)
		document.write(mh);
	//* 输出第二部分HTML代码并初始化菜单
	if(nOP5||nIEW&&nVER>=5||nNN6)
	{
		if(st_ht)
		{
			var o=stgobj("st_gl"+st_gc);
			if(nOP)
				o.document.write(st_ht);
			else if(nIE)
				o.insertAdjacentHTML("BeforeEnd",st_ht);
			st_gc++;
			st_ht="";
		}
		if(nIE)
			stpre(m);
	}
	++st_cm;st_cp=0;st_ci=0;
}
function stpbtx(p)
{
	with(p)
	return nNN4||!nDM?(isst?"<ILAYER":"<LAYER LEFT=0 TOP=0")+" VISIBILITY=hide ID="+ids+" Z-INDEX="+zind+"><LAYER><TABLE BORDER=0 CELLSPACING=0 CELLPADDING="+pspc+" BACKGROUND='"+pbgi+"' BGCOLOR="+(pbgi||pbgc=="transparent"?"''":pbgc)+">":(st_ttb?"<TABLE class=st_tbcss CELLPADDING=0 CELLSPACING=0":"<DIV class=st_divcss")+stppev(p)+" ID="+ids+" STYLE='"+(nIEM?"width:1px;":(nIE?"width:0px;":";"))+(nIEW?"filter:"+stfcss(p)+";":"")+"position:"+(p.isst?"static":"absolute;"+(nOP&&nVER<7?"":"left:-9999px;top:-9999px"))+";z-index:"+zind+";visibility:hidden;'>"+(st_ttb?"<TD class=st_tdcss ID="+ids+"TTD>":"")+"<TABLE class=st_tbcss CELLSPACING=0 CELLPADDING=0 ID="+ids+"TB STYLE='"+stpcss(p)+(nIEW?"margin:"+psds+"px;":"")+"'>";
}
function stpetx(p)
{
	return "</TABLE>"+(nNN4||!nDM?"</LAYER></LAYER>":(st_ttb?"</TD></TABLE>":"</DIV>"));
}
function stittx(i)
{
	var s="",p=stgpar(i);
	i.iwd=typeof(i.callitwd)=="undefined"?0:i.callitwd();
	i.iht=typeof(i.callitht)=="undefined"?0:i.callitht();
	with(i)
	if(nNN4||!nDM)
	{
		s+="<TD WIDTH=1 NOWRAP><FONT STYLE='font-size:1pt;'><ILAYER ID="+ids+"><LAYER";
		if(ityp!=6&&ipbw)
			s+=" BGCOLOR="+ibdc[0];
		s+=">";
		for(var n=0;n<(nNN4?2:1);++n)
		{
			if(ityp==6&&n)
				break;
			s+="<LAYER Z-INDEX=10 VISIBILITY="+(n?"HIDE":"SHOW");
			if(ityp!=6)
				s+=" LEFT="+ipbw+" TOP="+ipbw;
			s+="><TABLE ALIGN=LEFT WIDTH="+(iwd&&ityp!=6?iwd-2*p.ppad+i.ipbw:"100%")+(iht&&(ityp!=6||!p.pver)?" HEIGHT="+(ityp!=6?iht+i.ipbw:iht):"")+" BORDER=0 CELLSPACING=0 CELLPADDING="+(ityp==6?0:p.ppad);
			if(ityp==6)
				s+=" BACKGROUND='' BGCOLOR='"+(ibgc[n]=="transparent"?"":ibgc[n])+"'";
			else
				s+=" BACKGROUND='"+ibgi[n]+"' BGCOLOR="+(ibgi[n]||ibgc[n]=="transparent"?"''":ibgc[n]);
			s+=">";
			if(ityp==6)
				s+="<TD NOWRAP VALIGN=TOP HEIGHT="+(p.pver?ssiz:"100%")+" WIDTH="+(p.pver?"100%":ssiz)+" STYLE='font-size:0pt;'>"+stgimg(simg,ids+"LINE",simw,simh,0)+"</TD>";
			else
			{
				if(p.pver&&p.plmw||!p.pver&&iicw)
					s+="<TD ALIGN=CENTER VALIGN=MIDDLE"+stgiws(i)+">"+stgimg(iicn[n],"",iicw,iich,iicb)+"</TD>";
				s+="<TD WIDTH=100% NOWRAP ALIGN="+ihal+" VALIGN="+ival+"><A "+(nNN4?"":stgurl(i,1))+" CLASS='"+(ids+"TX"+n)+"'>";
				if(ityp==2)
					s+=stgimg(iimg[n],ids+"IMG",iimw,iimh,iimb);
				else
					s+="<IMG SRC='"+stgme(i).mbnk+"' WIDTH=1 HEIGHT=1 BORDER=0 ALIGN=ABSMIDDLE>"+itex;
				s+="</A></TD>";
				if(p.pver&&p.prmw||!p.pver&&iarw)
					s+="<TD ALIGN=CENTER VALIGN=MIDDLE"+stgaws(i)+">"+stgimg(iarr[n],"",iarw,iarh,iarb)+"</TD>";
			}
			s+="</TABLE>";
			if(ityp!=6&&ipbw)
				s+="<BR CLEAR=ALL><SPACER HEIGHT=1 WIDTH="+ipbw+"></SPACER><SPACER WIDTH=1 HEIGHT="+ipbw+"></SPACER>";
			s+="</LAYER>";
		}
		if(ityp!=6)
			s+="<LAYER Z-INDEX=20></LAYER>";
		s+="</LAYER></ILAYER></FONT></TD>";
	}
	else
	{
		s+="<TD class=st_tdcss NOWRAP VALIGN="+(nIE?"MIDDLE":"TOP")+" STYLE='padding:"+p.pspc+"px;' ID="+p.ids+iti;
		if(nIEW)
			s+=" HEIGHT=100%";
		s+=">";
		if(ityp!=6)
			s+="<A ID="+i.ids+"HR STYLE='text-decoration:none;' "+stgurl(i,0)+">";
		if(!nOP&&!nIE)
			s+="<DIV class=st_divcss ID="+ids+stitev(i)+" STYLE='"+sticss(i,0)+"'>";
		s+="<TABLE class=st_tbcss CELLSPACING=0 CELLPADDING=0";
		if(iht&&i.ityp!=6)
		{
			var a=nOP?nVER<7?-2:p.pver?0:2:0,c=nIE||nOP&&nVER>=7?nOP&&!p.pver?4:2:0,d=nOP&&nVER<7&&p.ppad?1:0;
			s+=" HEIGHT="+(iht+a*p.ppad+c*i.ipbw+d);
		}
		else if(!nOP)
			s+=" HEIGHT=100%";
		if(nOP||nIE)
			s+=" STYLE='"+sticss(i,0)+"'"+stitev(i);
		if(iwd&&i.ityp!=6)
			s+=" WIDTH="+(nOP5&&nVER>=7||nIE4?iwd+2*i.ipbw:iwd);
		else if(p.pver||nIEM)
			s+=" WIDTH=100%";
		s+=" ID="+(nOP||nIE?ids:(ids+"TB"));
		if(ityp!=6)
			s+=" TITLE="+stquo(itip);
		s+=">";
		if(ityp==6)
			s+="<TD class=st_tdcss NOWRAP VALIGN=TOP ID="+ids+"MTD HEIGHT="+(p.pver?ssiz:"100%")+" WIDTH="+(p.pver?"100%":ssiz)+">"+stgimg(simg,ids+"LINE",simw,simh,0)+"</TD>";
		else
		{
			if(p.pver&&p.plmw||!p.pver&&iicw)
				s+="<TD class=st_tdcss NOWRAP ALIGN=CENTER VALIGN=MIDDLE HEIGHT=100% STYLE='padding:"+p.ppad+"px' ID="+ids+"LTD"+stgiws(i)+">"+stgimg(iicn[0],ids+"ICON",iicw,iich,iicb)+"</TD>";
			//* 以下代码是为了修正IE中浏览器的back问题
			else if(nIEW)
				s+="<TD STYLE='display:none;'></TD>";
			s+="<TD class=st_tdcss NOWRAP HEIGHT=100% STYLE='color:"+itxc[0]+";padding:"+p.ppad+"px;' ID="+ids+"MTD ALIGN="+ihal+" VALIGN="+ival+">";
			s+="<FONT class=st_ftcss ID="+ids+"TX STYLE=\""+sttcss(i,0)+"\">";
			if(ityp==2)
				s+=stgimg(iimg[0],ids+"IMG",iimw,iimh,iimb);
			else
				s+=itex;
			s+="</FONT>";
			s+="</TD>";
			if(p.pver&&p.prmw||!p.pver&&iarw)
				s+="<TD class=st_tdcss NOWRAP ALIGN=CENTER VALIGN=MIDDLE HEIGHT=100% STYLE='padding:"+p.ppad+"px' ID="+ids+"RTD"+stgaws(i)+">"+stgimg(iarr[0],ids+"ARROW",iarw,iarh,iarb)+"</TD>";
			//* 以下代码是为了修正IE中浏览器的back问题
			else if(nIEW)
				s+="<TD STYLE='display:none;'></TD>";
		}
		s+="</TABLE>";
		if(!nOP&&!nIE)
			s+="</DIV>";
		if(ityp!=6)
			s+="</A>";
		s+="</TD>";
	}
	return s;
}
function stpcss(p)
{
	with(p)
	return "border-style:"+pbds+";border-width:"+ipbw+"px;border-color:"+pbdc+";"+(nIE?"background:"+pbgd+";":"background-color:"+pbgc+";"+(pbgi?"background-image:url("+pbgi+");background-repeat:"+pbgr+";":""));
}
function stfcss(p)
{
	var s="";
	with(p)
	if(nIEW&&(nVER>=5||!isst))
	{
		s+=peff[0]+" ";
		s+=peff[1]+" ";
		if(nIE5||popc!=100)
			s+="Alpha(opacity="+popc+") ";
		if(psds)
			s+=pstp==1?"dropshadow(color="+pscl+",offx="+psds+",offy="+psds+",positive=1) ":"Shadow(color="+pscl+",direction=135,strength="+psds+") ";
	}
	return s;
}
function sticss(i,n)
{
	with(i)
	return (ityp!=6?"border-style:"+ibds+";border-width:"+ipbw+"px;border-color:"+ibdc[n]+";"+(!nIEM&&ibgi[n]?"background-image:url("+ibgi[n]+");background-repeat:"+ibgr[n]+";":""):"")+(nIEM&&ityp!=6?"background:"+ibgd[n]+";":"background-color:"+ibgc[n]+";")+"cursor:"+(nIEM?"default":stgcur(i))+";"
}
function sttcss(i,n)
{
	with(i)
	return "cursor:"+stgcur(i)+";font:"+itxf[n]+";text-decoration:"+itxd[n]+";"+(!nDM||nNN4||nIE5?"background-color:transparent;color:"+itxc[n]:"");
}
//* 返回Content Frame对应的菜单
function stgtm(m,w)
{
	if(w&&w!=window&&stdmld(w))
	{
		var t=w.stmenu(m.mnam);
		if(typeof(t)=="object"&&t)
			t.sfrm=window;
		if(t.mhdd<1000)	t.mhdd=1000;
		return t;
	}
	return m;
}
//* 鼠标移入菜单项(onmouseover)
function stitov(e,o,i)
{
	var p=stgpar(i);
	//* 判断是否为真正的onmouseover事件
	if(nIEW)
	{
		if(!i.layer)
			i.layer=o;
		if(!p.issh||(e.fromElement&&o.contains(e.fromElement)))
			return;
	}
	else
	{
		if(!p.issh||(!nNN&&(e.fromElement&&e.fromElement.id&&e.fromElement.id.indexOf(i.ids)>=0)))
			return;
	}
	if(nNN4)
		stglay(i).document.layers[0].captureEvents(Event.CLICK);
	//* t为cnt帧的菜单对象,w为cnt帧
	var m=stgme(i),t=m,w=window;
	//* 如果此item在顶层则需要求取cnt帧和cnt帧菜单对象
	if(!p.par)
	{
		w=stgfrm(m);
		t=stgtm(m,w);
	}
	if(!p.isck||m.cked)
	{
		//* 菜单不需要点击(!p.isck)或者已经被点击(cked)
		//* 取消以前的Highlight Item
		if(p.cuit&&p.cuit!=i)
		{
			var c=p.cuit;
			sthdit(c);
			//* 隐藏cnt帧的弹出菜单
			if(t!=m)
			{
				var p=t.ps[c.ppi].is[c.iti].sub;
				if(p&&p.issh)
					w.sthdpp(p);
				stgpar(c).cuit=0;
			}
		}
		//* 调用用户的onmouseover事件
		if(typeof(i.callitov)!="undefined"&&i.callitov())
			return;
		//* Highlight当前的菜单项
		if(t!=m)
		{
			var p=t.ps[i.ppi].is[i.iti].sub;
			if(p&&!p.issh)
				w.stshpp(p);
		}
		else
		{
			var p=i.sub;
			if(p&&!p.issh&&!(!stgpar(i).par&&m.mcff&&!m.mcfn))
				stshpp(p);
		}
		stshst(i,1);
		stgpar(i).cuit=i;
	}
	else if(t.mcks&2)
		stshst(i,1);
	//* 显示状态条
	if(nNN4&&i.istt)
		stcstt(i);
}
//* 鼠标移出菜单项(onmouseout)
function stitou(e,o,i)
{
	var p=stgpar(i);
	//* 判断是否为真正的onmouseout事件
	if(nIEW)
	{
		if(!p.issh||e.toElement&&o.contains(e.toElement))
			return;
	}
	else
	{
		if(!p.issh||(!nNN&&(e.toElement&&e.toElement.id&&e.toElement.id.indexOf(i.ids)>=0)))
			return;
	}
	if(nNN4)
		stglay(i).document.layers[0].releaseEvents(Event.CLICK);
	//* t为cnt帧的菜单对象,w为cnt帧
	var m=stgme(i),t=m,w=window;
	if(!p.par)
	{
		w=stgfrm(m);
		t=stgtm(m,w);
	}
	if(typeof(i.callitou)!="undefined"&&i.callitou())
		return;
	//* p为菜单项i的cnt帧的弹出菜单
	p=i.sub,tp=t!=m?t.ps[i.ppi].is[i.iti].sub:p;
	//* 若弹出菜单处在"准备弹出"的状态,则取消弹出(nav帧和cnt帧都要检查)
	if(p&&p.issh&&!p.exed)
		sthdpp(p);
	if(tp!=p&&tp&&tp.issh&&!tp.exed)
		w.sthdpp(tp);
	//* 若无子菜单弹出则取消菜单项的Highlight状态
	if(!(p&&p.issh||tp&&tp.issh))
	{
		stshst(i,0);
		stgpar(i).cuit=0;
	}
	//* 取消显示状态条文字
	if(nNN4&&i.istt)
		status="";
}
//* 点击菜单项(onclick)
function stitck(e,o,i)
{
	//* 确认是鼠标左键
	if(nNN4&&e.which!=1)
		return;
	if(typeof(i.callitck)!="undefined"&&i.callitck())
		return;
	//* t为cnt帧的菜单对象,w为cnt帧
	var m=stgme(i),t=m,w=window;
	if(!stgpar(i).par)
	{
		w=stgfrm(m);
		t=stgtm(m,w);
	}
	var p=stgpar(i);
	//* 如果需要点击才显示子菜单
	if(p.isck)
	{
		//* 转换此菜单的激活状态
		m.cked=!m.cked;
		var p=i.sub;
		if(p)
		{
			//* 弹出子菜单
			if(m.cked&&!p.issh)
			{
				if(t!=m)
				{
					var p=t.ps[i.ppi].is[i.iti].sub;
					if(!p.issh)
						w.stshpp(p);
				}
				else
				{
					if(!p.issh)
						stshpp(p);
				}
			}
			//* 收起nav帧和cnt帧的子菜单
			else if(!m.cked&&p.issh)
			{
				if(t!=m)
					w.sthdpp(t.ps[i.ppi].is[i.iti].sub);
				sthdpp(p);
			}
		}
		//* 根据cked来设置或取消菜单项的highlight状态
		if(!(t.mcks&2))
			stshst(i,m.cked?1:0);
		stgpar(i).cuit=m.cked?i:0;
	}
	with(i)
	if(iurl)
	{
		stcls();
		if(nIEW)
		{
			var w=stgtgt(i);
			if(e.shiftKey)
				open(iurl,"_blank");
			else if(w)
				w.location.href=iurl;
			else
				open(iurl,itgt);
		}
	}
}
//* 鼠标移入弹出菜单(onmouseover)
function stppov(e,o,p)
{
	//* 判断是否为真正的onmouseover事件
	if(nIEW)
	{
		if(!p.layer)
			p.layer=o;
		if(!p.issh||(e.fromElement&&o.contains(e.fromElement)))
			return;
	}
	else
	{
		if(!p.issh||(!nNN&&(e.fromElement&&e.fromElement.id&&e.fromElement.id.indexOf(p.ids)>=0)))
			return;
	}
	var m=stgme(p),w=m.sfrm;
	//* 如果此弹出菜单在cnt帧则找到nav帧的菜单对象
	if(p.par&&w!=window)
	{
		if(stdmld(w))
			m=w.stmenu(m.mnam);
		else
			return;
	}
	//* 取消收起所有的弹出菜单
	if(m.hdid)
	{
		w.clearTimeout(m.hdid);
		m.hdid=0;
	}
}
//* 鼠标移出弹出菜单(onmouseout)
function stppou(e,o,p)
{
	//* 判断是否为真正的onmouseout事件
	if(nIEW)
	{
		if(!p.issh||(e.toElement&&o.contains(e.toElement)))
			return;
	}
	else
	{
		if(!p.issh||(!nNN&&(e.toElement&&e.toElement.id&&e.toElement.id.indexOf(p.ids)>=0)))
			return;
	}
	var m=stgme(p),w=m.sfrm;
	//* 如果此弹出菜单在cnt帧则找到nav帧的菜单对象
	if(p.par&&w!=window)
	{
		if(stdmld(w))
			m=w.stmenu(m.mnam);
		else
			return sthdalx(m,0);
	}
	//* 收起所有的弹出菜单
	if(m.hdid)
		w.clearTimeout(m.hdid);
	m.hdid=w.setTimeout("sthdall(st_ms['"+m.mei+"'],0);",m.mhdd);
}
//* 显示菜单项的highlight状态或者取消菜单项的highlight状态
function stshst(i,n)
{
	if(typeof(i.cstt)=="undefined")
		i.cstt=0;
	if(i.cstt==n)
		return;
	if(typeof(i.callshst)!="undefined"&&i.callshst(n))return;
	i.cstt=n;
	with(i)
	if(nNN4)
	{
		var ls=stgstlay(i);
		ls[n].parentLayer.bgColor=ibdc[n];
		ls[n].visibility="show";
		ls[1-n].visibility="hide";
	}
	else
	{
		var o=stglay(i),s=o.style;
		if(nIEM)
		{
			if(ibgd[0]!=ibgd[1])	s.background=ibgd[n];
		}
		else
		{
			if(ibgc[0]!=ibgc[1])
			{
				if(nOP&&nVER<6)
					s.background=ibgc[n];
				else
					s.backgroundColor=ibgc[n];
			}
			if(ibgi[0]!=ibgi[1])	s.backgroundImage="url("+(ibgi[n]?ibgi[n]:stgme(i).mbnk)+")";
			if(ibgr[0]!=ibgr[1])	s.backgroundRepeat=ibgr[n];
		}
		if(ibdc[0]!=ibdc[1])	s.borderColor=ibdc[n];
		var t;
		if(iicn[0]!=iicn[1])
		{
			t=nIE?o.all[ids+"ICON"]:stgobj(ids+"ICON");
			if(t)	t.src=iicn[n];
		}
		if(iarr[0]!=iarr[1])
		{
			t=nIE?o.all[ids+"ARROW"]:stgobj(ids+"ARROW");
			if(t)	t.src=iarr[n];
		}
		if(ityp==2&&iimg[0]!=iimg[1])
		{
			t=nIE?o.all[ids+"IMG"]:stgobj(ids+"IMG");
			if(t)	t.src=iimg[n];
		}
		if(!i.txstyle)	i.txstyle=(nIE?o.all[ids+"TX"]:stgobj(ids+"TX")).style;
		t=txstyle;
		if(itxf[0]!=itxf[1])
			t.font=itxf[n];
		if(itxd[0]!=itxd[1])
			t.textDecoration=itxd[n];
		if(nOP)	stgobj(ids+"MTD").style.color=itxc[n];
		else	t.color=itxc[n];
	}
}
//* 弹出弹出菜单
function stshpp(p)
{
	if(typeof(p.callshpp)!="undefined"&&p.callshpp())return;
	stshow(p);
}
//* 收起弹出菜单
function sthdpp(p)
{
	if(typeof(p.callhdpp)!="undefined"&&p.callhdpp())return;
	if(p.cuit)
	{
		var t=p.cuit.sub;
		if(t&&t.issh)
			sthdpp(t);
		stshst(p.cuit,0);
		p.cuit=0;
	}
	sthide(p);
}
//* 加亮菜单项并且弹出其子菜单
function stshit(i)
{
	var p=i.sub;
	if(p&&!p.issh)
		stshpp(p);
	stshst(i,1);
	stgpar(i).cuit=i;
}
//* 取消加亮菜单项并且收起其子菜单
function sthdit(i)
{
	var p=i.sub;
	if(p&&p.issh)
		sthdpp(p);
	stshst(i,0);
	stgpar(i).cuit=0;
}
//* 显示弹出菜单
function stshow(p)
{
	var d=p.par&&stgpar(p.par).pver?stgme(p).msdv:stgme(p).msdh;
	p.exed=0;
	if(!p.rc)
		stgxy(p);
	if(p.tmid)
	{
		clearTimeout(p.tmid);
		p.tmid=0;
		stwels(1,p)
	}
	if(d>0)
		p.tmid=setTimeout(stsdstr(p,1),d);
	p.issh=1;
	if(d<=0)
		eval(stsdstr(p,1));
}
//* 隐藏弹出菜单
function sthide(p)
{
	if(p.tmid)
	{
		clearTimeout(p.tmid);
		p.tmid=0;
	}
	if(p.issh&&!p.exed)
	{
		p.exed=0;
		p.issh=0;
	}
	else
	{
		p.exed=0;
		p.issh=0;
		eval(stsdstr(p,0));
	}
}
//* 设置弹出菜单的visible属性
function stshx(p)
{
	var l=stglay(p);
	if(nNN4)
	{
		l.visibility="show";
		if(!p.fixed)
		{
			l.resizeBy(p.ipbw*2,p.ipbw*2);
			l=l.document.layers[0];
			l.moveTo(p.ipbw,p.ipbw);
			l.onmouseover=stppovn;
			l.onmouseout=stppoun;
			for(var j=p.is.length-1;j>=0;--j)
			{
				var i=p.is[j];
				if(i.ityp!=6)
				{
					var ls=stgstlay(i);
					if(i.ityp!=1||i.iurl)
						ls[2].resizeTo(ls[0].parentLayer.clip.width,ls[0].parentLayer.clip.height);
					if(i.iurl)
					{
						with(ls[2].document)
						{
							open();
							write("<A "+stgurl(i,0)+"><IMG BORDER=0 SRC='"+stgme(i).mbnk+"' WIDTH="+ls[2].clip.width+" HEIGHT="+ls[2].clip.height+"></A>");
							close();
						}
					}
					ls[0].resizeBy(-i.ipbw,-i.ipbw);
					ls[1].resizeBy(-i.ipbw,-i.ipbw);
					l=stglay(i).document.layers[0];
					l.onmouseover=stitovn;
					l.onmouseout=stitoun;
					l.onclick=stitckn;
				}
			}
			if(p.ipbw)
				setTimeout("var p=st_ms["+p.mei+"].ps["+p.ppi+"];stglay(p).bgColor=p.pbdc;",1);
			p.fixed=1;
		}
	}
	else
	{
		l.style.visibility="visible";
		//* 这里用来解决IE5.0的刷新问题
		if(nIE5)
			l.filters["Alpha"].opacity=p.popc;
	}
}
//* 设置弹出菜单的hidden属性
function sthdx(p)
{
	var l=stglay(p);
	if(nNN4)
		l.visibility="hide";
	else
	{
		//* 这里用来解决IE5.0的刷新问题
		if(nIE5)
			l.filters["Alpha"].opacity=0;
		l.style.visibility="hidden";
	}
}
//* 隐藏所有的菜单
function stcls()
{
	for(var i=0;i<st_ms.length;++i)
		sthdalx(st_ms[i],0);
}
//* 隐藏菜单m所有的弹出菜单(可以在Content Frame里面使用)
function sthdalx(m,f)
{
	var w=m.sfrm;
	if(w!=window)
	{
		if(stdmld(w))
		{
			var t=w.stmenu(m.mnam);
			if(t)
				w.sthdall(t,f);
		}
		else
		{
			for(var i=0;i<m.ps[0].is.length;++i)
			{
				var p=m.ps[0].is[i].sub;
				if(p&&p.issh)
				{
					sthdpp(p);
					break;
				}
			}
		}
	}
	else
		sthdall(m,f);
}
//* 隐藏菜单m所有的弹出菜单(只能在Nav Frame里面使用)
function sthdall(m,f)
{
	var t=m,w;
	if(m.mcff)
	{
		w=stgfrm(m);
		if(w&&w!=window&&stdmld(w))
		{
			t=w.stmenu(m.mnam);
			if(typeof(t)=="object"&&t)
				t.sfrm=window;
		}
	}
	if(m.hdid)
	{
		clearTimeout(m.hdid);
		m.hdid=0;
	}
	m.cked=0;
	var p=m.ps[0];
	if(p.issh)
	{
		var i=p.cuit;
		if(p.cuit)
		{
			sthdit(i);
			if(t!=m)
			{
				var p=t.ps[i.ppi].is[i.iti].sub;
				if(p&&p.issh)
					w.sthdpp(p);
			}
		}
		if(m.mtyp==2&&(f||stAHCM))
			sthide(p);
	}
}
//* 生成filter字符串
function stgeff(f,i,s,p)
{
	return nVER<5.5?(!p.isst||nVER>=5)&&i<24&&i>=0?"revealTrans(Transition="+i+",Duration="+((110-s)/100)+")":"":f=="Normal"?"":f;
}
//* 使用filter来显示弹出菜单(处理异常)
function stftsh(p)
{
	if(nIEW&&nVER>=5.5)
		eval("try{stshfx(p);}catch(e){st_reg=0;stshfx(p);}");
	else
		stshfx(p);
}
//* 使用filter来隐藏弹出菜单(处理异常)
function stfthd(p)
{
	if(nIEW&&nVER>=5.5)
		eval("try{sthdfx(p);}catch(e){st_reg=0;sthdfx(p);}");
	else
		sthdfx(p);
}
//* 使用filter来显示弹出菜单
function stshfx(p)
{
	var xy=stgxy(p);
	if(stissc(p))
		stssc(xy[2],p);
	stmvto(xy,p);
	stwels(-1,p);
	if(nIEW&&st_reg)
	{
		var ts=stglay(p).filters;
		for(var i=0,j=i+p.effn[0];i<j;++i)
		{
			if(ts[i].status)
				ts[i].stop();
			ts[i].apply();
		}
	}
	stshx(p);
	if(nIEW&&st_reg)
	{
		var ts=stglay(p).filters;
		for(var i=0,j=i+p.effn[0];i<j;++i)
			ts[i].play();
	}
}
//* 使用filter来隐藏弹出菜单(
function sthdfx(p)
{
	if(nIEW&&st_reg)
	{
		var ts=stglay(p).filters;
		for(var i=p.effn[0],j=i+p.effn[1];i<j;++i)
		{
			if(ts[i].status)
				ts[i].stop();
			ts[i].apply();
		}
	}
	sthdx(p);
	stwels(1,p);
	if(nIEW&&st_reg)
	{
		var ts=stglay(p).filters;
		for(var i=p.effn[0],j=i+p.effn[1];i<j;++i)
			ts[i].play();
	}
}
function ststxy(m,xy)
{
	m.mcox=xy[0];
	m.mcoy=xy[1];
}
function stnav()
{
	var v=navigator.appVersion,a=navigator.userAgent;
	nMAC=v.indexOf("Mac")>=0;
	nOP=a.indexOf("Opera")>=0;
	if(nOP)
	{
		nVER=parseFloat(a.substring(Math.max(a.indexOf("Opera/"),a.indexOf("Opera "))+6,a.length));
		nOP5=nVER>=5.12;
	}
	else
	{
		nIE=document.all?1:0;
		if(nIE)
		{
			nIE4=(eval(v.substring(0,1)>=4));
			nVER=parseFloat(a.substring(a.indexOf("MSIE ")+5,a.length));
			nIE5=nVER>=5&&nVER<5.5&&!nMAC;
			nIEM=nIE4&&nMAC;
			nIEW=nIE4&&!nMAC;
		}
		else
		{
			nNN4=navigator.appName.toLowerCase()=="netscape"&&v.substring(0,1)=="4";
			if(!nNN4)
			{
				nNN6=(document.getElementsByTagName("*")&&a.indexOf("Gecko")!=-1);
				if(nNN6)
				{
					nVER=parseInt(navigator.productSub);
					if(a.indexOf("Netscape")>=0)
					{
						st_delb=nVER<=20001108;
						st_addb=nVER>=20020512;
					}
					else
					{
						st_delb=nVER<=20010628;
						st_addb=nVER>=20011221&&nVER<20021016;;
					}
				}
			}
			else
				nVER=parseFloat(v);
			nNN=nNN4||nNN6;
		}
	}
	nDM=nOP5||nIE4||nNN;
}
//* 检查页面是否滚动(相当于onscroll和onresize)
function stckpg()
{
	var w=st_cw,h=st_ch,l=st_cl,t=st_ct;
	st_cw=stgcw();
	st_ch=stgch();
	st_cl=stgcl();
	st_ct=stgct();
	st_scd=st_cl-l||st_ct-t;
	if((st_cw-w||st_ch-h)&&(nOP&&nVER<7||nNN4))
		document.location.reload();
	else if(!nIEM)
		stscr();
}
//* 菜单的onload事件
function st_onload()
{
	if(st_load)	return;
	//* 输出第二部分HTML代码并初始化菜单
	if(nIEM||nOP5||nNN||(nIEW&&nVER<5))
	{
		if(st_ht)
			document.body.insertAdjacentHTML("BeforeEnd",st_ht);
		for(var j=0;j<st_ms.length;++j)
			stpre(st_ms[j]);
	}
	st_load=1;
	for(var i=stusrld.length-1;i>=0;--i)
	{
		stusrld[i]();
	}
	stusrld.length=0;
	//* 初始化Auto Hide Windowed Elements
	for(var j=0;j<st_ms.length;++j)
	{
		var m=st_ms[j];
		//* 处理用户onload事件
		if(typeof(m.callload)!="undefined")m.callload(m);
		for(var k=0;k<m.ps.length;++k)
		{
			var p=m.ps[k];
			if(p.issh&&p.exed)
				stwels(-1,p);
		}
	}
}
//* 初始化菜单
function stpre(m)
{
	var p=m.ps[m.ps.length-1],i=p.is[p.is.length-1];
	//* 判断菜单是否加载完成
	while(1)
		if(stglay(i)) break;
	//* 修正菜单的大小及误差
	if(!nNN4)
		stfix(m);
	//* 显示顶层菜单
	if(m.mtyp!=2)
		stshow(m.ps[0]);
	//* 挂起滚动菜单的检查事件
	if(nIEM)
		onscroll=onresize=new Function("if(st_scr)clearTimeout(st_scr);st_scr=setTimeout('stscr();',500);");
	else if(!st_rl)
	{
		st_cw=stgcw();
		st_ch=stgch();
		st_cl=stgcl();
		st_ct=stgct();
		st_rl=setInterval("stckpg();",nIEW?25:100);
	}
	m.ready=1;
}
//* 修正菜单的大小及误差
function stfix(m)
{
	for(var j=0;j<m.ps.length;++j)
	{
		var p=m.ps[j];
		if(!p.isst&&(nOP&&nVER>=7||nNN6))
			document.body.appendChild(stglay(p));
		if(nOP&&nVER<6)
			stglay(p).style.pixelWidth=parseInt(stgobj(p.ids+"TB").style.pixelWidth);
		if(nIE5)
			stglay(p).style.width=stglay(p).offsetWidth;
		else if(nIEM||!nIE)
		{
			if(!p.pver)
			{
				var f=stgobj(p.ids+0),h=parseInt(nOP&&nVER<7?f.style.pixelHeight:f.offsetHeight);
				if(h)
				{
					h-=2*p.pspc;
					for(var k=0;k<p.is.length;++k)
					{
						var i=p.is[k];
						with(stglay(i).style)
						if(nOP)
						{
							if(nVER>=7&&i.iht)
								pixelHeight=h-2*p.ppad;
							else
								pixelHeight=nVER<7||i.ityp==6?h:h-2*p.ppad-2*i.ipbw;
						}
						else if(i.ityp==6||nIE)
							height=h+"px";
						else
							height=h-2*i.ipbw+"px";
						if(nIEM)
						{
							var l=stgobj(i.ids+"LTD"),r=stgobj(i.ids+"RTD");
							if(l)
								l.style.height=h+"px";
							stgobj(i.ids+"MTD").style.height=h+"px";
							if(r)
								r.style.height=h+"px";
						}
					}
				}
			}
			else if(nOP)
			{
				for(var k=0;k<p.is.length;++k)
				{
					var i=p.is[k];
					if(i.ityp!=6)
					{
						with(stglay(i).style)
						{
							var w=parseInt(stgobj(p.ids+k).style.pixelWidth),h=parseInt(pixelHeight);
							if(w)
								pixelWidth=w-2*p.pspc;
							if(h)
								pixelHeight=h;
						}
					}
				}
			}
		}
	}
}
function stgsp(sp,d)
{
	var i=0,s=nIEW?5:50;
	if(d<s||nIEM||!stSMSC)
		return d;
	d=(d-d%s)/s;
	while(d>0)
		d-=++i;
	return Math.min(Math.min(i*s,sp+s),100*s);
}
//* 处理滚动菜单
function stscr()
{
	for(var j=0;j<st_ms.length;++j)
	{
		var m=st_ms[j];
		if(m.mtyp==1)
		{
			var p=m.ps[0],o=stgobj(p),xy=stgxy(p),rc=stgrc(p);
			if(typeof(p.scxs)=='undefined')
				p.scxs=0;
			if(typeof(p.scys)=='undefined')
				p.scys=0;
			var dx=xy[0]-rc[0],dy=xy[1]-rc[1];
			if(dx||dy)
			{
				if(stAHWS)	sthdall(m,0);
				stwels(1,p);
				p.scxs=stgsp(p.scxs,Math.abs(dx));
				p.scys=stgsp(p.scys,Math.abs(dy));
				var x=dx>0?rc[0]+p.scxs:rc[0]-p.scxs,y=dy>0?rc[1]+p.scys:rc[1]-p.scys;
				stmvto([x,y],p);
				if(stissc(p))
					stssc(stgsc(x,y,p),p);
				stwels(-1,p);
			}
			else
			{
				p.scxs=p.scys=0;
				if(stissc(p))
				{
					stwels(1,p);
					stssc(stgsc(xy[0],xy[1],p),p);
					stwels(-1,p);
				}
			}
		}
		else if(st_scd&&stAHWS&&m.sfrm!=window)
			sthdalx(m,0);
	}
}
function stmvto(xy,p)
{
	if(xy&&(p.par||stgme(p).mtyp))
	{
		var l=stglay(p);
		if(nNN4)
			l.moveToAbsolute(xy[0],xy[1]);
		else if(nOP)
		{
			var s=l.style;
			s.pixelLeft=xy[0];
			s.pixelTop=xy[1];
		}
		else
		{
			var s=l.style;
			s.left=xy[0]+"px";
			s.top=xy[1]+"px";
		}
		p.rc=[xy[0],xy[1],p.rc[2],p.rc[3]];
	}
}
function stsdstr(p,s)
{
	return	"var p=st_ms["+p.mei+"].ps["+p.ppi+"];p.tmid=0;"+(s?"stftsh(":"stfthd(")+"p);p.exed=1;";
}
function stevfn(n,i)
{
	return new Function("e","var r=/Stm(\\d*)p(\\d*)i"+(i?"(\\d*)e":"")+"/;r.exec(this.parentLayer.id);var m=RegExp.$1;var p=parseInt(RegExp.$2);"+(i?"var i=parseInt(RegExp.$3);":"")+"return "+n+"(e,this,st_ms[m].ps[p]"+(i?".is[i]":"")+");");
}
function stppev(p)
{
	return " onMouseOver='stppov(event,this,st_ms["+p.mei+"].ps["+p.ppi+"]);' onMouseOut='stppou(event,this,st_ms["+p.mei+"].ps["+p.ppi+"]);'";
}
function stitev(i)
{
	with(i)
	return ityp==6?"":" onMouseOver='stitov(event,this,st_ms["+mei+"].ps["+ppi+"].is["+iti+"]);' onMouseOut='stitou(event,this,st_ms["+mei+"].ps["+ppi+"].is["+iti+"]);' onClick='stitck(event,this,st_ms["+mei+"].ps["+ppi+"].is["+iti+"]);'";
}
function stquo(n)
{
	return "\""+n+"\"";
}
function stgurl(i,f)
{
	with(i)
	return (iurl||f?"HREF="+stquo(iurl?iurl.replace(/"/g,"&quot;").replace(/'/g,"&#39;"):"#")+(iurl&&itgt?" TARGET="+stquo(itgt):""):"")+(istt?" onMouseOver='return stcstt(st_ms["+mei+"].ps["+ppi+"].is["+iti+"]);' onMouseOut=\"top.status=\'\';return true;\"":"");
}
//* 显示菜单项i的状态条信息,必须返回true
function stcstt(i)
{
	top.status=i.istt;return true;
}
function stgdec(v)
{
	return v?(v&1?"underline ":"")+(v&2?"line-through ":"")+(v&4?"overline":""):"none";
}
function stgimg(src,id,w,h,b)
{
	return "<IMG SRC="+stquo(src)+(id?" ID="+id:"")+(w>0?" WIDTH="+w:(nNN?" WIDTH=0":""))+(h>0?" HEIGHT="+h:(nNN?" HEIGHT=0":""))+" BORDER="+b+">";
}
function stgbg(c,i,r)
{
	return i?c+" url("+i+") "+r:c;
}
function stgcur(i)
{
	return i.ityp!=6&&(i.iurl||stgpar(i).isck&&i.sub)?(nNN6?"pointer":"hand"):"default";
}
function stgiws(i)
{
	var p=stgpar(i);
	return p.pver?(p.plmw>0?" WIDTH="+(p.plmw+2):""):(i.iicw>0?" WIDTH="+(i.iicw+2):"");
}
function stgaws(i)
{
	var p=stgpar(i);
	return p.pver?(p.prmw>0?" WIDTH="+(p.prmw+2):""):(i.iarw>0?" WIDTH="+(i.iarw+2):"");
}
function stgme(ip)
{
	var p=st_ms[ip.mei].ps[ip.ppi];
	while(p.par)
		p=stgpar(p.par);
	return st_ms[p.mei];
}
function stgpar(ip)
{
	return st_ms[ip.mei].ps[ip.ppi];
}
function stgcl()
{
	return nIE?(nIEW&&document.compatMode=="CSS1Compat"?document.documentElement:document.body).scrollLeft:pageXOffset;
}
function stgct()
{
	return nIE?(nIEW&&document.compatMode=="CSS1Compat"?document.documentElement:document.body).scrollTop:pageYOffset;
}
function stgcw()
{
	return nIE?(nIEW&&document.compatMode=="CSS1Compat"?document.documentElement:document.body).clientWidth:innerWidth;
}
function stgch()
{
	return nIE?(nIEW&&document.compatMode=="CSS1Compat"?document.documentElement:document.body).clientHeight:innerHeight;
}
function stgobj(id)
{
	with(document)
	return nIE&&nVER<5?all[id]:nNN4?layers[id]:getElementById(id);
}
function stglay(ip)
{
	if(!ip.layer)
		ip.layer=!stisit(ip)||nNN6||nOP5?stgobj(ip.ids):nNN4?stglay(stgpar(ip)).document.layers[0].document.layers[ip.ids]:stglay(stgpar(ip)).all.tags("table")[ip.ids];
	return ip.layer;
}
function stgstlay(i)
{
	return stglay(i).document.layers[0].document.layers;
}
function stgrc(ip)
{
	var ly=stglay(ip);
	if(nNN4)
		return [ly.pageX,ly.pageY,ly.clip.width,ly.clip.height];
	else
	{
		var l=0,t=0,w=typeof(ip.rc)=="undefined"?parseInt(nOP&&nVER<7?ly.style.pixelWidth:ly.offsetWidth):ip.rc[2],h=typeof(ip.rc)=="undefined"?parseInt(nOP&&nVER<7?ly.style.pixelHeight:ly.offsetHeight):ip.rc[3];
		while(ly)
		{
			l+=parseInt(ly.offsetLeft);
			t+=parseInt(ly.offsetTop);
			if(nIEW&&stisit(ip)&&ly.id==stgpar(ip).ids+"SC")
			{
				l-=ly.scrollLeft;
				t-=ly.scrollTop;
			}
			ly=ly.offsetParent;
		}
		if(nIEM)
		{
			l+=parseInt(document.body.leftMargin);
			l-=ip.ipbw;
			t-=ip.ipbw;
		}
		if(stisit(ip))
		{
			if(st_delb)
			{
				l-=ip.ipbw;
				t-=ip.ipbw;
			}
			if(st_addb)
			{
				var w=stgpar(ip).ipbw;
				l+=w;
				t+=w;
			}
		}
		return [l,t,w,h];
	}
}
function stgxy(p)
{
	var sr=stgrc(p),ss=0;
	p.rc=sr.slice(0);
	if(stissc(p))
	{
		var sc=stgobj(p.ids+"SC");
		sr[p.pver?3:2]=ss=(p.pver?sc.scrollHeight:sc.scrollWidth)+2*p.ipbw+2*p.psds;
	}
	if(!p.par)
	{
		var m=stgme(p),x=!m.mtyp?sr[0]:m.mtyp==1?eval(m.mcox):m.mcox,y=!m.mtyp?sr[1]:m.mtyp==1?eval(m.mcoy):m.mcoy;
		if(nIEW){x-=p.psds;y-=p.psds;}
		return stissc(p)?[x,y,stgsc(x,y,p)]:[x,y];
	}
	var ir=stgirc(p.par),l=stgcl()-p.psds+stgspc(p,2),t=stgct()-p.psds+stgspc(p,0),r=stgcl()+stgcw()-stgspc(p,3),b=stgct()+stgch()-stgspc(p,1),x=p.poffx+ir[0],y=p.poffy+ir[1];
	x-=p.pdir==1?sr[2]:p.pdir==2?p.psds-ir[2]:p.psds;
	y-=p.pdir==3?sr[3]:p.pdir==4?p.psds-ir[3]:p.psds;
	if(stissc(p)&&!p.pver)
	{
		var ms=p.pdir==1?(x=Math.max(Math.min(Math.min(r,ir[0]+p.poffx)-sr[2],x),l),Math.min(ir[0]+p.poffx,r)-x):(x=p.pdir==2?Math.max(x,l):Math.max(Math.min(r-sr[2],x),l),r-x);
		ss=ss>ms?ms:0
	}
	else
		x=Math.max(Math.min(r-sr[2],x),l);
	if(stissc(p)&&p.pver)
	{
		var ms=p.pdir==3?(y=Math.max(Math.min(Math.min(b,ir[1]+p.poffy)-sr[3],y),t),Math.min(ir[1]+p.poffy,b)-y):(y=p.pdir==4?Math.max(y,t):Math.max(Math.min(b-sr[3],y),t),b-y);
		ss=ss>ms?ms:0
	}
	else
		y=Math.max(Math.min(b-sr[3],y),t);
	return [x,y,ss];
}
function stbuf(s)
{
	if(s)
	{
		var i=new Image();
		st_ims[st_ims.length]=i;
		i.src=s;
	}
	return s;
}
function stabs(s)
{
	var t=s.toLowerCase();
	return t.indexOf(":")==1&&t.charCodeAt()>="a"&&t.charCodeAt()<="z"||!t.indexOf("http:")||!t.indexOf("https:")||!t.indexOf("file:")||!t.indexOf("ftp:")||!t.indexOf("/")||!t.indexOf("javascript:")||!t.indexOf("mailto:")||!t.indexOf("about:")||!t.indexOf("gopher:")||!t.indexOf("news:")||!t.indexOf("telnet:")||!t.indexOf("wais:");
}
function stgsrc(s,m,f)
{
	return s?stabs(s)?s:m.mweb+s:f?m.mbnk:s;
}
function showFloatMenuAt(n,x,y)
{
	if(nDM)
	{
		var m=stmenu(n);
		if(m&&typeof(m.ready)!="undefined"&&m.mtyp==2&&m.ps.length&&!m.ps[0].issh)
		{
			ststxy(m,[x,y]);
			stshow(m.ps[0]);
		}
	}
}
//* 隐藏name为n的菜单(只能在Nav Frame里面使用)
function hideMenu(n)
{
	var m=stmenu(n);
	sthdall(m,1);
}
//* 得到name为n的菜单
function stmenu(n)
{
	for(var j=st_ms.length-1;j>=0;--j)
		if(st_ms[j].mnam==n)
			return st_ms[j];
	return 0;
}
function stgirc(i)
{
	var m=stgme(i),w=m.sfrm;
	if(stgpar(i).par||w==window)
		return stgrc(i);
	m=w.stmenu(m.mnam);
	var rc=w.stgrc(m.ps[0].is[i.iti]),x=rc[0]-w.stgcl(),y=rc[1]-w.stgct();
	i.sub.pdir=4-m.mcfd;
	switch(m.mcfd)
	{
	case 0:y-=w.stgch();break;
	case 1:y+=stgch();break;
	case 2:x-=w.stgcw();break;
	case 3:x+=stgcw();break;
	}
	return [x+stgcl()+m.mcfx,y+stgct()+m.mcfy,rc[2],rc[3]];
}
//* 判断对象ip是否为item对象,否则为popup menu对象
function stisit(ip)
{
	return typeof(ip.iti)!="undefined";
}
//* 求出链接的目标窗口
function stgtgt(i)
{
	var t=i.itgt;
	if(t=="_self")
		return window;
	else if(t=="_parent")
		return parent;
	else if(t=="_top")
		return top;
	else
		for(var co=window;co!=co.parent;co=co.parent)
			if(typeof(co.parent.frames[t])!="undefined")
				return co.parent.frames[t];
	return 0;
}
//* 求出跨帧菜单的cnt帧
function stgfrm(m)
{
	if(!m.mcff)	return window;
	if(m.mhdd<1000)	m.mhdd=1000;
	var a=m.mcff.split("."),w="parent";
	for(var j=0;j<a.length;++j)
	{
		w+="."+a[j];
		if(typeof(eval(w))=="undefined")
			return 0;
	}
	return eval("parent."+m.mcff);
}
function stgspc(p,d)
{
	var m=stgme(p),w=m.sfrm;
	return p.par&&!p.par.ppi&&w!=window&&stdmld(w)&&w.stmenu(m.mnam).mcfd==d?stCFSP:stSCSP;
}
//* 安装onload事件,此函数可以被用户使用在页面中用来修正onload事件
function stsetld()
{
	if(nDM)
	{
		if(typeof(onload)!="undefined"&&onload!=st_onload&&onload)
			stusrld[stusrld.length]=onload;
		onload=st_onload;
	}
}
//* 判断指定窗口w的菜单是否已经加载完成
function stdmld(w)
{
	return typeof(w.st_load)!="undefined"&&w.st_load;
}
//* 判断弹出菜单p能否滚动菜单项
function stissc(p)
{
	return nIEW&&nVER>=5&&p.ppi&&stgme(p).mscm[p.pver];
}
//* 滚动菜单项+++++++++++++++++++++++++++++++(如未使用滚动菜单项此段代码可删除)
function stm_sc(a,m)
{
	var s={sbgc:[a[0],a[1]],sbgi:[stbuf(stgsrc(a[2],m,0)),stbuf(stgsrc(a[3],m,0))],sbgr:[stREP[a[4]],stREP[a[5]]],sbds:stBDS[a[6]],sbdw:a[7],sbdc:[a[8],a[9]],simg:[[stbuf(stgsrc(a[10],m,0)),stbuf(stgsrc(a[11],m,0))],[stbuf(stgsrc(a[15],m,0)),stbuf(stgsrc(a[16],m,0))]],simw:[a[12],a[17]],simh:[a[13],a[18]],simb:[a[14],a[19]]};
	return s;
}
function stsctx(p,d)
{
	with(p)
	with(stgme(p).mscm[p.pver])
	return (d?"</table></div></td>"+(pver?"</tr>":""):"")+(pver?"<tr style='display:none'><td":"<td height=100% style='display:none'")+" class='st_tbcss' style='padding:"+pspc+"px'><table onmouseover='stscev(st_ms["+mei+"].ps["+ppi+"],"+d+",1)' onmouseout='stscev(st_ms["+mei+"].ps["+ppi+"],"+d+",0)' id="+ids+(d?"SN":"SP")+" height=100% width=100% class=st_tbcss cellpadding=0 cellspacing=0 style='cursor:default;border-style:"+sbds+";border-width:"+sbdw+"px;border-color:"+sbdc[0]+";background-color:"+sbgc[0]+(sbgi[0]?";background-image:url("+sbgi[0]+")":"")+";background-repeat:"+sbgr[0]+";'><td nowrap height=100% class=st_tdcss style='padding:"+ppad+"px;' align=center><img src='"+simg[d][0]+"' align=absmiddle border="+simb[d]+(simw[d]>=0?" width="+simw[d]:"")+(simh[d]>=0?" height="+simh[d]:"")+"></td></table></td>"+(d?(pver?"</tr>":""):(pver?"</tr><tr>":"")+"<td class=st_tbcss><div id="+ids+"SC class=st_divcss style='width:;height:;overflow:hidden;'><table class=st_tbcss cellpadding=0 cellspacing=0 border=0>");
}
function stscev(p,d,v)
{
	p.scpx=d?v?4:0:v?-4:0;
	with(stgme(p).mscm[p.pver])
	{
		var o=stgobj(p.ids+(d?"SN":"SP")).style;
		if(sbdc[0]!=sbdc[1])
			o.borderColor=sbdc[v];
		if(sbgc[0]!=sbgc[1])
			o.backgroundColor=sbgc[v];
		if(sbgi[0]!=sbgi[1])
			o.backgroundImage=sbgi[v]?"url("+sbgi[v]+")":"none";
		if(sbgr[0]!=sbgr[1])
			o.backgroundRepeat=sbgr[v];
	}
	if(!p.scid)
		p.scid=setTimeout("stscit(st_ms["+p.mei+"].ps["+p.ppi+"]);",10);
}
function stscit(p)
{
	var d=p.scpx;
	p.scid=0;
	with(stgme(p).mscm[p.pver])
	if(d)
	{
		var sp=stgobj(p.ids+"SP"),sn=stgobj(p.ids+"SN"),sc=stgobj(p.ids+"SC"),st=p.pver?sc.scrollTop:sc.scrollLeft,mx=p.pver?sc.scrollHeight-sc.offsetHeight:sc.scrollWidth-sc.offsetWidth;
		if(st==0&&d<0||st==mx&&d>0)
			return;
		if(st==(d>0?0:mx))
			(d>0?sp:sn).rows[0].cells[0].childNodes[0].src=simg[d>0?0:1][1];
		st+=d;
		if(d>0?(st>=mx):(st<=0))
		{
			(d>0?sn:sp).rows[0].cells[0].childNodes[0].src=simg[d>0?1:0][0];
			st=d>0?mx:0;
		}
		else
			p.scid=setTimeout("stscit(st_ms["+p.mei+"].ps["+p.ppi+"]);",10);
		p.pver?(sc.scrollTop=st):(sc.scrollLeft=st);
	}
}
function stgsc(x,y,p)
{
	var sc=stgobj(p.ids+"SC"),ms=p.pver?stgct()+stgch()-y-stgspc(p,1):stgcl()+stgcw()-x-stgspc(p,3);
	return (p.pver?sc.scrollHeight:sc.scrollWidth)+2*p.ipbw>ms?ms:0;
}
function stssc(s,p)
{
	if(s>=0)
	{
		if(typeof(p.scid)=="undefined")
			p.scid=0,p.scsu=0,p.scsd=1;
		var l=stglay(p),sp=stgobj(p.ids+"SP"),sn=stgobj(p.ids+"SN"),sc=stgobj(p.ids+"SC");
		(p.pver?sp.parentNode:sp).parentNode.style.display=(p.pver?sn.parentNode:sn).parentNode.style.display=s?'':'none';
		sc.style.overflow=s?"hidden":"";
		if(s)
			s=Math.max(s-(p.pver?sp.offsetHeight+sn.offsetHeight:sp.offsetWidth+sn.offsetWidth)-2*p.ipbw-2*p.psds-4*p.pspc,1);
		if((p.pver?sc.style.height:sc.style.width)==(s?s+'px':''))	return;
		p.pver?(sc.style.height=s?s+'px':''):(sc.style.width=s?s+'px':'');
		with(stgme(p).mscm[p.pver])
		if(s)
		{
			sp.rows[0].cells[0].childNodes[0].src=simg[0][(p.pver?sc.scrollTop:sc.scrollLeft)?1:0];
			sn.rows[0].cells[0].childNodes[0].src=simg[1][(p.pver?sc.scrollTop!=sc.scrollHeight-sc.offsetHeight:sc.scrollLeft!=sc.scrollWidth-sc.offsetWidth)?1:0];
		}
	}
}
//* 滚动菜单项-------------------------------
//* 自动隐藏窗口元素+++++++++++++++++++++++++++++++(如未使用自动隐藏窗口元素此段代码可删除)
//* 对所有与弹出菜单p相重叠的Windowed Element进行引用计数,使Window Element自动隐藏
function stwels(c,p)
{
	var m=stgme(p);
	if(!st_load||nNN4||nOP||p.isst)	return;
	if(m.mhds&&!nIEM)	stwtag("SELECT",c,p);
	if(m.mhdo&&nIE4)	{stwtag("OBJECT",c,p);stwtag("APPLET",c,p);}
	if(m.mhdi&&(nIEM||nIEW&&nVER<5.5))	stwtag("IFRAME",c,p);
}

//* 对所有与弹出菜单p相重叠的以tg为标记的Windowed Element进行引用计数,使Window Element自动隐藏
function stwtag(tg,c,p)
{
	var es=nIE?document.all.tags(tg):document.getElementsByTagName(tg);
	for(var j=0;j<es.length;++j)
	{
		var f=0,e=es.item(j);
		for(var t=e.offsetParent;t;t=t.offsetParent)
			if(t.id&&t.id.indexOf("Stm")>=0)
				f=1;
		if(f)
			continue;
		else if(stwover(e,p))
		{
			if(e.visLevel)
				e.visLevel+=c;
			else
				e.visLevel=c;
			if(e.visLevel==-1)
			{
				if(typeof(e.visSave)=="undefined")
					e.visSave=e.style.visibility;
				if(typeof(callwehd)!='undefined'&&callwehd(e))return;
				e.style.visibility="hidden";
			}
			else if(!e.visLevel)
			{
				if(typeof(callwesh)!='undefined'&&callwesh(e))return;
				e.style.visibility=e.visSave;
			}
		}
	}
}
//* 判断Windowed元素e与弹出菜单p是否重叠
function stwover(e,p)
{
	var l=0,t=0,w=e.offsetWidth,h=e.offsetHeight;
	w?(e._wd=w):(w=e._wd);
	h?(e._ht=h):(h=e._ht);
	while(e)
		l+=e.offsetLeft,t+=e.offsetTop,e=e.offsetParent;
	return l<p.rc[2]+p.rc[0]&&l+w>p.rc[0]&&t<p.rc[3]+p.rc[1]&&t+h>p.rc[1];
}
//* 自动隐藏窗口元素-------------------------------
//* 根据当前的LOCATION加亮对应的菜单项
function sthili(m)
{
	var o=0;
	for(var x=0;x<m.ps.length;++x)
	{
		var p=m.ps[x];
		for(var y=0;y<p.is.length;++y)
		{
			var i=p.is[y];
			if(i.ityp!=6&&stcurl(i,m.midn&0x02000000)&&(!o||o.iurl.length<i.iurl.length))
				o=i;
		}
	}
	with(m)
	if(o)
	{
		if(midn&0x01000000)o.iurl="";
		do
		{
			if(midn&2)o.itxc[0]=o.itxc[1];
			if(midn&4){o.itxf[0]=o.itxf[1];o.itxd[0]=o.itxd[1];}
			if(midn&8)o.ibgc[0]=o.ibgc[1];
			if(midn&16){o.ibgi[0]=o.ibgi[1];o.ibgr[0]=o.ibgr[1];}
			if(midn&32)o.ibdc[0]=o.ibdc[1];
			if(midn&64)o.iicn[0]=o.iicn[1];
			if(midn&128)o.iimg[0]=o.iimg[1];
			if(midn&256)o.iarr[0]=o.iarr[1];
			o=stgpar(o).par;
		}while(o&&(midn&0x04000000));
	}
}
//* 判断菜单项i是否为活动的菜单项
function stcurl(i,c)
{
	var t=stgtgt(i);
	var u=t?t.location.href:"",h=i.iurl;
	//* 大小写敏感
	if(!c)
	{
		u=u.toLowerCase();
		h=h.toLowerCase();
	}
	if(u&&h)
	{
		//* 如果为本地路径,则删除多余的//
		if(!h.indexOf("file:////"))
			h=h.replace(/[\/]{4,}/,"//");
		//* 相对于根时计算路径
		else if(h.charAt(0)=="/")
		{
			var re=/(file:\/{2,}[^\/]+\/|http:\/\/[^\/]+\/|https:\/\/[^\/]+\/)/;
			re.exec(u);
			var s=RegExp.$1,n,r;
			r=s&&!u.indexOf(s)?s.substr(0,s.length-1):"";
			h=r?r+h:"";
		}
	}
	//* 处理中间的./和../
	while(h.indexOf("/./")>0)
		h=h.replace(/\/\.\//,"/");
	while(h.indexOf("/../")>0)
		h=h.replace(/[^\/]*\/\.\.\//,"");
	//* 删除行首的./
	while(!h.indexOf("./"))
		h=h.substring(2,h.length);
	//* 删除行首的../ 此操作对于匹配并不准确
	while(!h.indexOf("../"))
		h=h.substring(3,h.length);
	var ul=u.length,hl=h.length;
	return u&&h&&(ul>=hl&&u.lastIndexOf(h)==ul-hl||ul>hl&&u.lastIndexOf(h+"/")==ul-hl-1)?hl:0;
}