//JavaScript/CommandHandler.pjs T=1 function FC_CH(UHCB,lu,pb,CUCB,CIDCB,CARCB,DDUCB,VKey,BFURL){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","cntc","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.BFURL=BFURL;if(typeof(VKey)!="undefined"){CH.VKey=VKey;}else{CH.VKey="";}CH.dC=function(CID,T,p){switch(CID){case 1:if(this.lu!="/"){this.NURL(this.lu+"__Logout",null,0,0);}break;case 10:break;case 3:if(T&&T.length){if(T[0][3]&0x1000){var v=this.gVK();if(v==null){var ME=this;setTimeout(function(){ME.dC(CID,T,p);},100);}else{this.NURL((T[0][-6]?T[0][-6]:T[0][-2]),"Undelete=1"+(v!=""?"&VKey="+v:""),0,1);}}else{if(T[0][0]==5||T[0][0]==6||T[0][0]==35){this.NURL((T[0][-6]?T[0][-6]:T[0][-2]),null,1,4,"FCFILEWIN",null);}else if(T[0][0]==1&&T[0][1]==66){this.LBF(T[0][8110]);}else if((T[0][0]==2&&T[0][1]==56)||T[0][0]==14){this.NURL((T[0][-6]?T[0][-6]:T[0][-2]),null,0,0);}else if(T[0][3][0]&0x0002){this.NURL((T[0][-6]?T[0][-6]:T[0][-2]),null,0,0);}else if(sw.wE!=null){this.NURL((T[0][-6]?T[0][-6]:T[0][-2]),null,0,1);}else{this.NURL((T[0][-6]?T[0][-6]:T[0][-2]),null,1,1);}}}break;case 19:this.dEF(T);break;case 128:this.NFR(96);break;case 140:var N=prompt("Enter new value:","New Folder");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:{var v=this.gVK();if(v==null){var ME=this;setTimeout(function(){ME.dC(CID,T,p);},100);}else if((this.gCAR(0)&0x0800)&&this.gCID(0)[0]==1){this.NURL("__Send",(v!=""?"VKey="+v:null),1,2);}else{this.NURL(this.lu+"__Open-Item/Mailbox/__Send",(v!=""?"VKey="+v: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("Enter new value:","New Conference");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("No Valid Items Selected");}}else{alert("Select one item in order to perform this command.");}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){var v=this.gVK();if(v==null){var ME=this;setTimeout(function(){ME.dC(CID,T,p);},100);}else{this.NURL(this.lu+"__Open-Item/Calendar/__FormNew","FormID=163"+(v!=""?"&VKey="+v:""),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){var v=this.gVK();if(v==null){var ME=this;setTimeout(function(){ME.dC(CID,T,p);},100);}else{this.NURL(this.lu+"__Open-Item/Contacts/__FormNew","FormID=105"+(v!=""?"&VKey="+v:""),0,0);}}break;case 365:if(this.PRV.cntc){var v=this.gVK();if(v==null){var ME=this;setTimeout(function(){ME.dC(CID,T,p);},100);}else{this.NURL(this.lu+"__Open-Item/Contacts/__FormNew","FormID=106"+(v!=""?"&VKey="+v:""),0,0);}}break;case 366:this.dUD(T); break;case 375:if(this.PRV.mail){var v=this.gVK();if(v==null){var ME=this;setTimeout(function(){ME.dC(CID,T,p);},100);}else{this.NURL(this.lu+"__Open-Item/VoiceGreetings/__FormNew","FormID=71"+(v!=""?"&VKey="+v:""),0,0);}}break;case 376:{var v=this.gVK();if(v==null){var ME=this;setTimeout(function(){ME.dC(CID,T,p);},100);}else if(this.isC(this.gCID(0)[1])&&(this.gCAR(0)&0x0808)){this.NURL("__FormNew","FormID=161&Date="+this.gCID(0)["date"]+(v!=""?"&VKey="+v:""),1,2);}else if(PRV.cldr){this.NURL(this.lu+"__Open-Item/Calendar/__FormNew","FormID=161"+(v!=""?"&VKey="+v:""),0,0);}}break;case 383:if(this.PRV.cldr){var N=prompt("Enter new value:","New Group Calendar");if (N&&N.length){this.dO(383,null,N,24011);}}break;case 384:if(this.PRV.cldr){var N=prompt("Enter new value:","New Advanced Rule");if(N&&N.length){this.dO(384,null,N,24014);}}break;case 385:if(this.PRV.cldr){var N=prompt("Enter new value:","New Location Calendar");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,1);}else{alert("No Valid Items Selected");}}else{alert("Select one item in order to perform this command.");}}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("Select one or more items to perform this operation on.");}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){if(T[0][3]&0x1000){var v=this.gVK();if(v==null){var ME=this;setTimeout(function(){ME.dC(CID,T,p);},100);}else{this.NURL((T[0][-6]?T[0][-6]:T[0][-2]),"UnDelete=1"+(v!=""?"&VKey="+v:""),1,4,"_blank",null);}}else if(T[0][0]==1&&T[0][1]==66){this.LBF(T[0][8110]);}else{this.NURL((T[0][-6]?T[0][-6]:T[0][-2]),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("No Valid Items Selected");}}else{alert("Select one item in order to perform this command.");}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;}};var FOCB=function(RO){var tx=RO.obj.responseText;var vki=tx.indexOf("VKey:");if(vki>-1){var vke=tx.indexOf("\r",vki+5);if(vke==-1){vke=tx.length;}RO.CH.VKey=tx.substr(vki+5,vke-vki);}foip=0;};CH.dO=function(c,L,sd,nd,q,nd2){var v=null;if(foip==0){v=this.gVK();}if(v==null){var ME=this;setTimeout(function(){ME.dO(c,L,sd,nd,q,nd2);},100);return true;}foip=1;var RO=new ARO;if(RO!=null){var s="";var ap="VKey="+v+"&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.CB=FOCB;RO.CH=this;RO.G(this.gCU(0)+"__FormSave",ap);return 1;}foip=0;return 1;}foip=0;return 0;};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];};var GVCB=function(RO){if(RO.obj.status==200){RO.CH.VKey=RO.obj.responseText;}else{RO.CH.VKey="";}foip=0;};CH.gVK=function(){var v="";return v;};CH.LBF=function(c,u){var tp="FormID=95&Templates=Commands&TargetURL="+this.BFURL+"/Login/&NeedAuth=1";if(c){tp+="&TargetFrag=__Open-Conf/CID"+c+"/&TargetParam_Tab=Feed";}else if(u){tp+="&TargetFrag=__Open-User/CID"+u+"/SharedDocuments/FCXResume";}else{tp+="&TargetFrag=Desktop";}this.NURL(this.lu,tp,0,5,"BLUEFIELD");return false;};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;}if(wp){sw.ow=sw.open(u+(p!=null?"?"+p:""),wn,wp);}else{sw.ow=sw.open(u+(p!=null?"?"+p:""),wn);}break;case 5:if(wp){sw.open(u+(p!=null?"?"+p:""),wn,wp);}else{sw.open(u+(p!=null?"?"+p:""),wn);}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=4