//JavaScript/ContainerCommon.pjs T=0 function isFE(ec){ switch(ec){ case 1010: case 1027: return true; } return false; } function GETR(E){ var T=E.target; while(T!=null&&(!T.id||!T.id.length||(T.nodeType==1&&(T.tagName=="IMG"||T.tagName=="INPUT")))){ T=T.parentNode; } return T; } function RIID(id){ for(var i=0;i=12?1:0); var jdo=new Date(parseInt(Y,10),parseInt(m,10)-1,parseInt(d,10),parseInt(H,10),parseInt(I,10),parseInt(s,10),0); var jfdoy=new Date(parseInt(Y,10),0,1,0,0,0,0); var o=""; var ni=0; var af=0; while(ni"; } function gFFlg(RD,b,is){ var FD=null; if(RD[3][0]&0x1000){ FD=[IRU+"a12_"+"7015","Deleted",12]; }else if(RD[3][0]&0x8000){ if(RD[0]==14){ FD=[IRU+"a12_"+"7019","Active Chat",12]; }else if(RD[5][0]=="xy23009"&&(DF==1||DF==2)){ FD=[IRU+"0","Unread",12]; }else{ FD=[IRU+"a12_"+"7016","Unread",12]; } }else if((RD[3][0]&0x2800)==0x0800){ FD=[IRU+"a9_"+"7017","Unsent",9]; }else{ FD=[IRU+"0","",12]; } return "\""+FD[1]+"\""+(FD[1]!=""?""; } function gFAI(RD){ var pf=("s"); if(RD[3][0]&0x0001){ return "\"\""; }else if(RD[3][0]&0x0020){ return "\"\""; }else{ return ""; } } function DCD(DAI,d){ var c=d[0],t=0; var i; if(isNaN(c)||d.length<2){ ; }else{ var t=-1; for(var i=0;t==-1&&i2?parseInt(d[2],10):0)]; t=-1; break; case -2: case -6: case -8: DAI[c]=d[1]; t=-1; break; case 0: t=2; break; case 1: case 9: case 14: case 17: t=8; break; case 2: case 16: t=16; break; case 3: case 11: case 12: DAI[c][0]=parseInt(d[1],16); DAI[c][1]=(d.length>2?parseInt(d[2],16):0); t=-1; break; case 4: DAI[c][0]=parseInt(d[1],10); DAI[c][1]=(d.length>2?parseInt(d[2],10):0); t=-1; break; case 5: t=1; break; case 6: DAI[c]=d[1]; t=-1; break; case 7: case 8: case 15: t=0; break; case 13: DAI[c]=parseInt(d[1],16); t=-1; break; } }else if(c==8044||C==8045){ DAI[c]=d[1]; t=-1; } switch(t){ case -1: break; case 64: case 32: case 8: case 2: DAI[c]=parseInt(d[1],10); break; case 16: DAI[c]=d[1]; break; case 4: case 1: if(!DAI[c]){ DAI[c]=[]; } DAI[c][0]=d[1]; for(i=2;iB[12][0]){ return 1; }else if(A[12][1]A[12][0]){ return 1; }else if(A[13]&&B[13]){ return A[13]-B[13]; }else if(!A[13]&&!B[13]){ return (A[3][0]&0x0010)-(B[3][0]&0x0010); }else if(A[13]&&!B[13]){ return 1; }else{ return 1; } } var KSRO=null; function KSCF(a,b){ var r=KCF(KSRO[a[0]],KSRO[b[0]]); return (r?r:a[0]-b[0]); } function RSCF(a,b){ return a[0]-b[0]; } function INR(ri,NR){ I.splice(ri,0,NR); S.splice(ri,0,0); IR(ri,I[ri]); } function AUCB(RO){ var tx=RO.obj.responseText,txl=""; var ci=0,ni,iq=0; var NI=[]; var nic=0; var NUT=""; var NPD=null; var MID=null; var hnu=0; if(tx.substr(0,4)=="ERR:"){ var ee=tx.indexOf("\r"); var etx=tx.substr(4,tx.length); if(ee==-1){ ee=tx.indexOf("\n"); } if(ee!=-1){ etx=tx.substr(4,ee-4); } eval("var NERR="+etx); if(NERR.code!=ERR.code){ ERR=NERR; if(!isFE(ERR.code)){ alert(ERR.text); } } }else{ ERR={code:0,text:""}; while(ci0&&nsi-eqi>0){ CO[txl.substr(pi,eqi-pi)]=parseInt(txl.substr(eqi+1,nsi-eqi-1),10); } pi=nsi+1; } if(txl.substr(0,3)=="PD:"){ NPD=CO; }else{ MID=CO; } }else if(txl.substr(0,4)=="LUT:"){ if(txl.length==18){ NUT=txl.substr(4,14); } }else{ NI[nic]=DID(txl); NI[nic][-1]=guc+":"+nic; if((NI[nic][3][0]&0x9000)==0x8000){ if(LUT&&NI[nic][2]>LUT){ ++hnu; } } ++nic; } } ci=ni+1; if(ciLUT){ ++nip; }else if(iohc==-1){ iohc=ni; soi=1; } ic=1; }else{ soi=1; ++oi; } ++ni; } if(oi0){ OI[OII[oi++][0]].km=1; }else if(df==0){ RI(ctr+OII[oi][0],NI[NII[ni][0]]); NII[ni++][1]=OII[oi++][0]; } } } while(niloii){ loii=NII[ni][1]; }else{ OI[NII[ni][1]].km=1; if(S[ctr+NII[ni][1]]==1){ NII[ni][2]=1; } NII[ni][1]=-1; } } ++ni; } oi=0; while(oi":es=">";break; case "<":es="<";break; case "&":es="&";break; case "\"":es=""";break; } if(es!=null){ ns+=s.substr(lri+1,ci-lri-1)+es; lri=ci; } ++ci; } ns+=s.substr(lri+1,ci-lri-1); return ns; } function sISS(nss){ if(nss!=iss){ sV(); } } function sIFS(nfs){ if(nfs!=ifs){ sV(); } } function sV(d){ var ndf; var tc=""; if(pi==1){ ndf=sw.df1; if(ST){ tc="I"; } }else{ ndf=sw.df0; if(ST){ tc="F"; } } if((ndf!=DF)||(ifs!=sw.ifs)||(iss!=sw.iss)||(d&&d!=VD)){ self.location.replace(sw.gAEO()+"?WinID="+WID+"&"+LT+"=1&Pane="+pi+(xp?"&XPane="+xp:"")+(FCD?"FCDialog="+FCD:"")+"&"+(ndf<=3?"DisplayFormat=":"Templates=Framesets&FormID=")+ndf+(d?"&Date="+d:"")+(ndf==1||ndf==2?"&"+tc+"Table=5_0":(ndf==3?"&"+tc+"Table=8_0":""))+(sw.ifs?"&Filter="+sw.ifs:"")+(sw.iss?"&Show="+sw.iss:"")); } } //*ContainerCommon T=15