diff --git a/src/webim/js/brws.js b/src/webim/js/brws.js new file mode 100644 index 00000000..366f649d --- /dev/null +++ b/src/webim/js/brws.js @@ -0,0 +1 @@ +var myAgent="";var kj=0;var myRealAgent="";function lj(){var oj=["\157pe\162a","\u006d\u0073\u0069\145","\163\141\146ar\u0069","\146i\u0072\u0065f\u006f\170","\u006e\u0065ts\143a\u0070\145","\u006d\u006f\u007ai\u006cl\u0061"];var ai=navigator.userAgent.toLowerCase();for(var i=0;i=0310&&iq.status<(273+27)){var jq=iq.responseXML;if(jq&&jq.documentElement)return jq.documentElement;} return null;} ,kq:function(iq){return iq.statusText||"\u0063\u006fn\156\u0065ct\u0069o\u006e \145r\u0072\157\162\u0020N"+iq.status;} ,lq:function(){} } ;tq.oq=function(){} ;tq.oq.prototype={pq:function(dq){this.dq={eq:'\u0070o\163\u0074',fq:true,gq:''} .hn(dq||{} );} ,aq:function(){return this.bq.status==undefined ||this.bq.status==0 ||(this.bq.status>=(153+47)&&this.bq.status<(191+109));} ,cq:function(){return!this.aq();} } ;tq.vq=mn.nn();tq.vq.wq=['\u0055\u006einit\151\141li\172e\u0064','\u004c\157a\u0064\u0069ng','Lo\u0061d\145\144','\u0049\u006e\164\u0065ra\u0063ti\166e','C\157m\u0070\154\145\u0074e'];mn.sn(tq.vq,tq.oq,{qn:function(url,dq){this.bq=tq.uq();this.pq(dq);this.xq(url);} ,xq:function(url){var gq=this.dq.gq||'';if(gq.length>0)gq+='&\137=';try{if(this.dq.eq=='\147\u0065\164'&&gq.length>0)url+='\077'+gq;this.bq.open(this.dq.eq,url,this.dq.fq);if(this.dq.fq){this.bq.onreadystatechange=this.yq.pn(this);setTimeout((function(){this.zq(1)} ).pn(this),012);} this.$q();var _q=this.dq.mr?this.dq.mr:gq;this.bq.send(this.dq.eq=='\u0070\157\u0073t'?_q:null);} catch(e){this.nr(e);} } ,$q:function(){var qr=['X\055\122equ\u0065\163\u0074e\144\055\127i\164\u0068','\130MLH\164\164pRe\161u\145s\164'];if(this.dq.eq=='p\u006fst'){qr._n('C\u006fn\u0074e\156t\055t\171\u0070\u0065','\141p\u0070\u006cica\u0074\151\157\u006e\057x-w\u0077\u0077\055f\u006frm\u002d\u0075r\154\u0065\156c\157\144ed');if(this.bq.overrideMimeType)qr._n('Connect\151\157\156','clos\145');} if(this.dq.qr)qr._n.rn(qr,this.dq.qr);for(var i=0;i-1){var wr=token.split('#');var xr=wr[0];var id=wr[1];var element=document.getElementById(id);if(element==null||xr&&element.nodeName.toLowerCase()!=xr){return new Array();} vr=new Array(element);continue;} if(token.indexOf('.')>-1){var wr=token.split('.');var xr=wr[0];var yr=wr[1];if(!xr){xr='\052';} var zr=new Array;var $r=0;for(var h=0;h\074\150\145\u0061d\u003e");zs.write("\074l\151\u006ek\u0020\u0072\u0065l=\"sty\u006c\u0065\u0073h\145\145\u0074\" \u0074\171pe\u003d\"\u0074ex\u0074\057\143\163s\" \u006de\144\151\u0061\075\"a\154\u006c\"\u0020\u0068\162\u0065f=\"/\u0077eb\151m\u002f\u0063ha\164\056c\u0073\u0073\"\040\057\076");zs.write("\u003c/h\u0065a\u0064>\074\u0062\u006f\144y \142\147\143\u006f\154\u006f\162\075'\u0023\106F\106\u0046F\106'\u0020t\145x\u0074='\u002300\060\0600\060'\u0020li\156k\u003d'\043C28\u00340\u0030'\040\166li\u006e\u006b='\u0023\103\u0032\070\06400' \141\u006c\151n\153\u003d'\u0023C\062\070\u00340\u0030' \155a\u0072\147\u0069nwid\u0074\150\075'0'\u0020\u006d\u0061\162\147\151\u006e\u0068\145i\147\150t\075'0'\u0020l\u0065ftm\u0061\u0072g\151\u006e\u003d'\u0030'\u0020\162ig\u0068\u0074\u006dar\u0067\u0069n\075'\u0030' top\u006dar\147i\u006e='0'\040\142\157\u0074tom\155\u0061r\147\151\u006e\u003d'0'\u003e");zs.write("<\164\141\142l\u0065 \167\151\u0064\164\u0068\075'1\u0030\u0030%'\040ce\u006clsp\141c\u0069\156g\u003d'\060'\u0020cel\u006cp\141d\u0064ing\075'0' \u0062\157r\u0064\u0065\u0072='\060'\076\u003c\164\u0072\u003e<\u0074\144\040va\154\151\u0067\156='\164\157p' \u0063\u006cass='m\u0065\u0073\u0073\u0061g\u0065'\040id\075'\143\u006f\156\u0074\145n\164'><\u002f\u0074d\u003e<\057\u0074\u0072\u003e\u003c/\164able\076\074\u0061\040\u0069d\075'bo\u0074to\u006d'\u002f>");zs.write("<\u002fbo\u0064\u0079>\074/ht\155\154\076");zs.close();xs.onload=function(){if(xs.$s){vs.ws(xs).getElementById('\u0063o\u006ete\u006e\u0074').innerHTML+=xs.$s;vs._s(xs);} } ;} ,mt:function(xs,nt){var qt=this.ws(xs).getElementById('\143\157\u006e\u0074\145\u006e\u0074');if(qt==null){if(!xs.$s)xs.$s="";xs.$s+=nt;} else{qt.innerHTML+=nt;} } ,_s:function(xs){var rt=this.ws(xs).getElementById('\142\157\164t\157m');if(myAgent=='op\u0065\u0072a'){xs.contentWindow.scrollTo(0,this.ws(xs).getElementById('c\157nten\164').clientHeight);} else if(rt)rt.scrollIntoView(false);} } ;tq.st=mn.nn();mn.sn(tq.st,tq.oq,{qn:function(dq){this.pq(dq);this.dq.onComplete=this.tt.pn(this);this.ut={} ;this.frequency=(this.dq.frequency||2);vs.ys(this.dq.ht);if(this.dq.it){this.dq.it.onkeydown=this.jt.pn(this);this.dq.it.onfocus=(function(){this.kt=true;} ).pn(this);this.dq.it.onblur=(function(){this.kt=false;} ).pn(this)} this.lt();} ,ot:function(pt){this.dq.gq='\u0061c\u0074='+pt+'&\164hre\141d='+(this.dq.threadid||-1)+'\u0026to\153en\u003d'+(this.dq.token||0)+'\046l\141\163ti\u0064='+(this.dq.dt||0);if(this.dq.user)this.dq.gq+="\046u\u0073\145\u0072=\164\u0072\u0075e";} ,et:function(ft){if(this.dq.it)this.dq.it.disabled=!ft;} ,gt:function(){this.et(true);if(this.ut.dq)this.ut.dq.onComplete=undefined;clearTimeout(this.at);} ,lt:function(){this.ot("\u0072efr\u0065sh");this.ut=new tq.vq(this.dq.servl,this.dq);} ,tt:function(iq){this.et(true);var bt=tq.hq(iq);if(bt&&bt.tagName=='t\u0068\u0072e\u0061d'){this.ct(bt);} else{this.vt(iq,bt,'\u0072e\u0066\u0072esh \155\u0065\u0073\163\141\147\145s\u0020\146aile\u0064');} this.at=setTimeout(this.lt.pn(this),this.frequency*(877+123));} ,wt:function(xt){this.gt();this.ot("\u0070\u006fst");var yt={} .hn(this.dq);yt.gq+="\046\u006d\u0065\u0073\u0073a\147\u0065\075"+encodeURIComponent(xt);yt.onComplete=(function(zt){this.tt(zt);if(this.dq.it){this.dq.it.value='';this.dq.it.focus();} } ).pn(this);this.et(false);this.ut=new tq.vq(this.dq.servl,yt);} ,$t:function(_t){new tq.vq(this.dq.servl,{gq:'\u0061\u0063\164\u003d\162\u0065na\u006d\145&t\u0068\u0072ea\144='+(this.dq.threadid||-1)+'\u0026to\u006ben\u003d'+(this.dq.token||0)+'&\u006ea\u006d\145='+encodeURIComponent(_t)} );} ,mu:function(iq){var bt=tq.hq(iq);if(bt&&bt.tagName=='\143lo\u0073\145d'){setTimeout('\u0077ind\157\u0077\056\u0063l\u006fs\u0065\u0028)',03720);} else{this.vt(iq,bt,'\u0063a\u006en\157\u0074 \143l\157\163e');} } ,nu:function(){var qu='a\u0063\164\075\u0063l\u006fs\u0065\u0026\164\u0068\u0072e\141\u0064='+(this.dq.threadid||-1)+'\046\u0074oke\156\075'+(this.dq.token||0);if(this.dq.user)qu+="\u0026\165\163er\u003d\u0074\162ue";new tq.vq(this.dq.servl,{gq:qu,onComplete:this.mu.pn(this)} );} ,ru:function(su,it){var tu=ms.ss(it);vs.mt(su,tu);} ,ct:function(bt){var uu=false;var hu=this.dq.ht;var iu=ms.is(bt,"\u006c\u0061\163tID");if(iu)this.dq.dt=iu;for(var i=0;ithis.dq.zu)_u=this.dq.zu;else if(_u';} ,wh:function(content){return'\u003c\164\141\142\u006ce \u0077\151\u0064\164h\075"10\u0030\045"\040\143\u0065\u006c\u006c\u0073pac\u0069n\147\u003d"\060"\u0020c\145\154\154\u0070ad\144\u0069\u006e\147\u003d"0"\040\u0062\157r\144\u0065r\075"0">\u003ctr\076'+content+'';} ,xh:function(yh,zh,id,$h,_h,mi,it){var ni=2;var link=zh+"?\u0074hr\145\u0061\u0064="+id;var qi=(mi=="\u0066\u0075\154\u006c")?"\u003ci sty\u006ce\075'c\157\u006c\u006f\u0072\072\043\141\141\u0061\u0061aa\u003b'\076"+yh+"\u003c/\151\u003e":((mi=="\157\164\u0068e\162")?"<\u0069\u003e"+yh+"\074\057i>":yh);var ri='\074td \u0063\u006c\141\163\u0073\075"\164\141b\u006c\u0065" \u0073\164\171\154e="p\u0061d\u0064\151n\u0067-le\146t\0720\160x\u003b \u0070\u0061\u0064di\156g-r\u0069\147\u0068\u0074:\u0030px\073">';ri+=ph.bh(_h?link:link+"&v\151\145w\u006f\u006el\171\u003dtru\145",localized[_h?0:1],"I\u006d\u0043e\156t\145\u0072"+id,qi,01130,(288+132));ri+='\u003c\u002f\u0074d\u003e\074\164\u0064\u003e\u003c\151m\u0067\u0020s\u0072\u0063="\057w\u0065\142i\u006d\u002f\u0069m\141g\u0065s\u002f\u0066re\145.\u0067i\u0066"\u0020w\u0069d\u0074h\u003d"\u0035" \u0068\145\u0069ght="1" \u0062o\u0072\u0064\145r\u003d"0"\040\u0061\u006ct\u003d""\076=wi.rowIndex)){ph.eh(this.t,ah.rowIndex+1);this.t.deleteRow(ah.rowIndex);ah=null;} if(ah==null){ah=this.t.insertRow(vi.rowIndex+1);ph.gh(this.t,vi.rowIndex+2);ah.id="t\u0068r"+id;js.insertCell(ah,"\156\141\155\145","\u0074\141\u0062\u006c\145",null,0x1e,ph.xh(ei,this.dq.agentservl,id,$h,_h,mi,it));ph.dh(ah);js.insertCell(ah,"\143\157\u006et\151\144","\u0074a\u0062\154e","\143\145\u006et\145\u0072",null,fi);ph.dh(ah);js.insertCell(ah,"s\u0074at\u0065","tabl\u0065","\143\145nte\u0072",null,li);ph.dh(ah);js.insertCell(ah,"op","\u0074a\142\154e","cent\145r",null,ai);ph.dh(ah);js.insertCell(ah,"t\u0069\u006d\u0065","\164a\142\u006ce","c\145nt\145\u0072",null,this.xi(gi));ph.dh(ah);js.insertCell(ah,"\u0077\u0061\u0069t","t\u0061b\u006c\u0065","\u0063\u0065\156\u0074e\162",null,(ki!='\143h\u0061t'?this.xi(bi):'\055'));ph.dh(ah);js.insertCell(ah,"\145\u0074c","tab\u006c\u0065","\143e\u006e\u0074e\162",null,ci);if(ki=='w\u0061it'||ki=='p\u0072\151\157')return true;} else{pi(this.t,ah,"\156am\u0065",ph.xh(ei,this.dq.agentservl,id,$h,_h,mi,it));pi(this.t,ah,"\143o\156\164\151d",fi);pi(this.t,ah,"\163\164\u0061\164e",li);pi(this.t,ah,"\u006fp",ai);pi(this.t,ah,"\164i\155\145",this.xi(gi));pi(this.t,ah,"wa\u0069t",(ki!='\u0063\u0068\u0061\u0074'?this.xi(bi):'\u002d'));pi(this.t,ah,"e\u0074\u0063",ci);} return false;} ,yi:function(){function zi(t,id,$i){var vi=t.rows[id];var wi=t.rows[id+"e\156\u0064"];if(vi==null||wi==null)return;var _i=wi.cells["\u0073t\141\u0074u\163"];if(_i==null)return;_i.innerHTML=(vi.rowIndex+1==wi.rowIndex)?$i:"";_i.height=(vi.rowIndex+1==wi.rowIndex)?036:012;} zi(this.t,"\u0077\141\151t",this.dq.noclients);zi(this.t,"\u0070ri\u006f",this.dq.noclients);zi(this.t,"\143\u0068\u0061\164",this.dq.noclients);} ,xi:function(mj){var nj=Math.floor(((new Date()).getTime()-mj-this.ui)/0x3e8);var qj=Math.floor(nj/0x3c);var rj="";nj=nj%074;if(nj<(9+1))nj="0"+nj;if(qj>=(47+13)){var sj=Math.floor(qj/(42+18));qj=qj%0x3c;if(qj<(9+1))qj="0"+qj;rj=sj+":";} return rj+qj+"\u003a"+nj;} ,ct:function(tj){var uj=tj.documentElement;var hj=false;if(uj.tagName=='\164\u0068\u0072e\u0061\u0064s'){var ij=ms.is(uj,"ti\u006de");var jj=ms.is(uj,"\u0072\u0065vi\163\151o\156");if(ij)this.ui=(new Date()).getTime()-ij;if(jj)this.dq.ti=jj;for(var i=0;i