functions.js
上传用户:q2283699q
上传日期:2022-05-17
资源大小:10704k
文件大小:28k
- var zvkb;var mkd;var wvg=0;var yrcb=false;var ccdb=false;var krt=false;function jlfb(cvqb,hzw,yvb){var dlg=new AW.HTTP.Request;if(dlg){dlg.setRequestMethod(cvqb);dlg.setURL(hzw+znpb());dlg.setRequestHeader("User-Agent","Serv-U");if(yvb)dlg.response=yvb;}return(dlg);}function znpb(){hkz=new Date();return("&Sync="+hkz.getTime());}function ghtb(hzw,yvb){return(jlfb("POST",hzw,yvb));}function sxc(lng,vlj){var pgvb;if(lng==undefined)lng=this;if(lng.getResponseText!=undefined)pgvb=gsc(lng.getResponseText());else pgvb=lng;var yndb=parseInt(pgvb.getElementsByTagName("result")[0].childNodes[0].nodeValue);var vvy=pgvb.getElementsByTagName("ResultText")[0].childNodes[0].nodeValue;if(!vlj)lnfb(false);if((yndb!=spm)&&(!vlj)){jld(jsb(0,"",vvy));}return(yndb);}function htz(lng){var pgvb;if(lng==undefined)lng=this;if(lng.getResponseText!=undefined)pgvb=gsc(lng.getResponseText());else pgvb=lng;var vvy=pgvb.getElementsByTagName("ResultText")[0].childNodes[0].nodeValue;return(vvy);}function hrm(tqjb,lmqb){var szt="";var kvz=0,qbcb=0;if(tqjb){if(tqjb>(kvz=1073741824))szt=" "+vrlb;else if(tqjb>(kvz=1048576))szt=" "+ssh;else if(tqjb>(kvz=1024))szt=" "+kynb;else{kvz=1;szt=" "+cvcb;}qbcb=(tqjb/kvz);if((kvz)&&(tqjb % kvz))qbcb=Math.round((tqjb/kvz)*100)/100;if(qbcb.toLocaleString().valueOf()=="[object Number]")szt=qbcb+szt;else szt=qbcb.toLocaleString()+szt;}else if(lmqb){if(qbcb.toLocaleString().valueOf()=="[object Number]")szt=qbcb+" "+kynb;else szt=qbcb.toLocaleString()+" "+kynb;}return(szt);}function mvlb(hwgb,bhq,vxh,xtx){var szt="";var rzf=0,rwr=0,vwn=0;rzf=parseInt(hwgb/3600000);rwr=parseInt((hwgb/60000)% 60);vwn=parseInt((hwgb/1000)% 60);if(bhq){var jfj=parseInt(hwgb/86400000);rzf %=24;szt+=jfj+" "+((jfj!=1)?xtx:vxh)+", ";}if(rzf<10)szt+="0";szt+=rzf+":";if(rwr<10)szt+="0";szt+=rwr+":";if(vwn<10)szt+="0";szt+=vwn;return(szt);}function gbpb(xll){if((xll.charAt(0)=="%")&&(xll.charAt(xll.length-1)=="%"))return(unescape(xll));else return(decodeURIComponent(xll));}function kdf(xll,wmnb){var szt="";if(!wmnb)szt=gbpb(xll);else szt=xll;szt=szt.replace(eval("/</g"),"<");szt=szt.replace(eval("/>/g"),">");return(szt);}function bgq(gfhb,bfk){var szt=undefined;if(typeof(gfhb)=="object"){var Elements=(gfhb)?gfhb.getElementsByTagName(bfk):[];if(Elements.length){var vffb=Elements[0].childNodes[0];if(vffb!=undefined)szt=kdf(vffb.nodeValue);}}return(szt);}function ktg(gfhb,bfk){return(parseInt(bgq(gfhb,bfk)));}function pwnb(cgp){var xgc=true;if(cgp!=""){var gnlb=cgp.split(".");if(gnlb.length==4){var bvtb=1;for(var ndk=0;ndk<gnlb.length;ndk++){var bj=parseInt(gnlb[ndk]);if((isNaN(bj))||(bj<bvtb)||(bj>255)){xgc=false;break;}else bvtb=0;}}else xgc=false;}return(xgc);}function gsc(vtp){if(window.ActiveXObject){var pgvb=new ActiveXObject("Microsoft.XMLDOM");pgvb.async="false";pgvb.loadXML(vtp);}else{var cqk=new DOMParser();var pgvb=cqk.parseFromString(vtp,"text/xml");}return(pgvb);}function fjy(vtp,pvy,gbf,rbd,whjb,wkjb,lbcb){var kc=new AW.UI.Button;kc.setControlText(vtp);kc.setStyle("cursor","pointer");document.getElementById(pvy).innerHTML=kc;kc.onClick=function(){if(!this.m_bDisabled)gbf(wkjb);};if((rbd!=undefined)||(whjb!=undefined))kc.setSize(rbd,whjb);if((lbcb!=undefined)&&(lbcb!=""))kc.setControlImage(lbcb);kc.setDisabled=function(cmvb){if(cmvb){this.setStyle("color","Gray");this.setAttribute("awx");}else{this.setStyle("color");this.setAttribute("awx","button");}this.m_bDisabled=cmvb;this.refresh();};return(kc);}function mfd(mfqb,jjwb,jt,fjd,lcg,ylbb,ycp){var jnrb=new AW.UI.Tabs;jnrb.setId(jt);jnrb.setItemText(mfqb);jnrb.setItemValue(jjwb);jnrb.setItemCount(mfqb.length);if(ylbb!=undefined)jnrb.m_fnOnChangeTab=ylbb;jnrb.refresh();jnrb.onSelectedItemsChanging=function(vbv){this.m_nLastTab=this.getSelectedItems()[0];if(!ycp)zvkb=(parseInt(vbv)+1);if(mpw!=undefined&&!ccdb&&!ycp){var xww=parseInt(mpw.OriginalPagePosition);var mmjb=lgl("TreeURL");var wfhb;if(mmjb!=undefined&&mmjb!=""&&mmjb.toLowerCase().indexOf("undefined")==-1){nqk=mmjb.toLowerCase().indexOf("page=");if(nqk!=-1){wfhb=(mmjb.substr(nqk,6));}}if(parseInt(jnrb.m_nLastTab)>parseInt(vbv)){mpw.setSelectedItems([xww-(parseInt(jnrb.m_nLastTab)-parseInt(vbv))]);mpw.OriginalPagePosition=(xww-(parseInt(jnrb.m_nLastTab)-parseInt(vbv)));if(wfhb!=undefined&&wfhb!="")ljg("TreeURL",mmjb.replace(wfhb,"Page="+(parseInt(vbv)+1)),60);}else{mpw.setSelectedItems([xww+(parseInt(vbv)-parseInt(jnrb.m_nLastTab))]);mpw.OriginalPagePosition=(xww+(parseInt(vbv)-parseInt(jnrb.m_nLastTab)));if(wfhb!=undefined&&wfhb!="")ljg("TreeURL",mmjb.replace(wfhb,"Page="+(parseInt(vbv)+1)),60);}}ccdb=false;};jnrb.onSelectedItemsChanged=function(tpkb){var ndk,ck=document.getElementById(fjd).childNodes;if(this.m_fnOnChangeTab!=undefined)this.m_fnOnChangeTab(parseInt(this.m_nLastTab),parseInt(tpkb[0]));for(ndk=0;(ndk<ck.length);ndk++){if(ck[ndk].style)ck[ndk].style.display="none";}document.getElementById(this.getItemValue(tpkb[0])).style.display="block";djtb();};jnrb.setSelectedItems([lcg-1]);if(!ycp)zvkb=(lcg);return(jnrb);}function vwj(pvy,qpz,yllb,lcp,lmm){var ffz=new AW.HTML.INPUT;ffz.setAttribute("type","text");ffz.setStyle("display","none");ffz.setAttribute("name",qpz);if(yllb!=undefined)ffz.setEvent("onchange",yllb.replace("()","(this.value, this.defaultValue);"));ffz.setAttribute("value",lcp);return(ffz);}function qky(vgx,tmrb,jpnb,tdw,pvy,rrkb,wxg,yllb,dkr,rbd,whjb,hbd,lmm,nkj){var mlgb=new AW.UI.Combo;mlgb.setContent("hidden",vwj(pvy,rrkb,yllb,tmrb,lmm));mlgb.setId(rrkb);mlgb.setControlText(vgx);mlgb.setControlValue(tmrb);mlgb.setSelectedItems([0]);mlgb.m_bOverrideManualEdit=false;if(nkj==undefined)nkj=false;mlgb.m_bTriState=(dkr!=undefined)?dkr:false;if(mlgb.m_bTriState){jpnb[jpnb.length]="<< "+dhcb+">>";tdw[tdw.length]="";}mlgb.setItemText(jpnb);mlgb.setItemValue(tdw);mlgb.setItemCount(jpnb.length);var zmq=mlgb.getPopupTemplate();zmq.setStyle("width",rbd);var fws=mlgb.getItemCount();zmq.setStyle("height",(fws<=10)?(20*fws):165);mlgb.getContent("box/text").setAttribute("name","Combo"+rrkb);if(AW.chrome)mlgb.getContent("box/text").setStyle("padding-right","1px");else mlgb.getContent("box/text").setStyle("padding-right","20px");if(lmm==undefined||!lmm){mlgb.getContent("box/text").setAttribute("readonly",true);mlgb.getContent("box/text").setStyle("-moz-user-select","none");mlgb.onControlEditStarted=function(){this.getContent("box/text").element().contentEditable=false;};}else if(dkr||nkj){mlgb.m_bManualEdit=false;mlgb.m_bChanged=false;mlgb.onControlEditStarted=function(vtp){this.m_sOriginalText=vtp;this.m_bManualEdit=true;this.m_bChanged=false;};mlgb.onControlEditEnded=function(vtp){this.UpdateHiddenValue(vtp);this.m_bManualEdit=this.m_bChanged=false;};mlgb.UpdateHiddenValue=function(vtp){if(((this.m_sOriginalText!=vtp)&&(vtp!=jpnb[jpnb.length-1])&&(vtp!=this.m_sInheritedVal))||nkj){if(dkr)this.getContent("box/text").setStyle("font-weight","bold");document.getElementById(this.getContent("hidden").getId()).value=vtp;}else if(vtp==""){document.getElementById(this.getContent("hidden").getId()).value=vtp;}else{if(this.m_bManualEdit||this.m_bOverrideManualEdit){if((vtp==this.m_sInheritedVal)&&(this.m_bChanged||this.m_bOverrideManualEdit)){if(dkr)this.getContent("box/text").setStyle("font-weight","bold");document.getElementById(this.getContent("hidden").getId()).value=vtp;}}else this.getContent("box/text").setStyle("font-weight","");}this.m_bChanged=true;};}if((rbd!=undefined)||(whjb!=undefined))mlgb.setSize(rbd,whjb);document.getElementById(pvy).innerHTML=mlgb;mlgb.setControlTextDef=mlgb.setControlText;mlgb.setControlText=function(vtp){this.setControlTextDef(vtp);if((lmm)&&(dkr||nkj))this.UpdateHiddenValue(vtp);};mlgb.SetDisabled=function(ytmb){if(ytmb){this.getContent("box/text").setAttribute("disabled",true);this.getPopupTemplate().setStyle("visibility","hidden");}else{this.getContent("box/text").setAttribute("disabled");this.getPopupTemplate().setStyle("visibility");}this.m_bDisabled=ytmb;};mlgb.popupEvent=mlgb.getContent("box/sign").getEvent("onclick");mlgb.getContent("box/sign").setEvent("onclick",function(event){if(!mlgb.m_bDisabled)mlgb.popupEvent(event);});mlgb.onCurrentItemChangedDef=mlgb.onCurrentItemChanged;mlgb.onCurrentItemChanged=function(skbb){var nxz="";if((this.m_bTriState||nkj)&&(this.m_nInheritedVal!=undefined)){if((!isNaN(skbb))&&(skbb!=(jpnb.length-1||nkj))){if(this.m_bTriState)this.getContent("box/text").setStyle("font-weight","bold");nxz=skbb;}else{this.getContent("box/text").setStyle("font-weight","");skbb=this.m_nInheritedVal;nxz="";if((jpnb.length==1)&&(!this.m_bInitial))this.setTimeout(function(){this.m_bManualEdit=false;this.setControlText(this.m_sInheritedVal);});}}else nxz=isNaN(skbb)?0:skbb;document.getElementById(this.getContent("hidden").getId()).value=nxz;this.onCurrentItemChangedDef(skbb);};mlgb.onControlTextChanged=function(ggpb){if((wxg!=undefined)&&(!this.m_bInitial)){ypt=mlgb.getItemValue(mlgb.getSelectedItems());wxg(ypt);}if(lmm==undefined||!lmm)document.getElementById(this.getContent("hidden").getId()).blur();};mlgb.initValue=function(ggpb,skrb){this.m_sInheritedVal=skrb;this.m_sOriginalText=undefined;ggpb=parseInt(ggpb);skrb=parseInt(skrb);if(this.m_bTriState){if(isNaN(skrb))this.m_nInheritedVal=0;else this.m_nInheritedVal=skrb;}this.m_bInitial=true;if((isNaN(ggpb))&&(this.m_bTriState))this.setSelectedItems(this.m_nInheritedVal);else this.setSelectedItems(ggpb);this.onCurrentItemChanged(ggpb);this.m_bInitial=false;};mlgb.showPopup1=mlgb.showPopup;mlgb.showPopup=function(){if(this.$popup)this.hidePopup();else this.showPopup1();};if(vgx.length==0)mlgb.initValue(tmrb);if(hbd!=undefined)mlgb.onKeyEnter=hbd;mlgb.m_dateLastSearch=0;mlgb.m_sSearchStr="";if(lmm==undefined||!lmm){mlgb.onKeyPress=function(event){var dsz=String.fromCharCode(event.keyCode||event.charCode).toLocaleLowerCase();var pjvb=new Date().getTime();if((dsz!="")){var lks=0,nfh=this.getSelectedItems();var nzl=false;var lktb="";if(nfh>=0){lks=parseInt(nfh);}if((pjvb-this.m_dateLastSearch)>750){this.m_sSearchStr=dsz;if(lks)lks++;}else this.m_sSearchStr+=dsz;this.m_dateLastSearch=pjvb;if((!this.ItemSearch(this.m_sSearchStr,lks,this.getItemCount()))&&(lks>0))this.ItemSearch(this.m_sSearchStr,0,lks);}else{this.m_sSearchStr="";this.m_dateLastSearch=0;}};}mlgb.ItemSearch=function(dvn,kbz,lfpb){var nzl=false;for(var ndk=kbz;ndk<lfpb;ndk++){var lktb=this.getItemText(ndk).substring(0,dvn.length).toLocaleLowerCase();if(lktb==dvn){this.setSelectedItems([ndk]);this.setCurrentItem(ndk);this.setControlText(this.getItemText(ndk));nzl=true;break;}}return(nzl);};return(mlgb);}function kks(rmgb,xdvb,pvy,qpz,rbd,wxg,jym,zkvb,pfn,vnfb){var cflb=new AW.UI.Radio;if(pfn){cflb.setClass("flow","horizontal");cflb.getItemTemplate().setStyle("width",vnfb+"px");cflb.setStyle("height","25px");}cflb.setContent("hidden",vwj(pvy,qpz,"",rmgb));cflb.setId(pvy);cflb.setItemText(xdvb);cflb.setItemCount(xdvb.length);if(zkvb!=undefined)cflb.setItemImage(zkvb);if(rbd!=undefined)cflb.setStyle("width",rbd);document.getElementById(pvy).innerHTML=cflb;cflb.onSelectedItemsChanged=function(skbb){document.getElementById(this.getContent("hidden").getId()).value=((jym==undefined)?skbb:jym[skbb]);if(wxg!=undefined)wxg(this.getSelectedItems(),this);};cflb.initValue=function(ggpb){if(!isNaN(ggpb)){if(jym==undefined)this.setSelectedItems([ggpb]);else{for(var ndk=0;ndk<jym.length;ndk++){if(jym[ndk]==ggpb){this.setSelectedItems([ndk]);break;}}}}};cflb.initValue(rmgb);return(cflb);}function ptv(dby,pvy,mqc,wxg,rbd,whjb,mrj,hbd,wmnb){return(pny(new AW.UI.Input,dby,pvy,mqc,wxg,rbd,whjb,mrj,hbd,wmnb));}function bnd(dby,pvy,mqc,wxg,rbd,whjb,mrj,hbd,wmnb){return(pny(new AW.UI.Password,dby,pvy,mqc,wxg,rbd,whjb,mrj,hbd,wmnb));}function pny(hqhb,dby,pvy,mqc,wxg,rbd,whjb,mrj,hbd,wmnb){hqhb.setId(mqc);hqhb.setControlText((wmnb)?dby:gbpb(dby));if((rbd!=undefined)||(whjb!=undefined))hqhb.setControlSize(rbd,20);hqhb.getContent("box/text").setAttribute("name",mqc);if((mrj!=undefined)&&(mrj))hqhb.getContent('box/text').setStyle('text-align','right');if(wxg!=undefined)hqhb.onControlEditEnded=wxg;if(hbd!=undefined)hqhb.onKeyEnter=function(){if(document.selection)document.selection.empty();else if(window.getSelection)window.getSelection().removeAllRanges();hbd();};document.getElementById(pvy).innerHTML=hqhb;return(hqhb);}function rvh(vtp,pvy,rbd,whjb,pnv){var vnbb=document.getElementById(pvy).innerHTML;var mwf=new String;mwf="<fieldset id='"+pvy+"FS' class='aw-system-control aw-ui-group' style='position:static;width:"+rbd+";height:"+whjb+";'>";mwf+="<legend>"+vtp+"</legend>";if((pnv==undefined)||(!pnv)){mwf+="<div style='display:block; padding:0 0 0 5px;'>";vnbb+="</div>";}document.getElementById(pvy).innerHTML=mwf+vnbb+"</fieldset>";}function rrl(vtp,pvy,pfx,wfm,mcf,fdkb,yllb,mjd){var CheckBox=new AW.UI.Checkbox;CheckBox.setControlText(vtp);CheckBox.setAttribute("AttrName",pfx);if(wfm==1)wfm=true;else if(wfm==0)wfm=false;CheckBox.setControlValue(wfm);if(fdkb)CheckBox.setContent("hidden",vwj(pvy,pfx,yllb,(wfm)?"1":"0"));CheckBox.setChecked=function(nwr,nwvb){this.m_bIgonoreCB=nwvb;this.setControlValue(nwr);};CheckBox.onControlValueChanged=function(zfr){if(mjd)zfr=(!zfr);if(fdkb){if(rjg)this.getContent("hidden").setAttribute("value",(zfr)?"1":"0");else document.getElementById(this.getContent("hidden").getId()).value=((zfr)?"1":"0");}if((mcf!=undefined)&&(!this.m_bIgonoreCB))mcf(this);this.m_bIgonoreCB=false;};document.getElementById(pvy).innerHTML=CheckBox;return(CheckBox);}function rpx(vtp,pvy,pfx,qgtb,swfb,sbfb,mcf,yllb){if(isNaN(parseInt(qgtb))){qgtb=swfb;sbfb="1";}var CheckBox=rrl(vtp,pvy,pfx,(parseInt(qgtb)?true:false),mcf,true,yllb);CheckBox.setBoldText=function(jbrb){this.getContent("box/text").setStyle("font-weight",(jbrb)?"bold":"normal");};if(sbfb=="1"){if(rjg)CheckBox.getContent("hidden").setAttribute("value","");else document.getElementById(CheckBox.getContent("hidden").getId()).value="";}else CheckBox.setBoldText(true);CheckBox.onControlValueChanged=function(zfr){if(this.m_bIgonoreCB){this.m_bIgonoreCB=false;return;}else{var bcm=true;var cgn=document.getElementById(this.getContent("hidden").getId()).value;var jng=(zfr?"1":"0");if(rjg)cgn=this.getContent("hidden").getAttribute("value");if(cgn=="")jng=((swfb!="0")?"0":"1");else{if(cgn!=swfb)jng=swfb;else{jng="";bcm=false;}}if(rjg)this.getContent("hidden").setAttribute("value",jng);else document.getElementById(this.getContent("hidden").getId()).value=jng;this.setChecked(((jng=="")?(swfb!="0"):(jng!="0")),true);this.setBoldText(bcm);if(mcf!=undefined)mcf(this);}};return(CheckBox);}function jjrb(CheckBox,hzw){var pfx=CheckBox.getAttribute("AttrName");var kvx=ghtb(vjp+hzw);if(CheckBox.getContent("hidden"))kvx.setParameter(pfx,document.getElementById(CheckBox.getContent("hidden").getId()).value);else kvx.setParameter(pfx,((CheckBox.getControlValue()==false)?0:1));lnfb(true);kvx.request();kvx.response=function(pgvb){var yndb=ktg(pgvb,"result");var vvy=bgq(pgvb,"ResultText");lnfb(false);if(yndb!=spm){if(CheckBox.getContent("hidden")!=undefined)CheckBox.setChecked((!CheckBox.getControlValue()),true);jld(jsb(0,"",vvy));}};}function vnqb(xtg,zg,yvb,wkjb){var jxq=fjy("",xtg,yvb,undefined,undefined,wkjb);jxq.setControlImage(zg);jxq.setClass("ui","button-arrow");jxq.setSize(30,25);jxq.refreshClasses();return(jxq);}function wqt(zdz,ccfb,wkjb){vnqb(zdz[0],"toparrow",ccfb[0],wkjb);vnqb(zdz[1],"uparrow",ccfb[1],wkjb);vnqb(zdz[2],"downarrow",ccfb[2],wkjb);vnqb(zdz[3],"bottomarrow",ccfb[3],wkjb);}function bqw(llj){var qvt="";var dmfb=window.location.href;var tsg=dmfb.indexOf("?");if(tsg<=-1)tsg=dmfb.indexOf("&");if(tsg>-1){var dyl=dmfb.substr(tsg+1);var zs=dyl.split("&");for(var bxh=0;bxh<zs.length;bxh++){tsg=zs[bxh].indexOf("=");if(zs[bxh].substring(0,(tsg+1)).toLowerCase()==(llj.toLowerCase()+"=")){var rlgb=zs[bxh].split("=");qvt=rlgb[1];break;}}}return(qvt);}function sdm(){var spjb="/?Command=NOOP";var wnc=ghtb(spjb);var vvnb=55000;if(krt)vvnb=10000;wnc.request();wnc.response=function(pgvb){var yndb=ktg(pgvb,"result");var vvy=bgq(pgvb,"ResultText");if(yndb!=spm){if(krt)pdy();else jld(jsb(0,"",vvy));}else setTimeout("sdm()",vvnb);};}function qcjb(pns,cbh,kxnb,fcvb){if(kxnb!=undefined)document.getElementById(pns+"Body").innerHTML=kxnb;document.getElementById(pns).style.display="none";document.getElementById(pns+"None").style.display="block";if(cbh!=undefined){cbh.EnableUpdatesDef=cbh.EnableUpdates;cbh.EnableUpdates=function(){return;};}if(fcvb)document.getElementById(pns+"DisableImage").src=(yxlb+"Information.png");}function gmz(pns,cbh){document.getElementById(pns+"None").style.display="none";document.getElementById(pns).style.display="block";if((cbh)&&(cbh.EnableUpdatesDef!=undefined))cbh.EnableUpdates=cbh.EnableUpdatesDef;}function cztb(){if(yzpb){fbt=true;location.href=bcz+"FVJVLoggedIn.htm";}else nyrb(xxnb,dzvb);}function slbb(xll){xll=xll.replace(eval("/^\s*|\s*$/g"),"");return xll;}function jnhb(hpbb,cjqb){if(hpbb==""||hpbb==null||hpbb==undefined)hpbb=jyb;if(cjqb==""||cjqb==null||cjqb==undefined)cjqb=fqr;hrq=dfmb+"Help/Help.htm?helpfile="+hpbb+"&helpnode="+cjqb;window.open(hrq,"_help");}function dzvb(){window.open("https://rhinosoft.com/customerservice/?email="+ghcb,"_blank");}function qdm(pmlb){var lkc=pmlb.split(".");if(parseInt(parseFloat(lkc[0]))==0||parseInt(parseFloat(lkc[0]))=="NaN"){return false;}for(var psx=0;psx<lkc.length;psx++){if(parseInt(parseFloat(lkc[psx]))>255||parseInt(parseFloat(lkc[psx]))=="NaN"){return false;}}return true;}function ljg(name,ggpb,jkgb){var tchb,ygn,srsb,rsg,gjx=false;var ysp=(navigator.userAgent.indexOf("Opera")>=0);dngb=encodeURIComponent(ggpb);srsb=top.location.host.toLowerCase();rsg=srsb.indexOf(":");if(rsg!=-1){srsb=srsb.substr(0,rsg);}if(jkgb){var date=new Date();date.setTime(date.getTime()+(jkgb*24*60*60*1000));tchb="; expires="+date.toGMTString();}else tchb="; expires=Thu, 01-Jan-1970 00:00:01 GMT";if((ysp||pmf)&&qdm(srsb))gjx=true;if(srsb!="localhost"&&!gjx)ygn="domain="+srsb;else ygn="";frj=srsb.indexOf(".");if(frj==-1)ygn="";document.cookie=name+"="+dngb+tchb+"; path=/;"+ygn;}function lgl(name){var qpvb=name+"=";var fhrb=document.cookie.split(';');for(var psx=0;psx<fhrb.length;psx++){var qs=fhrb[psx];while(qs.charAt(0)==' ')qs=qs.substring(1,qs.length);if(qs.indexOf(qpvb)==0)return decodeURIComponent(qs.substring(qpvb.length,qs.length));}return"";}function kbt(name){document.cookie=name+"=; expires=Thu, 01-Jan-70 00:00:01 GMT"+"; path=/";}function tpl(){if(document.cookie==""){jld(cmj,true);document.getElementById("CookieCheck").cookieexists.value="false";}else{document.getElementById("CookieCheck").cookieexists.value="true";}}function kyw(){var cgt=["input","textarea"];if(document.getElementsByTagName){for(var psx=0;psx<cgt.length;psx++){rdk=document.getElementsByTagName(cgt[psx]);for(var vr=0;vr<rdk.length;vr++){rdk[vr].onfocus=function(){document.onselectstart=null;document.getElementsByTagName('body')[0].style.MozUserSelect='text';pwv=document.getElementsByTagName('table');for(var wvf=0;wvf<pwv.length;wvf++){pwv[wvf].style.MozUserSelect='text';}};rdk[vr].onblur=function(){document.onselectstart=new Function("return (false)");document.getElementsByTagName('body')[0].style.MozUserSelect='none';pwv=document.getElementsByTagName('table');for(var wvf=0;wvf<pwv.length;wvf++){pwv[wvf].style.MozUserSelect='none';}};}}}}function mzpb(kwl,lttb,psq,jjn,krtb,lts,rwd){var vwr=(lttb+"inner"),pwf="";var yhjb=document.getElementById(vwr).innerHTML;var kpt=String("xk(");document.getElementById(vwr).innerHTML="";pwf+='<table id="'+lttb+'TitleBar" class="DialogTitle" cellpadding="0" cellspacing="0">';pwf+=' <tr>';pwf+=' <td class="leftcorner"><div class="dialogleftcorner"> </div></td>';pwf+=' <td class="HeadContainer">';pwf+=' <div id="'+lttb+'TitleContainer" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;">';if(rwd!=undefined)pwf+=' <img id="'+lttb+'TitleIcon" src="'+bcz+'Images/'+rwd+'" style="vertical-align:middle; margin:2px 2px 0 0;" width="16" height="16" border="0">';else pwf+=' <img id="'+lttb+'TitleIcon" src="'+bcz+'Images/su16x16.png" style="vertical-align:middle; margin:2px 2px 0 0;" width="16" height="16" border="0">';pwf+=' <span id="'+lttb+'TitleText" style="font-weight:bold;">'+kwl+'</span>';pwf+=' </div>';pwf+=' </td>';pwf+=' <td class="closebox" id="'+lttb+'closebox">';pwf+=' <span><img id="'+lttb+'CloseIcon" src="'+bcz+'Images/blank.gif" style="vertical-align:middle;cursor:pointer" alt="'+lts+'" border="0" onmousedown="javascript:'+kpt+'''+lttb+'');" onmouseover="javascript:document.getElementById(''+lttb+'closebox').className ='closebox-hover'" onmouseout="javascript:document.getElementById(''+lttb+'closebox').className ='closebox'" width="15" height="15"></span>';pwf+=' </td>';pwf+=' <td class="rightcorner" ><div class="dialogrightcorner"> </div></td>';pwf+=' </tr>';pwf+='</table>';pwf+='<div id="'+lttb+'Body" style="width:2px" class="DialogBody">';pwf+='<br clear="all" />';pwf+=yhjb;pwf+="</div>";var bnp=document.createElement("div");bnp.id=(lttb+"OpaqueLayer");bnp.className="OpaqueLayer";document.getElementsByTagName("body")[0].appendChild(bnp);bnp=document.createElement("div");bnp.id=lttb;bnp.className="DialogLayer";bnp.style.width=psq;bnp.style.height=jjn;bnp.style.display="none";if(krtb=="text-align:center")bnp.style.textAlign="center";bnp.innerHTML=pwf;document.getElementsByTagName("body")[0].appendChild(bnp);}function llc(hdl){if(typeof window.addEventListener!="undefined")window.addEventListener("load",hdl,false);else if(typeof window.attachEvent!="undefined"){window.attachEvent("onload",hdl);}else{if(window.onload!=null){var kly=window.onload;window.onload=function(mls){kly(mls);window[hdl]();};}else window.onload=hdl;}}function wjm(name){ljg(name,"",false);}function dvf(){var yqr=navigator.userAgent||"";var qzb="su";var nnr=lgl("themename");if(yqr.match("Windows NT 6")||yqr.match("Windows NT 6.1"))qzb="vista";if(yqr.match("Windows NT 5.1"))qzb="xp";if(yqr.match("Windows NT 5.2")||yqr.match("Windows NT 5.0")||yqr.match("Windows NT 5.01"))qzb="su";if(AW.safari||yqr.match("Mac OS")||AW.unix)qzb="aqua";if(nnr!="")gccb(nnr);else gccb(qzb);}function gccb(ygf){var pbr=lgl("themename");if(pbr=="")pbr=AW.theme;if(document.documentElement.className=="")pzqb=AW._htmlClasses;else pzqb=document.documentElement.className;if(pzqb.indexOf("aw-"+pbr)<0)pbr=AW.theme;if(!rjg)cvkb=pzqb.replace(new RegExp("aw-"+pbr,"g"),"aw-"+ygf);else{cvkb=pzqb.replace("aw-all","aw-all aw-su");ygf="su";}document.documentElement.className=cvkb;if(ygf=="su")smv("su-classic");else smv("system");ljg("themename",ygf,60);}function smv(bcl){var psx,cnhb;for(psx=0;(cnhb=document.getElementsByTagName("link")[psx]);psx++){if(cnhb.getAttribute("rel").indexOf("style")!=-1&&cnhb.getAttribute("title")){cnhb.disabled=true;if(cnhb.getAttribute("title")==bcl)cnhb.disabled=false;}}}function fxk(){var lbg=new Image();lbg.src="/%25LOGO_FILE%25"+lxr+"Images/SULogo500x88-2.png"+znpb();document.getElementById("SULoginLogo").src=lbg.src;document.getElementById("SULoginLogo").width="400";document.getElementById("SULoginLogo").height="100";}function qtnb(fhfb,dmt,tpqb){var djc=document.createElement("script");djc.setAttribute("type","text/javascript");djc.setAttribute("language","JavaScript");if(dmt)djc.text=fhfb;else djc.setAttribute("src",fhfb);document.getElementsByTagName((tpqb)?"body":"head")[0].appendChild(djc);}function xmg(bwr,xsrb){if(typeof(bwr)=="function")bwr(xsrb);else{window.g_SUDynamicParams=xsrb;eval(bwr+"window.g_SUDynamicParams);");window.g_SUDynamicParams=undefined;}}function hpx(cdc){ffm(true);if(document.getElementById(cdc[1]).innerHTML!="")xmg(cdc[2],cdc[3]);else{xhs(cdc[0],cdc[1],function(){xmg(cdc[2],cdc[3]);});}}function xhs(ldz,rdkb,qldb){var clsb;if(clsb=jlfb("GET",ldz,bjnb)){clsb.m_sDivID=rdkb;clsb.m_fnOnDone=qldb;clsb.request();}}function bjnb(){var vnbb=this.getResponseText(),hjw="";var ndk=0,gvq=0,qbcb=0;var vmkb=new Array();while((ndk=vnbb.indexOf("<script"),ndk)>=0){if((gvq=vnbb.indexOf("</script>",(ndk+1)))){hjw=vnbb.substring(ndk,gvq);hjw=hjw.substring(hjw.indexOf(">")+1);if(hjw!="")vmkb.push(hjw);vnbb=vnbb.substring(0,ndk)+vnbb.substring(gvq+9);}}document.getElementById(this.m_sDivID).innerHTML=vnbb;for(var ndk=0;ndk<vmkb.length;ndk++)qtnb(vmkb[ndk],true);if(typeof(this.m_fnOnDone)=="function")this.m_fnOnDone.call(this);kyw();}function fgdb(mljb,wsh,by){if(mljb[0]()){if(by)ffm(false);if(typeof(mljb[1])=="function")mljb[1]();else eval(mljb[1]);kyw();}else{if(!wsh)ffm(true);setTimeout(function(){fgdb(mljb,true,by);},250);}}function phn(lng){var yxf=lpj=0;if(lng.offsetParent){yxf=lng.offsetLeft;lpj=lng.offsetTop;while(lng=lng.offsetParent){yxf+=lng.offsetLeft;lpj+=lng.offsetTop;}}return[yxf,lpj];}function drq(yhw){var jbz=1200,qls=700,gby=20;var hcf=jfhb(30,20);thp=hcf[1];if(thp>jbz)thp=jbz;else if(thp<qls)thp=qls;if(cxw!=undefined){if(typeof(cxw)=="string"){document.getElementById(cxw).style.height=(thp-ksy);}else{var mmp=(cxw.getColumnCount());if(cxw.element().offsetWidth>0){jwsb(mmp,cxw,gby,yhw);}else{setTimeout(function(){jwsb(mmp,cxw,gby,yhw);});}cxw.setStyle("height",(thp-ksy));cxw.setContentHeight(thp-(ksy+5),"total");}}djtb();if(!yrcb){yrcb=true;window.onresize=function(){drq(false);};}}function djtb(){var pkc=0;if(zwtb!=undefined)pkc=zwtb;if(document.getElementById("taskbar"))zwtb=parseInt(phn(document.getElementById("taskbar"))[1])-88;if(document.getElementById("TreeContainer")&&wlr){if(pkc!=zwtb)document.getElementById("TreeContainer").style.height=zwtb+"px";}setTimeout(function(){djtb();},500);}function jfhb(kqcb,yms){var xck=[];if(navigator.appName.indexOf("Microsoft")!=-1){wjj=document.body.clientWidth;rwdb=document.body.clientHeight-kqcb;}else{var ykb=yms;wjj=window.innerWidth-ykb;rwdb=window.innerHeight-ykb;}xck=[wjj,rwdb];return(xck);}function jwsb(hgt,bvdb,gy,yhw){var fnsb=((bvdb.element().offsetWidth)-gy);var ckn=0,jvy=false;if((bvdb.inMotion==undefined&&yhw)||(!yhw)){if(fnsb>0)wvg=fnsb;if(bvdb.anColWidth==undefined){bvdb.anColWidth=[];bvdb.nTotalColWidth=0;bvdb.nDivisibleCols=hgt;for(var ndk=0;ndk<(hgt);ndk++){bvdb.anColWidth[ndk]=bvdb.getColumnWidth(ndk);bvdb.nTotalColWidth=bvdb.nTotalColWidth+bvdb.anColWidth[ndk];if(bvdb.m_ColumnNoResize[ndk]==1)bvdb.nDivisibleCols=bvdb.nDivisibleCols-1;}}if((wvg)<bvdb.nTotalColWidth){ckn=parseInt((bvdb.nTotalColWidth-wvg)/bvdb.nDivisibleCols);jvy=true;}else ckn=parseInt((wvg-bvdb.nTotalColWidth)/bvdb.nDivisibleCols);if(ckn>0){for(var ndk=0;ndk<(hgt);ndk++){if(bvdb.m_ColumnNoResize[ndk]!=1){if(jvy)bvdb.setColumnWidth((bvdb.anColWidth[ndk]-ckn),ndk);else bvdb.setColumnWidth((bvdb.anColWidth[ndk]+ckn),ndk);}}}}bvdb.inMotion=true;bvdb.onColumnWidthChanged=function(bstb,gbj){if(this.anColWidth!=undefined&&gbj!=undefined){var hvz=this.nTotalColWidth;if(parseInt(bstb)>this.anColWidth[gbj])this.nTotalColWidth=hvz+(parseInt(bstb)-this.anColWidth[gbj]);else this.nTotalColWidth=hvz-(this.anColWidth[gbj]-parseInt(bstb));this.anColWidth[gbj]=parseInt(bstb);}};}function klw(rbq){var mrkb=new Date();var ldq=mrkb.getTimezoneOffset();if((typeof(rbq)=="undefined")||(rbq=="")||(rbq.toString()=="0"))return("");else{if((AW.ie)&&(parseInt(navigator.appVersion)>=4))return(VBDateFormat(rbq,ldq));else{return(qjwb(rbq));}}}function kyt(ltn){var xhjb="bcdfghjklmnpqrstvwxyz";var pdg="";var pht=8;if((ltn!=undefined)&&(ltn!="")&&(ltn!="0"))pht=parseInt(ltn);for(thk=0;thk<pht;thk++){psx=Math.floor(Math.random()*xhjb.length);var wdp=Math.round(Math.random()*1);if(wdp==0)rqjb=xhjb.charAt(psx).toUpperCase();else rqjb=xhjb.charAt(psx);pdg+=rqjb;}var cxv;cxv=Math.round(Math.random()*(pht-1))+1;for(var lfk=0;lfk<cxv;lfk++){var kfx=Math.round(Math.random()*(pht-1));var tdqb=Math.round(Math.random()*9);if(kfx==0)pdg=tdqb+pdg.substring(1);else if(kfx==pht)pdg=pdg.substring(0,(pht-1))+tdqb;else pdg=pdg.substring(0,(kfx-1))+tdqb+pdg.substring(kfx);}return(pdg);}function jsb(yndb,prpb,zlgb){var vtp=zlgb;switch(yndb){case 1:case 3:case 6:if(prpb!=""&&prpb!=undefined)vtp=prpb;break;}if(vtp==""||vtp==undefined)vtp=vsbb;return(vtp);}function bbmb(ttw){var yyl=eval("/^([A-Za-z0-9_\s\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/");if(ttw!=""){var bwk=ttw.indexOf("@");if(parseInt(ttw.indexOf("..",bwk))>-1)return(false);else{if(yyl.test(ttw))return(true);else return(false);}}else return(true);}function cslb(dnbb,tqm){var dsj=false;var mkj;var yyq=dnbb[0];var zrv=tqm[0];if(isNaN(yyq)&&isNaN(zrv)){yyq=yyq.toLocaleLowerCase();zrv=zrv.toLocaleLowerCase();mkj=yyq.localeCompare(zrv);}else dsj=true;if(!dsj){if(mkj>0)return 1;if(mkj<0)return-1;return 0;}else{if(yyq>zrv)return 1;if(yyq<zrv)return-1;return 0;}}