//JavaScript/CommandHandler.pjs T=182 function FC_CH(UHCB,lu,pb,CUCB,CIDCB,CARCB,DDUCB){var DPB=function(pb){var pr=["admn","upld","pvct","mail","conf","vres","cdla","guia","srch","pref","vprv","dnld","ccnf","eprv","unrd","usnd","urgt","vusr","frwd","rcpt","atml","ctct","sexp","nexp","ofln","webp","neta","cldr","voxa","impt","flsh","pass","vpce","pbct","atfw","eres","rule","mbpm","epce","call","ccal","cctc","eodn","ccht","voxm","clip","save","prnt","weba","dira","fila","mrly","mntr","main","apdv","imal"];var PRV={};var chv=1;var pi;var pbh=parseInt(pb.substr(2,8),16);var pbl=parseInt(pb.substr(10,8),16);for(pi=0;pi<32;pi++){PRV[pr[pi]]=(pbl%2)?1:0;pbl=pbl>>1;}for(pi=32;pi>1;}return PRV;};var CH={};CH.NURL=UHCB;CH.lu=lu;CH.gCU=CUCB;CH.gCID=CIDCB;CH.gCAR=CARCB;CH.DDU=DDUCB;CH.PRV=DPB(pb);CH.dC=function(CID,T,p){switch(CID){case 1:if(this.lu!="/"){this.NURL(this.lu+"Logout",null,0,0);}else{this.NURL("/Login",null,0,0);}break;case 10:break;case 3:if(T&&T.length){this.NURL((T[0][-6]?T[0][-6]:T[0][-2]),(T[0][3][0]&0x1000?"UnDelete=1":null),0,1);}break;case 19:this.dEF(T);break;case 128:this.NFR(96);break;case 140:var N=prompt("","");if(N&&N.length){this.dO(140,null,N,0);}break;case 143:this.dGI(T);break;case 144:this.dD(T);break;case 145:if(this.PRV.srch){this.NURL("Search",null,1,3);}break;case 148:if(this.PRV.pass){this.NURL(this.lu+"MemForm","FormID=139",0,5,"width:300,height:200;status:no;scrollbars:no");}break;case 149:if(this.lu!="/"){this.NURL(this.lu+"Preferences",null,0,0);}break;case 150:if(this.PRV.vres){this.NURL(this.lu+"Resume",null,0,0);}break;case 152:this.dS(T);break;case 153:case 156:case 157:case 158:case 351:case 922:this.dR(T,CID,1);break;case 154:if(this.PRV.frwd){this.dF(T);}break;case 155:if(this.PRV.usnd){this.dUS(T);}break;case 160:if(this.PRV.upld){this.dU();}break;case 162:this.NURL(this.lu+"Directory",null,0,0);break;case 163:if(T.length){this.dH(T);}break;case 167:this.dTU(T);break;case 168:if((this.gCAR(0)&0x0800)&&this.gCID(0)[0]==1){this.NURL("Send",null,1,2);}else{this.NURL(this.lu+"Open-Item/Mailbox/Send",null,0,0);}break;case 169:this.NURL("","NextUnread=1",1,2);break;case 170:if(T.length){this.dSS(T,0);}else{this.dSS(null,0);}break;case 171:if(this.PRV.ccnf){var N=prompt("","");if(N&&N.length){this.dO(171,null,N,0);}}break;case 172:if(T.length==1){if(this.isCn(T[0][0])){this.NURL((T[0][-6]?T[0][-6]:T[0][-2])+"__ACL",null,1,3);}else{alert("");}}else{alert("");}break;case 174:this.NURL(this.lu+"WhosOnline",null,0,0);break;case 175:this.dA(T,(typeof(p)!="undefined"?p:-1));break;case 176:if(this.PRV.vres){if(T.length){this.dAC(T);}else{this.dAC(null);}}break;case 196:this.NURL(this.lu,null,0,1);break;case 197:this.NURL("","FormID=52",1,3);break;case 205:if(T.length){this.dSS(T,1);}else{this.dSS(null,1);}break;case 221:break;case 222:break;case 234:NFR(126);break;case 235:NFR(124);break;case 236:NFR(88);break;case 237:NFR(118);break;case 238:NFR(65);break;case 244:if(T.length==1&&(T[0][3][0]&0x1400)==0){sw.dRN(null,T);}break;case 252:this.NURL("/__Help/Web%20Help/","Templates=Help",0,5,"HELPWIN","status=1,scroll=0");break;case 276:break;case 338:if(this.PRV.cntc){this.NURL(this.lu+"Open-Item/Contacts/",null,0,1);}break;case 344:if(this.PRV.mail){this.NURL(this.lu+"Open-Item/VoiceGreetings/",null,0,1);}break;case 346:if(this.PRV.webp){this.NURL(this.lu+"Open-Item/HomePage/",null,0,1);}break;case 347:this.NURL(this.lu+"Open-Item/Mailbox/",null,0,1);break;case 348:this.NURL(this.gCU(-1),null,0,1);break;case 349:if(this.PRV.mail){this.dCMT(T);}break;case 354:if(this.PRV.cldr){this.NURL(this.lu+"Open-Item/Calendar/",null,0,1);}break;case 357:sw.sISS(-3);break;case 358:if (this.isC(this.gCID(0)[1])&&this.gCAR(0)&0x0808){NFR(163);}else if(this.PRV.cldr){this.NURL(this.lu+"Open-Item/Calendar/FormNew","FormID=163",0,0);}break;case 363:if(this.PRV.mail){this.NURL(this.lu+"Open-Item/Bookmarks/",null,0,1);}break;case 364:if(this.PRV.cntc){this.NURL(this.lu+"Open-Item/Contacts/FormNew","FormID=105",0,0);}break;case 365:if(this.PRV.cntc){this.NURL(this.lu+"Open-Item/Contacts/FormNew","FormID=106",0,0);}break;case 366:this.dUD(T); break;case 375:if(this.PRV.mail){this.NURL(this.lu+"Open-Item/VoiceGreetings/FormNew","FormID=71",0,0);}break;case 376:if(this.isC(this.gCID(0)[1])&&(this.gCAR(0)&0x0808)){this.NURL("FormNew","FormID=161&Date="+this.gCID(0)["date"],1,2);}else if(PRV.cldr){this.NURL(this.lu+"Open-Item/Calendar/FormNew","FormID=161",0,0);}break;case 383:if(this.PRV.cldr){var N=prompt("","");if (N&&N.length){this.dO(383,null,N,24011);}}break;case 384:if(this.PRV.cldr){var N=prompt("","");if(N&&N.length){this.dO(384,null,N,24014);}}break;case 385:if(this.PRV.cldr){var N=prompt("","");if(N&&N.length){this.dO(385,null,N,24013);}}break;case 387:this.NURL(this.lu+"Open-Item/Memos/",null,0,1);break;case 418:if(this.PRV.admn){this.NURL(this.lu+"__UserList",null,0,0);}break;case 427:if(T.length){if(this.isC(this.gCID(0)[1])){this.SIC(T,1003,162);}else{this.SIC(T,8044,153);}}break;case 472:if(this.PRV.pvct){this.NURL(this.lu+"__Chat",null,0,0);}break;case 475:if(this.PRV.dnld){if(this.gCAR(0)&0x4000){this.dSF(T);}}break;case 480:if(this.PRV.rule){if(T.length==1){if(this.isCn(T[0][0])){this.NURL((T[0][-6]?T[0][-6]:T[0][-2])+"__RULES/",null,1,3);}else{alert("");}}else{alert("");}}break;case 481:case 482:case 483:case 484:case 485:case 486:case 487:if(T.length){this.dO(CID,T,null,p,null);}else{alert("");}break;case 669:this.NURL("","PrevUnread=1",1,2);break;case 850:this.NURL(this.lu+"Open-Item/SharedDocuments/",null,0,1);break;case 853:if(T&&T.length){this.NURL((T[0][-6]?T[0][-6]:T[0][-2]),(T[0][3][0]&0x1000?"UnDelete=1":null),1,4,"_blank",null);}break;case 914:if(T.length==1){if(this.isCn(T[0][0])){this.NURL((T[0][-6]?T[0][-6]:T[0][-2])+"__ListSubscribers",null,1,3);}else{alert("");}}else{alert("");}break;default:alert("Unknown / unimplemented command: "+CID);break;}};CH.dD=function(L){var T=[],P=[];var c=0;for(var i=0;ipb){return 1;}else{return 0;}};CH.dO=function(c,L,sd,nd,q,nd2){var RO=new ARO;if(RO!=null){var s="";var ap="FieldID_1001_LONG="+c;if(sd){ap+="&FieldID_1002_STRING="+uesc(sd);}if(typeof(nd)!="undefined"){ap+="&FieldID_1003_LONG="+nd;}if(typeof(nd2)!="undefined"){ap+="&FieldID_1004_LONG="+nd2;}if(L&&L.length){var D=[];var fu;OL=L;for(var d=0;d0){var ue=L[i][-6]?L[i][-6]:L[i][-2];if(ue.charAt(ue.length-1)=="/"){ue=ue.substr(0,ue.length-1);}ap+="&ListInfo_"+ue+"_LOCATION="+L[i][4][0]+"-"+L[i][4][1];}}RO.G(this.gCU(0)+"FormSave",ap);}}return 1;};CH.isCn=function(o){return(o==0||o==1||o==2||o==24);};CH.isM=function(o){return(o==3||o==4||o==12);};CH.isL=function(o){return(this.isM(o)||o==5||o==6||o==17||o==20||o==22);};CH.isC=function(s){return(s==21||s==22||s==23);};CH.PFS=function(s){var A=arguments;var i,n=s.indexOf("^");while(n!=-1){i=parseInt(s.charAt(n+1),10);if(!isNaN(i)&&i>=0&&i<(A.length-1)){s=s.substr(0,n)+A[i+1]+s.substr(n+2);}n=s.indexOf("^");}return s;};CH.gPB=function(p){return this.PRV[p];};return CH;}function NURL(u,p,r,ot,wn,wp){if(r){u=sw.gAEO()+u;}switch(ot){case 0:sw.location=u+(p!=null?"?"+p:"");break;case 1:sw.sAEO(u,p);break;case 2:sw.sL(u,p);break;case 3:sw.sSAEO(u,p);break;case 4:if(sw.ow!=null){sw.ow.close();sw.ow=null;}sw.ow=sw.open(u+(p!=null?"?"+p:""),wn,wp);break;case 5:sw.open(u+(p!=null?"?"+p:""),wn,wp);break;}}function gCU(i){if(i==1){return gAEO();}else if(i==-1){if(sw.wE){return sw.wE.up;}else{return sw.up;}}else if(i==-2){return sw.up;}else{return sw.url;}}function gID(i){if(i==1||sw.wE==null){return sw.D;}else{return sw.wE.D;}}function gAR(i){if(i==1||sw.wE==null){return sw.P;}else{return sw.wE.P;}} //*CommandHandler T=234