// Ver: 3.5 String.prototype.number=new Function("return isNaN(atoi(this)) ? 0 : atoi(this)"); String.prototype.bool=new Function("return this+''=='false'||this+''=='0' ? false : true"); Number.prototype.number=new Function("return this"); Number.prototype.bool=new Function("return this==0"); Boolean.prototype.number=new Function("return this ? 0 : 1"); Boolean.prototype.bool=new Function("return this"); ud_='undefined';d_=document;w_=window;px_='px';pt_='pt';b_=d_.body;ab_='absolute';stt_='static';atoi=parseInt; st_count=0;st_hdobj=[]; if(typeof(st_hideobj)!=ud_) st_hdobj=st_hideobj; var nOP=false,nOP5=false,nIE=false,nIE4=false,nIE5=false,nNN=false,nNN4=false,nNN6=false,nMac=false,nIEM=false,nIEW=false,nSTMENU=false;var NS4=0;var nVer=0.0; detectNav(); var MaxMenuNumber=10; var ReportError=0; var ReportErrorInIEMac=0; var ClickItemHideAll=0; var st_ht=""; var st_gcount=0; var st_rl_id=null; var st_cl_w,st_cl_h; var st_cumei,st_cumbi,st_cuiti; var st_menus=[]; var st_resHandle="d_.location.reload();"; var st_buf=[]; if((nIEM&&ReportErrorInIEMac)||((nIEW||nNN4)&&ReportError)) w_.onerror=errHandler; if(nSTMENU) w_.onload=st_onload; if(nIE) w_.onunload=new Function("w_.onerror=cnull;if(st_rl_id){clearInterval(st_rl_id);st_rl_id=null;}"); if(nNN6||nIE) for(i=0;i"); st_state=["OU","OV","CK"]; st_fl_id=["Box in","Box out","Circle in","Circle out","Wipe up","Wipe down","Wipe right","Wipe left","Vertical blinds","Horizontal blinds","Checkerboard across","Checkerboard down","Random dissolve","Split vertical in","Split vertical out","Split horizontal in","Split horizontal out","Strips left down","Strips left up","Strips right down","Strips right up","Random bars horizontal","Random bars vertical","Random filter","Fade", "Wheel","Slide","Insert","Pixelate","Stretch Left to right","Stretch Spin","Cross In","Cross Out","Plus In","Plus Out","Star In","Star Out","Checkerboard up","Checkerboard left","Blinds up","Blinds left"]; st_fl_string= [ "Iris(irisStyle=SQUARE,motion=in)","Iris(irisStyle=SQUARE,motion=out)","Iris(irisStyle=CIRCLE,motion=in)","Iris(irisStyle=CIRCLE,motion=out)", "Wipe(GradientSize=0.0,wipeStyle=1,motion=reverse)","Wipe(GradientSize=0.0,wipeStyle=1,motion=forward)","Wipe(GradientSize=0.0,wipeStyle=0,motion=forward)","Wipe(GradientSize=0.0,wipeStyle=0,motion=reverse)", "Blinds(bands=8,direction=RIGHT)","Blinds(bands=8,direction=DOWN)", "Checkerboard(squaresX=16,squaresY=16,direction=right)","Checkerboard(squaresX=12,squaresY=12,direction=down)","RandomDissolve()", "Barn(orientation=vertical,motion=in)","Barn(orientation=vertical,motion=out)","Barn(orientation=horizontal,motion=in)","Barn(orientation=horizontal,motion=out)", "Strips(Motion=leftdown)","Strips(Motion=leftup)","Strips(Motion=rightdown)","Strips(Motion=rightup)", "RandomBars(orientation=horizontal)","RandomBars(orientation=vertical)","","Fade(overlap=.5)", "Wheel(spokes=16)","Slide(slideStyle=hide,bands=15)","Inset()","Pixelate(MaxSquare=25)", "Stretch(stretchStyle=hide)","Stretch(stretchStyle=spin)", "Iris(irisStyle=cross,motion=in)","Iris(irisStyle=cross,motion=out)","Iris(irisStyle=plus,motion=in)","Iris(irisStyle=plus,motion=out)","Iris(irisStyle=star,motion=in)","Iris(irisStyle=star,motion=out)", "Checkerboard(squaresX=16,squaresY=16,direction=up)","Checkerboard(squaresX=16,squaresY=16,direction=left)","Blinds(bands=8,direction=up)","Blinds(bands=8,direction=left)" ]; st_fl=[]; for(i=st_fl_id.length-1;i>=0;i--) eval("st_fl['"+st_fl_id[i]+"']=i;"); function beginSTM() { var argu=arguments; var argt=[["nam",""],["type","relative"],["pos_l","0"],["pos_t","0"],["flt","none"],["click_sh","false"],["click_hd","true"],["ver","300"],["hddelay","1000"],["shdelay_h","0"],["shdelay_v","250"],["web_path",null],["blank_src","blank.gif"],["",""]]; for(i=argt.length-2;i>=0;i--) eval("var "+argt[i][0]+"=(i=0;i--) eval("var "+argt[i][0]+"=(i=5.5||(nVer<5.5&&st_fl[spec]<=23))) { tmobj.spec_init=filter_init; tmobj.spec_sh=filter_sh; tmobj.spec_hd=filter_hd; } else if(nIEW&&spec=="Fade") { tmobj.spec_init=fade_init; tmobj.spec_sh=fade_sh; tmobj.spec_hd=fade_hd; } else { tmobj.spec_init=normal_init; tmobj.spec_sh=normal_sh; tmobj.spec_hd=normal_hd; } tmobj.spec_init(); } function appendSTMI() { var argu=arguments; var argt=[ ["isimage","false"],["text",""],["align","left"],["valign","middle"], ["image_ou",""],["image_ov",""],["image_w","-1"],["image_h","-1"],["image_b","0"], ["type","normal"],["bgc_ou","#ffffff"],["bgc_ov","#ffffff"], ["sep_img",""],["sep_size","1"],["sep_w","-1"],["sep_h","-1"], ["icon_ou",""],["icon_ov",""],["icon_w","-1"],["icon_h","-1"],["icon_b","0"], ["tip",""],["url",""],["target","_self"], ["f_fm_ou","Arial"],["f_sz_ou","9"],["f_cl_ou","#000000"],["f_wg_ou","normal"],["f_st_ou","normal"],["f_de_ou","none"], ["f_fm_ov","Arial"],["f_sz_ov","9"],["f_cl_ov","#000000"],["f_wg_ov","normal"],["f_st_ov","normal"],["f_de_ov","underline"], ["bd_sz","0"],["bd_st","none"],["bd_cl_r_ou","#000000"],["bd_cl_l_ou","#000000"],["bd_cl_r_ov","#000000"],["bd_cl_l_ov","#000000"], ["bd_cl_t_ou",""],["bd_cl_b_ou",""],["bd_cl_t_ov",""],["bd_cl_b_ov",""], ["st_text",""],["bg_img_ou",""],["bg_img_ov",""],["bg_rep_ou","repeat"],["bg_rep_ov","repeat"], ["",""]]; for(i=argt.length-2;i>=0;i--) eval("var "+argt[i][0]+"=(i=0) tmobj.bd_cl_r=tmobj.bd_cl_l; if(tmobj.bd_st=="outset") tmobj.bd_st="solid"; tmobj.bd_cl_t=tmobj.bd_cl_l; tmobj.bd_cl_b=tmobj.bd_cl_r; } tmobj.bd_cl=[]; for(i=0;i<3;i++) tmobj.bd_cl[i]=tmobj.bd_cl_t[i]+" "+tmobj.bd_cl_r[i]+" "+tmobj.bd_cl_b[i]+" "+tmobj.bd_cl_l[i]; if(tmobj.type=="sepline") bufimg(tmobj.sep_img); else { for(i=0;i<3;i++) { bufimg(tmobj.icon[i]); if(tmobj.isimage) bufimg(tmobj.image[i]); bufimg(tmobj.bg_img[i]); } } tmobj.background=[getbg(tmobj.bg_cl[0],tmobj.type=='sepline' ? '' : tmobj.bg_img[0],tmobj.bg_rep[0]),getbg(tmobj.bg_cl[1],tmobj.bg_img[1],tmobj.bg_rep[1]),getbg(tmobj.bg_cl[2],tmobj.bg_img[2],tmobj.bg_rep[2])]; } function endSTMB() { var tmobj=st_menus[st_cumei].bodys[st_cumbi].getpar(); if(tmobj) { st_cumei=tmobj.mei; st_cumbi=tmobj.mbi; st_cuiti=tmobj.iti; } } function endSTM() { var menu=st_menus[st_cumei]; var menuHTML=""; var max_l=nSTMENU ? menu.bodys.length : 1; for(mbi=0;mbi" : "")); for(iti=0;iti" : "") : ""); itemHTML+=item.gettx(); itemHTML+=(body.arrange=="vertically" ? "" : ""); bodyHTML+=itemHTML; } bodyHTML+=(body.arrange=="vertically" ? "" : ""); bodyHTML+=body.gettx_e(); if((mbi==0&&menu.pos!=ab_)||!(nIE4||nNN6)) menuHTML+=bodyHTML; else st_ht+=bodyHTML; } if(menuHTML!='') { d_.open(); d_.write(menuHTML); d_.close(); } if(st_ht!=''&&(nNN6||(nIEW&&nVer>=5.0))) { getob('st_global'+st_gcount).innerHTML=st_ht; st_gcount++; st_ht=''; } if(nSTMENU&&(nNN6||(nIEW&&nVer>=5.0))) prefix(st_cumei); } function getMBTextH() { var s=""; if(nNN4||!nSTMENU) { if(nNN4) { s+=(this.mbi||this.getme().pos==ab_ ? ""; } s+="=5.5&&this.mbi==0&&this.getme().type!='custom') ; else stdiv+="visibility:hidden;"; s+=nIE||(nOP&&nVer>=6.0) ? "
=6.0)) s+="
"; s+="
"; else if(nNN4) return (this.mbi==0&&this.pos!=ab_) ? "
" : ""; else if(nIE||(nOP&&nVer>=6.0)) return ""; else return ""; } function getMIText() { var s=""; if(nNN4||!nSTMENU) { var max_i=nNN4 ? 3 : 1; s+=""; if(nNN4) s+=""; for(i=0;i"; s+=""; s+=createIMG(this.sep_img,this.block+"LINE",this.sep_w,this.sep_h,0); s+=""; } else { if(this.getpar().lw_max&&(this.getpar().arrange=="vertically"||this.icon_w)) { s+=""; if(this.getpar().arrow_w) { s+=""; } } s+="
"; if(nNN4) s+=""; if(this.isimage) s+=createIMG(this.image[i],this.block+"IMG",this.image_w,this.image_h,this.image_b); else { s+=""; s+=this.text; } s+=(nNN4 ? "" : ""); s+=""; s+=createIMG((this.getsub() ? this.getpar().arrow : this.getme().blank.src),this.block+"ARROW",this.getpar().arrow_w,this.getpar().arrow_h,0); s+="
"; s+=""; s+="
"; if(nNN4&&this.type!="sepline") { s+=""; if(this.type=="sepline") { s+=""; s+=createIMG(this.sep_img,this.block+"LINE",this.sep_w,this.sep_h,0); s+=""; } else { if(this.getpar().lw_max&&(this.getpar().arrange=="vertically"||this.icon_w)) { s+=""; s+=""; s+=""; if(this.isimage) s+=createIMG(this.image[0],this.block+"IMG",this.image_w,this.image_h,this.image_b); else s+=this.text; s+=""; s+=""; if(this.getpar().arrow_w) { s+=""; } s+=""; if(!nOP&&!nIE) s+=""; s+=""; } return s; } function getMBCSS() { var s=""; s+="border-style:"+this.bd_st+";"; s+="border-width:"+this.bd_sz+"px;"; s+="border-color:"+this.bd_cl+";"; if(nIE) s+="background:"+this.background+";"; else { s+="background-color:"+(this.bg_cl)+";"; if(this.bg_image!="") { s+="background-image:url("+this.bg_image+");"; s+="background-repeat:"+this.bg_rep+";"; } } return s; } function getMBFCSS() { var s=""; if(nIEW&&(nVer>=5.0||(this.mbi||this.getme().pos!=stt_))) { s+="filter:"; if(typeof(this.spec_string)!=ud_) s+=this.spec_string; s+=" Alpha(opacity="+this.opacity+") "; if(this.ds_sz!=0) { if(nVer>=5.5) s+="progid:DXImageTransform.Microsoft."; if(this.ds_st=="simple") s+="dropshadow(color="+this.ds_color+",offx="+this.ds_sz+",offy="+this.ds_sz+",positive=1)"; else s+="Shadow(color="+this.ds_color+",direction=135,strength="+this.ds_sz+")"; } s+=";"; } return s; } function getMICSS() { var s=""; if(this.type!="sepline") { s+="border-style:"+this.bd_st+";"; s+="border-width:"+this.bd_sz+"px;"; s+="border-color:"+this.bd_cl[0]+";"; if(!nIE&&this.bg_img[0]!="") { s+="background-image:url("+this.bg_img[0]+");"; s+="background-repeat:"+this.bg_rep[0]+";"; } } if(nIE) s+="background:"+this.background[0]+";"; else s+="background-color:"+this.bg_cl[0]+";"; s+="cursor:"+getcursor(this)+";"; return s; } function getMITXCSS() { var s=""; s+="cursor:"+getcursor(this)+";"; s+="font-family:"+this.f_fm[0]+";"; s+="font-size:"+this.f_sz[0]+"pt;"; s+="font-weight:"+this.f_wg[0]+";"; s+="font-style:"+this.f_st[0]+";"; s+="text-decoration:"+this.f_de[0]+";"; return s; } function doitov() { var e=nIE ? event : arguments[0]; var obj=this; var id=this.id; var mei=(id.substring(3,id.indexOf('_'))); var mbi=eval(id.substring(id.indexOf('_')+1,id.indexOf('__'))); var iti=eval(id.substring(id.indexOf('__')+2,id.indexOf('___'))); var it=st_menus[mei].bodys[mbi].items[iti]; if(!it.getpar().isshow||(!nNN&&(e.fromElement&&e.fromElement.id&&e.fromElement.id.indexOf(it.block)>=0))) return ; if(nNN4) it.getlayer().document.layers[0].captureEvents(Event.MOUSEDOWN|Event.CLICK); if(it.getme().hdid) { clearTimeout(it.getme().hdid); it.getme().hdid=null; } var curiti=it.getpar().curiti; var curit=null; if(curiti>=0) curit=it.getpar().items[curiti]; if(it.mbi==0&&it.getme().click_sh&&!it.getme().clicked) { if(curiti!=it.iti) { if(curiti>=0) { shitst(curit,0); it.getpar().curiti=-1; } shitst(it,1); it.getpar().curiti=it.iti; } } else { if(it.getpar().curiti!=it.iti) { if(it.getpar().curiti>=0) { it.getpar().items[it.getpar().curiti].hidepop(); it.getpar().curiti=-1; } it.showpop(); it.getpar().curiti=it.iti; } else { if(it.getsub()&&!it.getsub().isshow) { shitst(it,2); it.getsub().showpop(); } } } if(it.st_text!="") w_.status=it.st_text; } function doitou() { var e=nIE ? event : arguments[0]; var obj=this; var id=this.id; var mei=(id.substring(3,id.indexOf('_'))); var mbi=eval(id.substring(id.indexOf('_')+1,id.indexOf('__'))); var iti=eval(id.substring(id.indexOf('__')+2,id.indexOf('___'))); var it=st_menus[mei].bodys[mbi].items[iti]; if(!it.getpar().isshow||(!nNN&&(e.toElement&&e.toElement.id&&e.toElement.id.indexOf(it.block)>=0))) return ; if(nNN4) it.getlayer().document.layers[0].releaseEvents(Event.MOUSEDOWN|Event.CLICK); if(!it.getsub()||!it.getsub().isshow) { shitst(it,0); it.getpar().curiti=-1; } else if(it.getsub()&&it.getsub().isshow&&!it.getsub().exec_ed) it.hidepop(); w_.status=""; } function doitck() { var e=nIE ? event : arguments[0]; var obj=this; var id=this.id; var mei=(id.substring(3,id.indexOf('_'))); var mbi=eval(id.substring(id.indexOf('_')+1,id.indexOf('__'))); var iti=eval(id.substring(id.indexOf('__')+2,id.indexOf('___'))); var it=st_menus[mei].bodys[mbi].items[iti]; if(it.mbi==0&&it.getme().click_sh&&it.getsub()) { it.getme().clicked=!it.getme().clicked; if(it.getme().clicked) { shitst(it,2); if(!it.getsub().isshow) it.getsub().showpop(); } else { shitst(it,1); if(it.getsub().isshow) it.getsub().hidepop(); } } else { if(!it.getsub()) shitst(it,1); if(it.url!="") { if(ClickItemHideAll) it.getme().hideall(); var _preurl="javascript:"; if(it.url.toLowerCase().indexOf(_preurl)==0) eval(it.url.substring(_preurl.length,it.url.length)); else w_.open(it.url,it.target); } } } function doitmd() { var e=nIE ? event : arguments[0]; var obj=this; var id=this.id; var mei=(id.substring(3,id.indexOf('_'))); var mbi=eval(id.substring(id.indexOf('_')+1,id.indexOf('__'))); var iti=eval(id.substring(id.indexOf('__')+2,id.indexOf('___'))); var it=st_menus[mei].bodys[mbi].items[iti]; shitst(it,2); } function getrect() { if(nNN4) { var obj=this.getlayer(); return [obj.pageX,obj.pageY,obj.clip.width,obj.clip.height]; } else { var l,t,w,h; var obj=this.getlayer(); if(nOP) { w=atoi(obj.style.pixelWidth); h=atoi(obj.style.pixelHeight); } else { w=atoi(obj.offsetWidth); h=atoi(obj.offsetHeight); if(!nOP&&!nIEM&&typeof(this.iti)==ud_) h-=this.ds_sz*2; } l=0;t=0; if(nIEW) { var _add=true; while(obj) { switch(obj.tagName) { case 'DIV': case 'SPAN': if(obj.style.position!=ab_||(obj.id&&obj.id.indexOf('STM')>=0)) { l+=atoi(obj.offsetLeft); t+=atoi(obj.offsetTop); } break; default: l+=atoi(obj.offsetLeft); t+=atoi(obj.offsetTop); break; } if((obj.tagName=='DIV'||obj.tagName=='SPAN')&&obj.style.position==ab_) break; obj=obj.offsetParent; } } else if(nNN6) { while(obj) { if((obj.id&&obj.id.indexOf("STM")>=0)||(!obj.style.position||obj.style.position!=ab_)) { l+=atoi(obj.offsetLeft); t+=atoi(obj.offsetTop); } obj=obj.offsetParent; } if(nVer==6.0&&typeof(this.iti)!=ud_) { l-=this.bd_sz; t-=this.bd_sz; } else if(nVer>=7.0&&typeof(this.iti)!=ud_) { l+=this.getpar().bd_sz; t+=this.getpar().bd_sz; } } else if(nOP) { while(obj) { switch(obj.tagName) { default: l+=atoi(obj.offsetLeft); t+=atoi(obj.offsetTop); break; } obj=obj.offsetParent; } } else if(nIEM) { while(obj) { l+=atoi(obj.offsetLeft); t+=atoi(obj.offsetTop); if((obj.tagName=="SPAN"||obj.tagName=="DIV")&&(!obj.id||obj.id.indexOf("STM")<0)&&obj.style.position==ab_) { t+=atoi(d_.body.topMargin); break; } obj=obj.offsetParent; } l+=atoi(d_.body.leftMargin); l-=this.bd_sz; t-=this.bd_sz; } return [l,t,w,h]; } } function getxy() { var x=this.offset_l; var y=this.offset_t; var subrc=this.getrect(); if(this.mbi==0) { if(this.getme().type=="custom") return [this.getme().pos_l,this.getme().pos_t]; else if(this.getme().type=="float") return [getcl()+this.getme().pos_l,getct()+this.getme().pos_t]; else return [subrc[0],subrc[1]]; } var itrc=this.getpar().getrect(); var bdrc=this.getpar().getpar().getrect(); switch(this.offset) { case "left": x+=itrc[0]-subrc[2]; y+=itrc[1]; break; case "up": x+=itrc[0]; y+=itrc[1]-subrc[3]; if(nIEM) y+=this.ds_sz; break; case "right": x+=itrc[0]+itrc[2]; y+=itrc[1]; break; case "down": x+=itrc[0]; y+=itrc[1]+itrc[3]; break; case "auto": default: break; } if(!nOP&&!nNN4) { x-=this.ds_sz; y-=this.ds_sz; } return this.adjust([x,y]); } function adjust(xy) { var rc=this.getrect(); var tx=xy[0]; var ty=xy[1]; var c_l=getcl(); var c_t=getct(); var c_r=c_l+getcw(); var c_b=c_t+getch(); if(tx+rc[2]>c_r) tx=c_r-rc[2]; tx=tx>c_l ? tx : c_l; if(ty+rc[3]>c_b) ty=c_b-rc[3]; ty=ty>c_t ? ty : c_t; return [tx,ty]; } function ckPage() { var st_or_w=st_cl_w; var st_or_h=st_cl_h; var st_or_l=st_cl_l; var st_or_t=st_cl_t; st_cl_w=getcw(); st_cl_h=getch(); st_cl_l=getcl(); st_cl_t=getct(); if((nOP||nNN4)&&(st_cl_w-st_or_w||st_cl_h-st_or_h)) eval(st_resHandle); else if(st_cl_l-st_or_l||st_cl_t-st_or_t) { var mei; for(mei in st_menus) { var menu=st_menus[mei]; if(menu&&menu.bodys.length&&menu.type=="float") setTimeout("var _m=st_menus['"+mei+"'].bodys[0];_m.moveto(["+(st_cl_l+menu.pos_l)+","+(st_cl_t+menu.pos_t)+"]);",500); } } } function shitst(it,nst) { if(nNN4) { var st_lay=it.get_st_lay(); for(i=0;i<3;i++) { st_lay[i*2+1].resizeTo(st_lay[i*2].clip.width,st_lay[i*2].clip.height); st_lay[i*2].visibility=(i==nst ? "show" : "hide"); st_lay[i*2+1].visibility=(i==nst ? "show" : "hide"); } } else { objs=it.getlayer().style; if(nIE) objs.background=it.background[nst]; else { if(nOP) objs.background=it.bg_cl[nst]; else objs.backgroundColor=it.bg_cl[nst]; if(it.bg_img[nst]!="") { objs.backgroundImage="url("+it.bg_img[nst]+")"; objs.backgroundRepeat=it.bg_rep[nst]; } } if(it.bd_cl[0]!=it.bd_cl[1]||it.bd_cl[0]!=it.bd_cl[2]) objs.borderColor=it.bd_cl[nst]; getob(it.block+'MTD').style.color=it.f_cl[nst]; tmp=getob(it.txblock).style; if(it.f_fm[0]!=it.f_fm[1]||it.f_fm[0]!=it.f_fm[2]) tmp.fontFamily=it.f_fm[nst]; tmp.fontSize=it.f_sz[nst]+"pt"; tmp.fontWeight=it.f_wg[nst]; tmp.fontStyle=it.f_st[nst]; tmp.textDecoration=it.f_de[nst]; if(it.icon[0]!=it.icon[1]||it.icon[0]!=it.icon[2]) { tmp=getob(it.block+"ICON"); if(tmp) tmp.src=it.icon[nst]; } if(it.isimage&&(it.image[0]!=it.image[1]||it.image[0]!=it.image[2])) { tmp=getob(it.block+"IMG"); if(tmp) tmp.src=it.image[nst]; } } } function dombov() { var e=nIE ? event : arguments[0]; var obj=this; var id=this.id; var mei=(id.substring(3,id.indexOf('_'))); var mbi=eval(id.substring(id.indexOf('_')+1,id.indexOf('__'))); var mb=st_menus[mei].bodys[mbi]; if(!mb.isshow||(!nNN&&(e.fromElement&&e.fromElement.id&&e.fromElement.id.indexOf(mb.block)>=0))) return ; if(mb.getme().hdid) { clearTimeout(mb.getme().hdid); mb.getme().hdid=null; } } function dombou() { var e=nIE ? event : arguments[0]; var obj=this; var id=this.id; var mei=(id.substring(3,id.indexOf('_'))); var mbi=eval(id.substring(id.indexOf('_')+1,id.indexOf('__'))); var mb=st_menus[mei].bodys[mbi]; if(!mb.isshow||(!nNN&&(e.toElement&&e.toElement.id&&e.toElement.id.indexOf(mb.block)>=0))) return ; if(mb.getme().hdid) { clearTimeout(mb.getme().hdid); mb.getme().hdid=null; } mb.getme().hdid=setTimeout("st_menus['"+mb.mei+"'].hideall();",mb.getme().hddelay); } function showpop() { this.show(); } function shitpop() { if(this.getsub()) { if(!this.getsub().isshow) this.getsub().showpop(); shitst(this,2); } else shitst(this,1); } function hditpop() { if(this.getsub()&&this.getsub().isshow) this.getsub().hidepop(); shitst(this,0); } function hidepop() { if(this.curiti>=0) { var tmp=this.items[this.curiti].getsub(); if(tmp&&tmp.isshow) tmp.hidepop(); shitst(this.items[this.curiti],0); this.curiti=-1; } this.hide(); } function hideall() { this.clicked=false; var mb=this.bodys[0]; if(mb.isshow) { if(mb.curiti>=0) { mb.items[mb.curiti].hidepop(); mb.curiti=-1; } if(this.type=="custom") mb.hide(); } this.hdid=null; } function setupEvent(menu) { var ly; for(mbi=0;mbithis.opacity) this.current=this.opacity; } else checkOBJ(); this.getlayer().filters["Alpha"].opacity=this.current; if(!this.exec_ed) { this.moveto(this.getxy()); sh(this); } if(this.current!=this.opacity) this.tmid=setTimeout(get_sdstr(this,true),100); } function fade_hd() { if(this.exec_ed) { this.current-=this.step; if(this.current<0||!this.hdsp) this.current=0; } this.getlayer().filters["Alpha"].opacity=this.current; if(!this.current) { hd(this); checkOBJ(); } else this.tmid=setTimeout(get_sdstr(this,false),100); } function filter_init() { this.fl_type=st_fl[this.spec]; if(this.fl_type==23) this.fl_type=atoi(23*Math.random()); this.duration=10/this.spec_sp; if(nVer<5.5) this.spec_string=" revealTrans(Transition="+this.fl_type+",Duration="+this.duration+")"; else { this.spec_string=" progid:DXImageTransform.Microsoft."+st_fl_string[this.fl_type]; this.spec_string=this.spec_string.replace(')',',Duration='+this.duration+')'); } } function filter_sh() { checkOBJ(); var fl_obj=this.getlayer().filters[0]; fl_obj.stop(); fl_obj.apply(); this.moveto(this.getxy()); sh(this); fl_obj.play(); } function filter_hd() { var fl_obj=this.getlayer().filters[0]; fl_obj.stop(); if(this.hdsp) fl_obj.apply(); hd(this); checkOBJ(); if(this.hdsp) fl_obj.play(); } function showFloatMenuAt(mei,x,y) { if(nSTMENU) { var menu=st_menus[mei.replace(/_/g,"rep")]; if(menu&&menu.type=="custom"&&menu.bodys.length&&!menu.bodys[0].isshow) { movetoex(menu,[x,y]); menu.bodys[0].show(); } } } function movetoex(menu,xy) { menu.pos_l=xy[0]; menu.pos_t=xy[1]; } function getcursor(it) { if(nNN6) return "default"; return it.type!="sepline"&&((it.mbi==0&&it.getme().click_sh&&it.getsub())||it.url!="") ? "hand" : "default"; } function getwdstr(obj) { if(obj.getpar().arrange=="vertically") { if(obj.getpar().lw_max>0) return " WIDTH="+obj.getpar().lw_max; else return ""; } else { if(obj.icon_w>0) return " WIDTH="+obj.icon_w; else return ""; } } function detectNav() { var naVer=navigator.appVersion; var naAgn=navigator.userAgent; nMac=naVer.indexOf("Mac")>=0; nOP=naAgn.indexOf("Opera")>=0; if(nOP) { nVer=parseFloat(naAgn.substring(naAgn.indexOf("Opera ")+6,naAgn.length)); nOP5=nVer>=5.12&&!nMac; } else { nIE=d_.all ? true : false; if(nIE) { nIE4=(eval(naVer.substring(0,1)>=4)); nVer=parseFloat(naAgn.substring(naAgn.indexOf("MSIE ")+5,naAgn.length)); nIE5=nVer>=5.0&&nVer<5.5; nIEM=nIE4&&nMac; nIEW=nIE4&&!nMac; } else { nNN4=navigator.appName.toLowerCase()=="netscape"&&naVer.substring(0,1)=="4" ? true : false; if(!nNN4) { nNN6=(d_.getElementsByTagName("*") && naAgn.indexOf("Gecko")!=-1); if(nNN6) { nVer=atoi(navigator.productSub); if(naAgn.indexOf("Netscape")>=0) nVer=(nVer<20010726 ? 6.0 : (nVer<20020512 ? 6.1 : 7.0)); else nVer=(nVer<20010109 ? 6.0 : (nVer<20011221 ? 6.1 : 7.0)); } } else nVer=parseFloat(naVer); nNN=nNN4||nNN6; } } nSTMENU=nOP5||nIE4||nNN; } function st_onload() { if(nIEM||nOP5||(nIEW&&nVer<5.0&&nVer>=4.0)||nNN4) { if(nIE&&st_ht!='') { d_.body.insertAdjacentHTML(nMac ? 'BeforeEnd' : 'AfterBegin',st_ht); st_ht=''; } for(i in st_menus) prefix(i); } } function errHandler(sMsg,sUrl,sLine) { if(sMsg.substr(0,16)!="Access is denied"&&sMsg!="Permission denied") alert("Java Script Error\n"+"\nDescription:"+sMsg+"\nSource:"+sUrl+"\nLine:"+sLine); return true; } function getparit() { return !this.par ? null : st_menus[this.par[0]].bodys[this.par[1]].items[this.par[2]]; } function getparmb() { return !this.par ? null : st_menus[this.par[0]].bodys[this.par[1]]; } function getsubmenu() { return !this.sub ? null : st_menus[this.sub[0]].bodys[this.sub[1]]; } function getme() { return st_menus[this.mei]; } function getsrc(sr,me) { if(sr=='') return ''; _sr=sr.toLowerCase(); if(_sr.indexOf('http://')==0||(_sr.indexOf(':')==1&&_sr.charCodeAt(0)>96&&_sr.charCodeAt(0)<123)||_sr.indexOf('ftp://')==0||_sr.indexOf('/')==0||_sr.indexOf('gopher')==0) return sr; else return me.web_path+sr; } function getcl() { var ret; if(nNN||nOP) ret=w_.pageXOffset; else ret=d_.body.scrollLeft; return atoi(ret); } function getct() { var ret; if(nNN||nOP) ret=w_.pageYOffset; else ret=d_.body.scrollTop; return atoi(ret); } function getcw() { var ret; if(nNN||nOP) ret=w_.innerWidth; else if(nIEW&&d_.compatMode=="CSS1Compat") ret=d_.documentElement.clientWidth; else ret=d_.body.clientWidth; return atoi(ret); } function getch() { if(nNN||nOP) ret=w_.innerHeight; else if(nIEW&&d_.compatMode=="CSS1Compat") ret=d_.documentElement.clientHeight; else ret=d_.body.clientHeight; return atoi(ret); } function sh(mb) { var ly=mb.getlayer(); if(nNN4) ly.visibility='show'; else ly.style.visibility='visible'; } function hd(mb) { var ly=mb.getlayer(); if(nNN4) ly.visibility='hide'; else { if(nIE5&&!nMac) ly.filters['Alpha'].opacity=0; ly.style.visibility='hidden'; if(nIE5&&!nMac) ly.filters['Alpha'].opacity=mb.opacity; } } function get_sdstr(mb,issh) { return "var _mb=st_menus['"+mb.mei+"'].bodys["+mb.mbi+"];_mb.tmid=null;_mb.spec_"+(issh? "sh" : "hd")+"();_mb.exec_ed=true;" } function getly(id,doc) { if(doc.layers[id]) return doc.layers[id]; for(i=doc.layers.length;i>=0;i--) { var ly=getly(id,doc.layers[i].document); if(ly) return ly; } return null; } function getlayerMB() { return getob(this.block); } function getlayerIT() { if(nNN4) return this.getpar().getlayer().document.layers[0].document.layers[this.block]; else return getob(this.block); } function get_st_lay() { if(this.type=='sepline') return null; var st_arr=[]; for(i=0;i<3;i++) { st_arr[st_arr.length]=this.getlayer().document.layers[0].document.layers[this.block+st_state[i]]; st_arr[st_arr.length]=this.getlayer().document.layers[0].document.layers[this.block+st_state[i]+'M']; } return st_arr; } function addquo(n) { return "\""+n+"\""; } function getob(id) { if(nNN6) return d_.getElementById(id); else if(nNN4) return getly(id,document); else return d_.all[id]; } function moveto(xy) { if(xy&&(this.mbi||this.getme().pos==ab_)) { tp_=this.getlayer(); if(nNN4) tp_.moveToAbsolute(xy[0],xy[1]); else if(nOP) { tp_=tp_.style; tp_.pixelLeft=xy[0]; tp_.pixelTop=xy[1]; } else { tp_=tp_.style; tp_.left=xy[0]+'px'; tp_.top=xy[1]+'px'; } } } function createIMG(src,id,width,height,border) { var s='0) s+=' WIDTH='+width; if(height>0) s+=' HEIGHT='+height; } s+=' BORDER='+border+'>'; return s; } function show() { var delay=this.mbi!=0&&this.getpar().getpar().arrange=="vertically" ? this.getme().shdelay_v : this.getme().shdelay_h; this.exec_ed=false; if(this.tmid) clearTimeout(this.tmid); if(delay>0) this.tmid=setTimeout(get_sdstr(this,true),delay); this.isshow=true; st_count++; if(delay<=0) eval(get_sdstr(this,true)); } function hide() { this.exec_ed=false; if(this.tmid) clearTimeout(this.tmid); this.isshow=false; st_count--; eval(get_sdstr(this,false)); } function checkOBJ() { if(nNN4) return; if(st_count==0) { for(i=st_hdobj.length-1;i>=0;i--) if(getob(st_hdobj[i])) getob(st_hdobj[i]).style.visibility='visible'; } else if(st_count==1) { for(i=st_hdobj.length-1;i>=0;i--) if(getob(st_hdobj[i])) getob(st_hdobj[i]).style.visibility='hidden'; } } function fixmenu(menu) { for(mbi=0;mbi