<!--[442,2,2] published at 2007-12-28 11:26:15 from #237 by 1786-->
if(typeof Util=='undefined')Util={};Util.bk=function(){this.Init.apply(this,arguments);};Util.bk.prototype={dH:0,cM:"",cZ:8,Init:function(){},dD:function(s){return this.cS(this.de(this.fp(s),s.length*this.cZ));},de:function(x,dQ){x[dQ>>5]|=0x80<<(24-dQ%32);x[((dQ+64>>9)<<4)+15]=dQ;var w=Array(80);var a=1732584193;var b=-271733879;var c=-1732584194;var d=271733878;var e=-1009589776;for(var i=0;i<x.length;i+=16){var eG=a;var eH=b;var eI=c;var eJ=d;var eK=e;for(var j=0;j<80;j++){if(j<16)w[j]=x[i+j];else w[j]=this.fa(w[j-3]^w[j-8]^w[j-14]^w[j-16],1);var t=this.fc(this.fc(this.fa(a,5),this.fk(j,b,c,d)),this.fc(this.fc(e,w[j]),this.fl(j)));e=d;d=c;c=this.fa(b,30);b=a;a=t;}a=this.fc(a,eG);b=this.fc(b,eH);c=this.fc(c,eI);d=this.fc(d,eJ);e=this.fc(e,eK);}return Array(a,b,c,d,e);},fk:function(t,b,c,d){if(t<20)return(b&c)|((~b)&d);if(t<40)return b^c^d;if(t<60)return(b&c)|(b&d)|(c&d);return b^c^d;},fl:function(t){return(t<20)?1518500249:(t<40)?1859775393:(t<60)?-1894007588:-899497514;},fc:function(x,y){var dS=(x&0xFFFF)+(y&0xFFFF);var ee=(x>>16)+(y>>16)+(dS>>16);return(ee<<16)|(dS&0xFFFF);},fa:function(ei,da){return(ei<<da)|(ei>>>(32-da));},fp:function(fo){var aX=Array();var dT=(1<<this.cZ)-1;for(var i=0;i<fo.length*this.cZ;i+=this.cZ)aX[i>>5]|=(fo.charCodeAt(i/this.cZ)&dT)<<(32-this.cZ-i%32);return aX;},cS:function(cR){var dG=this.dH?"0123456789ABCDEF":"0123456789abcdef";var fo="";for(var i=0;i<cR.length*4;i++){fo+=dG.charAt((cR[i>>2]>>((3-i%4)*8+4))&0xF)+dG.charAt((cR[i>>2]>>((3-i%4)*8))&0xF);}return fo;}};if(typeof Util=='undefined')Util={};if(typeof $=='undefined')$=function(id){return document.getElementById(id)};if(typeof $C=='undefined')$C=function(t){return document.createElement(t)};if(typeof $S=='undefined')$S={};Util.dF=function(){this.Init.apply(this,arguments);};Util.dF.prototype={ew:null,ev:null,Init:function(aS,aR){if(typeof aR=='string')this.ev=$(aR);else this.ev=aR;if(typeof aS=='string')this.ev=$(aS);else this.ew=aS;},bm:function(aG,aE,aa){this.eb=aG;this.dY=aE;this.bS=aa;this.cH();},cH:function(){var cD=this;var eb=this.eb;var dY=this.dY;this.ew.onmousedown=function(dr){cD.ev.style.width=cD.ev.clientWidth+"px";cD.ev.style.height=cD.ev.clientHeight+"px";document.onmousemove=function(dr){var e=(window.event)?window.event:dr;if(cD.eQ)cD.eQ(e);var ey=e.clientY;var ex=e.clientX;var cX=0;var cW=0;var fz=0;var fB=0;if(cD.dO&&cD.dP){fz=ex-cD.dO;fB=ey-cD.dP;if(fz){cX=(parseInt(cD.ev.style.width)+fz);if(cX>=eb){if(cD.eR)cD.eR(fz,cX);cD.ev.style.width=cX+'px';}}if(fB){cW=(parseInt(cD.ev.style.height)+fB);if(cW>=dY){if(cD.eO)cD.eO(fB,cW);cD.ev.style.height=cW+'px';}}if(cD.bS)document.title='mouse x: '+ex+' mouse y: '+ey+' x eE:'+(ex-cD.dO)+'y eE:'+(ey-cD.dP)+'box h:'+cD.ev.style.height+' box W:'+cD.ev.style.width;}cD.dO=ex;cD.dP=ey;};document.onmouseup=function(dr){var e=(window.event)?window.event:dr;document.onmousemove=null;document.onmouseup=null;if(cD.eP)cD.eP(e,cD.dO,cD.dP);cD.dO=null;cD.dP=null;};};}};if(typeof Util=='undefined')Util={};Util.ad={eD:null,dK:function(o,ez,ec,dW,ed,dX,cN,cO,ds,du){o.onmousedown=Util.ad.start;o.dI=cN?false:true;o.fx=cO?false:true;o.root=ez&&ez!=null?ez:o;if(o.dI&&isNaN(parseInt(o.root.style.left)))o.root.style.left="0px";if(o.fx&&isNaN(parseInt(o.root.style.top)))o.root.style.top="0px";if(!o.dI&&isNaN(parseInt(o.root.style.right)))o.root.style.right="0px";if(!o.fx&&isNaN(parseInt(o.root.style.bottom)))o.root.style.bottom="0px";o.ec=typeof ec!='undefined'?ec:null;o.ed=typeof ed!='undefined'?ed:null;o.dW=typeof dW!='undefined'?dW:null;o.dX=typeof dX!='undefined'?dX:null;o.fy=ds?ds:null;o.fA=du?du:null;o.root.eN=new Function();o.root.eM=new Function();o.root.eL=new Function();},start:function(e){var o=Util.ad.eD=this;e=Util.ad.dw(e);var y=parseInt(o.fx?o.root.style.top:o.root.style.bottom);var x=parseInt(o.dI?o.root.style.left:o.root.style.right);o.root.eN(x,y);o.dO=e.clientX;o.dP=e.clientY;if(o.dI){if(o.ec!=null)o.dZ=e.clientX-x+o.ec;if(o.dW!=null)o.dU=o.dZ+o.dW-o.ec;}else{if(o.ec!=null)o.dU=-o.ec+e.clientX+x;if(o.dW!=null)o.dZ=-o.dW+e.clientX+x;}if(o.fx){if(o.ed!=null)o.ea=e.clientY-y+o.ed;if(o.dX!=null)o.dV=o.ea+o.dX-o.ed;}else{if(o.ed!=null)o.dV=-o.ed+e.clientY+y;if(o.dX!=null)o.ea=-o.dX+e.clientY+y;}document.onmousemove=Util.ad.dp;document.onmouseup=Util.ad.dq;return false;},dp:function(e){e=Util.ad.dw(e);var o=Util.ad.eD;var ey=e.clientY;var ex=e.clientX;var y=parseInt(o.fx?o.root.style.top:o.root.style.bottom);var x=parseInt(o.dI?o.root.style.left:o.root.style.right);var ej,ek;if(o.ec!=null)ex=o.dI?Math.max(ex,o.dZ):Math.min(ex,o.dU);if(o.dW!=null)ex=o.dI?Math.min(ex,o.dU):Math.max(ex,o.dZ);if(o.ed!=null)ey=o.fx?Math.max(ey,o.ea):Math.min(ey,o.dV);if(o.dX!=null)ey=o.fx?Math.min(ey,o.dV):Math.max(ey,o.ea);ej=x+((ex-o.dO)*(o.dI?1:-1));ek=y+((ey-o.dP)*(o.fx?1:-1));if(o.fy)ej=o.fy(y);else if(o.fA)ek=o.fA(x);Util.ad.eD.root.style[o.dI?"left":"right"]=ej+"px";Util.ad.eD.root.style[o.fx?"top":"bottom"]=ek+"px";Util.ad.eD.dO=ex;Util.ad.eD.dP=ey;Util.ad.eD.root.eL(ej,ek);return false;},dq:function(){document.onmousemove=null;document.onmouseup=null;Util.ad.eD.root.eM(parseInt(Util.ad.eD.root.style[Util.ad.eD.dI?"left":"right"]),parseInt(Util.ad.eD.root.style[Util.ad.eD.fx?"top":"bottom"]));Util.ad.eD=null;},dw:function(e){if(typeof e=='undefined')e=window.event;if(typeof e.layerX=='undefined')e.layerX=e.offsetX;if(typeof e.layerY=='undefined')e.layerY=e.offsetY;return e;}};if(typeof Util=='undefined')Util={};Util.Q=function(){this.Init.apply(this,arguments);};Util.Q.prototype={Init:function(){},dR:function(v,w){var fw=v.length;var fn=v[fw-1]&0xffffffff;for(var i=0;i<fw;i++){v[i]=String.fromCharCode(v[i]&0xff,v[i]>>>8&0xff,v[i]>>>16&0xff,v[i]>>>24&0xff);}if(w){return v.join('').substring(0,fn);}else{return v.join('');}},fq:function(s,w){var dQ=s.length;var v=[];for(var i=0;i<dQ;i+=4){v[i>>2]=s.charCodeAt(i)|s.charCodeAt(i+1)<<8|s.charCodeAt(i+2)<<16|s.charCodeAt(i+3)<<24;}if(w){v[v.length]=dQ;}return v;},di:function(fo,dN,dM){if(fo==""){return "";}if(dM)fo=this.dE(fo);var v=this.fq(fo,false);var k=this.fq(dN,false);var n=v.length-1;var z=v[n-1],y=v[0],dk=0x9E3779B9;var eg,e,q=Math.floor(6+52/(n+1)),fs=q*dk&0xffffffff;while(fs!=0){e=fs>>>2&3;for(var p=n;p>0;p--){z=v[p-1];eg=(z>>>5^y<<2)+(y>>>3^z<<4)^(fs^y)+(k[p&3^e]^z);y=v[p]=v[p]-eg&0xffffffff;}z=v[n];eg=(z>>>5^y<<2)+(y>>>3^z<<4)^(fs^y)+(k[p&3^e]^z);y=v[0]=v[0]-eg&0xffffffff;fs=fs-dk&0xffffffff;}return this.dR(v,true);},dE:function(h){var r="";for(var i=(h.substr(0,2)=="0x")?2:0;i<h.length;i+=2)r+=String.fromCharCode(parseInt(h.substr(i,2),16));return r;}};if(typeof S_WC=='undefined')S_WC={};if(typeof $=='undefined')$=function(id){return document.getElementById(id)};if(typeof $C=='undefined')$C=function(t){return document.createElement(t)};if(typeof $S=='undefined')$S={};S_WC.MyConf={af:true,bK:false,D:{bx:'sml_cli',by:'http://i2.sinaimg.cn/woocall/cli/',bv:'.js',bw:'woocall_swf_file',bM:380,au:326,aD:200,aF:350,aC:10,aq:true,aP:'RightBottom',ax:false},ao:{width:150,az:34,f:140,g:'http://woocall.sina.com.cn/iframe/textlink.html'},bA:'http://i1.sinaimg.cn/ent/woocall/Theme/',P:'http://woocall.games.sina.com.cn/cgi-bin/s_wc_corev2?v=z',V:'_CtrlBtn',F:'_ChatBox',aI:'S_WC',as:'_FLA_BOX',al:'_EXT_BOX',aM:10,bd:'r',bj:191,ba:62,bi:'与同时访问此页面的网友聊天',bb:true,bt:false,aO:'9icn4po62xa2nbcd',bG:0};function LdPgCfg(K){if(typeof SINA_WOOCALL_CONFIG!='undefined'){if(SINA_WOOCALL_CONFIG.URLCutCharLen){K.bG=SINA_WOOCALL_CONFIG.URLCutCharLen;}if(SINA_WOOCALL_CONFIG.Popup){K.D.ax=true;K.bb=false;}if(SINA_WOOCALL_CONFIG.DispPosi){K.D.aP=SINA_WOOCALL_CONFIG.DispPosi;}if(SINA_WOOCALL_CONFIG.CustomURL){K.Z=SINA_WOOCALL_CONFIG.CustomURL;}if(SINA_WOOCALL_CONFIG.TopicHeader){K.an=SINA_WOOCALL_CONFIG.TopicHeader;}if(SINA_WOOCALL_CONFIG.Stealth){K.bt=true;K.D.ax=true;K.bb=true;}if(SINA_WOOCALL_CONFIG.Disable){K.af=false;}if(SINA_WOOCALL_CONFIG.ExtraPanelDisable){K.ah=false;}if(SINA_WOOCALL_CONFIG.ExtraPanelURL){K.ao.aK=SINA_WOOCALL_CONFIG.ExtraPanelURL;}if(SINA_WOOCALL_CONFIG.SBarPosi){K.bd=SINA_WOOCALL_CONFIG.SBarPosi;}if(SINA_WOOCALL_CONFIG.AdFrameURL){K.ao.g=SINA_WOOCALL_CONFIG.AdFrameURL;}if(SINA_WOOCALL_CONFIG.StandPoint&&SINA_WOOCALL_CONFIG.StandPoint.L&&SINA_WOOCALL_CONFIG.StandPoint.R){K.bs={L:SINA_WOOCALL_CONFIG.StandPoint.L,M:SINA_WOOCALL_CONFIG.StandPoint.M?SINA_WOOCALL_CONFIG.StandPoint.M:false,R:SINA_WOOCALL_CONFIG.StandPoint.R}}}};if(typeof Util=='undefined')Util={};Util.dL=(navigator.appName.indexOf("Microsoft",0)!=-1)?true:false;Util.dz=function(){var ab=Util.dy();return ab.H;};Util.dy=function(){var ab={};if(window.innerWidth){ab.W=window.innerWidth;ab.H=window.innerHeight;}else if(document.documentElement&&document.documentElement.clientWidth){ab.W=document.documentElement.clientWidth;ab.H=document.documentElement.clientHeight;}else if(document.body){ab.W=document.body.clientWidth;ab.H=document.body.clientHeight;}return ab;};Util.dC=function(){var fd;if(typeof window.pageYOffset!='undefined'){fd=window.pageYOffset;}else if(typeof document.compatMode!='undefined'&&document.compatMode!='BackCompat'){fd=document.documentElement.scrollTop;}else if(typeof document.body!='undefined'){fd=document.body.scrollTop;}return fd;};Util.eX=function(fr,dv){var cJ="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";var cY=cJ+"0123456789";var eY='';for(var i=0;i<fr;i++){if(dv&&i==0){var eZ=Math.floor(Math.random()*cJ.length);eY+=cJ.substring(eZ,eZ+1);}else{var eZ=Math.floor(Math.random()*cY.length);eY+=cY.substring(eZ,eZ+1);}}return eY;};Util.ff=function(name,value,expires,eT,domain,fe){var dh=name+"="+escape(value)+((expires)?"; expires="+expires.toGMTString():"")+((eT)?"; eT="+eT:"")+((domain)?"; domain="+domain:"")+((fe)?"; fe":"");document.cookie=dh;};Util.dA=function(name){var dc=document.cookie;var prefix=name+"=";var cQ=dc.indexOf("; "+prefix);if(cQ==-1){cQ=dc.indexOf(prefix);if(cQ!=0)return null;}else cQ+=2;var dq=document.cookie.indexOf(";",cQ);if(dq==-1)dq=dc.length;return unescape(dc.substring(cQ+prefix.length,dq));};function woocall_swf_file_DoFSCommand(db,cK){switch(db){case 'setUserNumber':S_WC.bE.fi(cK);break;case 'setTitle':S_WC.bE.fg(cK);break;}};if(Util.dL){document.write('<SCRIPT event=FSCommand(db,cK) for='+S_WC.MyConf.D.bw+'>');document.write('woocall_swf_file_DoFSCommand(db, cK);');document.write('</SCRIPT>');}S_WC.bE=function(){this.Init.apply(this,arguments);};S_WC.bE.fg=function(aH){if(!Util.dL)return;if($S.S_WC.aY.style.display!='none'){if(aH.length>15)aH=aH.substr(0,14)+'..';$S.S_WC.bf.innerHTML=aH;}};S_WC.bE.fi=function(bJ){$S.S_WC.bh.innerHTML='在线'+bJ+'人';};S_WC.bE.prototype={J:null,df:null,ca:null,ce:null,cu:true,Init:function(J){if(J.af){this.J=J;if(this.J.bK)this.J.D.by=this.J.D.by+this.J.bK+'/';$S.S_WC={};this.ce=this.J.aI;this.cu=Util.dL;}},ae:function(){if(this.J&&this.J.af){this.cA();this.cw();this.cE();}},fh:function(n,cV){if(!this.J||!this.J.af)return;if(typeof cV=='string'){this.J.bA=cV;}var fv=this.J.bA+n+'/';this.J.bz={bC:fv+'boxlogo.gif',av:fv+'boxmin.gif',G:fv+'boxclose.gif',aB:fv+'boxmax.gif',aW:fv+'boxresume.gif',T:fv+"wc_style.css",bn:fv+"siner.gif",bc:fv+"barlogo.gif",be:fv+"barresume.gif",aZ:fv+"barclose.gif"};},cE:function(){if($(this.ce+this.J.V)){$(this.ce+this.J.V).onmousedown=this.bU(this);}},ci:function(eD){return function(dr){var e=(window.event)?window.event:dr;e.cancelBubble=true;eD.cd();};},cd:function(){if(this.aV){this.bO.style.left=this.aV.left+'px';if(Util.dL){this.bO.style.top=(Util.dC()+this.aV.top)+'px';}else this.bO.style.top=this.aV.top+'px';$S.S_WC.X=this.aV.left;$S.S_WC.Y=this.aV.top;this.bR(this.aV.width,this.aV.height);this.bO.style.width=this.aV.width+'px';this.bO.style.height=this.aV.height+'px';this.aV=null;var ep=this.cb.childNodes[1].childNodes[1];ep.src=this.J.bz.aB;ep.title="最大化";ep.alt="最大化";}else{this.aV={};this.aV.left=parseInt(this.bO.style.left);if(Util.dL)this.aV.top=parseInt(this.bO.style.top)-Util.dC();else this.aV.top=parseInt(this.bO.style.top);this.aV.width=this.bO.clientWidth;this.aV.height=this.bO.clientHeight;var aJ=this.J.D.aC;this.bO.style.left=aJ+'px';$S.S_WC.X=aJ;$S.S_WC.Y=aJ;if(Util.dL){this.bO.style.top=(Util.dC()+aJ)+'px';}else this.bO.style.top=aJ+'px';var dm=Util.dy();this.bR((dm.W-2*aJ),(dm.H-2*aJ));this.bO.style.width=(dm.W-2*aJ)+'px';this.bO.style.height=(dm.H-2*aJ)+'px';var ep=this.cb.childNodes[1].childNodes[1];ep.src=this.J.bz.aW;ep.title="还原";ep.alt="还原";}},bR:function(width,height){this.bZ.style.height=(height-this.cb.clientHeight-this.bN.clientHeight)+"px";this.bQ.style.width=width+'px';if(this.J.ah){this.bZ.style.width=(width-this.J.ao.width)+'px';this.bX.style.height=(height-this.cb.clientHeight-this.bN.clientHeight)+"px";this.bX.firstChild.height=(height-this.cb.clientHeight-this.bN.clientHeight-this.J.ao.az-this.J.ao.f);}else this.bZ.style.width=width+'px';if(Util.dL){this.bN.style.width=width+"px";this.cb.style.width=width+"px";}},bU:function(eD){return function(dr){eD.cf();};},cf:function(){this.bO.style.display='';this.bO.style.left='-5000px';this.aY.style.display='none';if(this.bX&&this.bX.innerHTML.length==0)this.bX.innerHTML="";if(!this.B){this.cc();this.B=true;}this.cz();var eV=this.ct(this.J.D.aP);if(this.cu){this.cb.style.width=this.bO.clientWidth+'px';this.bN.style.width=this.bO.clientWidth+'px';if($S.S_WC.X&&$S.S_WC.Y){this.bO.style.top=(Util.dC()+$S.S_WC.Y)+"px";this.bO.style.left=$S.S_WC.X+"px";}else{this.bO.style.top=(Util.dC()+eV.y)+"px";this.bO.style.left=eV.x+"px";}}else{if(!this.J.D.ax){this.bO.style.top=($S.S_WC.Y?$S.S_WC.Y:eV.y)+"px";this.bO.style.left=($S.S_WC.X?$S.S_WC.X:eV.x)+"px";}else{var cD=this;setTimeout(function(){var eV=cD.ct(cD.J.D.aP);cD.bO.style.top=($S.S_WC.Y?$S.S_WC.Y:eV.y)+"px";cD.bO.style.left=($S.S_WC.X?$S.S_WC.X:eV.x)+"px";},500);}}},cc:function(){var s=$C('script');s.src=this.J.P;s.type='text/javascript';document.body.appendChild(s);},cz:function(){var D=this.bO;if(this.J.ah){var am=this.bX;}var N=this.bQ;var ar=this.bZ;var aw=this.cb;var m=this.bN;var aU=new Util.dF(m,D);var aa=0;var aD=aw.clientHeight+m.clientHeight+this.J.D.aD;if(this.J.ah){aU.bm(this.J.D.aF+this.J.ao.width,aD,aa)}else aU.bm(this.J.D.aF,aD,aa);var cD=this;aU.eQ=function(){ar.style.visibility='hidden';};aU.eR=function(fz,cU){N.style.width=cU+"px";if(cD.J.ah){ar.style.width=(cU-cD.J.ao.width)+"px";}else ar.style.width=cU+"px";if(Util.dL){m.style.width=cU+"px";aw.style.width=cU+"px";}};aU.eO=function(fB,cT){ar.style.height=(cT-aw.clientHeight-m.clientHeight)+"px";N.style.height=(cT-aw.clientHeight-m.clientHeight)+"px";if(cD.J.ah){am.style.height=(cT-aw.clientHeight-m.clientHeight)+"px";am.firstChild.height=cT-aw.clientHeight-m.clientHeight-cD.J.ao.az-cD.J.ao.f;}};aU.eP=function(){ar.style.visibility='';if(cD.J.ah){ar.style.width=(D.clientWidth-cD.J.ao.width)+"px";N.style.width=D.clientWidth+"px";}else ar.style.width=D.clientWidth+"px";var ap=(D.clientHeight-aw.clientHeight-m.clientHeight);N.style.height=ap+"px";if(cD.J.ah){am.style.height=ap+"px";am.firstChild.height=ap-cD.J.ao.az-cD.J.ao.f;;}ar.style.height=ap+"px";};},cw:function(){var D=$C('div');var aw=$C('div');var U=$C('div');var bB=$C('div');var N=$C('div');if(this.J.ah)var ak=$C('div');var ar=$C('div');var m=$C('div');document.body.appendChild(D);D.appendChild(aw);D.appendChild(N);D.appendChild(m);aw.appendChild(bB);aw.appendChild(U);N.appendChild(ar);N.className='content';ar.className='Fla';ar.id=this.J.aI+this.J.as;if(this.J.D.aq){ar.style.width=this.J.D.bM+"px";ar.style.height=this.J.D.au+"px";}if(this.J.ah){N.appendChild(ak);ak.id=this.J.aI+this.J.al;ak.className='ExtPanel';ak.style.width=this.J.ao.width+'px';ak.style.height=this.J.D.au+'px';N.style.width=(this.J.D.bM+this.J.ao.width)+'px';}N.style.height=this.J.D.au+'px';aw.className='Hnd';U.className='Ctrl';U.innerHTML='<img src="'+this.J.bz.av+'" height="36" width="14" alt="最小化" title="最小化" /><img src="'+this.J.bz.aB+'" height="36" width="14"  alt="最大化" title="最大化" /><img src="'+this.J.bz.G+'"  height="36" width="16" alt="关闭" title="关闭" />';this.cl(U);var aL=document.title;if(aL.length>this.J.aM){aL=aL.substr(0,this.J.aM)+'..';}var aN='<img align="absmiddle" src="'+this.J.bz.bC+'" /> '+aL;var ft='<div class="Title">'+aN+'</div>';bB.innerHTML=ft;m.className='Bottom';var aT=$C('div');m.appendChild(aT);aT.className='Resize';this.cx(aw,D);this.bO=D;this.bQ=N;if(this.J.ah)this.bX=ak;this.cb=aw;this.bZ=ar;this.bN=m;if(this.cu)this.cm();this.cp(D);this.cn();var cD=this;if(this.J.D.ax){if(this.cu){this.S.onreadystatechange=function(){if(this.readyState=='complete'){cD.cf();}};}else{this.cf();}}if(this.J.bb){if(this.cu){this.S.onreadystatechange=function(){if(this.readyState=='complete'){if(cD.J.D.ax)cD.cf();cD.cI();if(cD.J.bt){cD.bO.style.left="-5000px";}}};}else{if(cD.J.D.ax)cD.cf();this.cI();if(cD.J.bt){cD.bO.style.left="-5000px";}}}},cm:function(){this.cB=window.onscroll;window.onscroll=this.cC(this);},cC:function(eD){return function(){if(typeof eD.cB=='function')eD.cB();if(eD.aY.display!='none'){eD.aY.style.top=(Util.dC()+Util.dz()-eD.aY.offsetHeight)+"px";}if($S.S_WC.X&&$S.S_WC.Y){eD.bO.style.top=(Util.dC()+$S.S_WC.Y)+"px";}else{var eV=eD.ct(eD.J.D.aP);eD.bO.style.top=(Util.dC()+eV.y)+"px";}};},cn:function(){er=$C("link");er.rel="stylesheet";er.type="text/css";er.href=this.J.bz.T;this.S=er;var head=document.getElementsByTagName("head")[0];head.appendChild(er);},cl:function(A){var et=A.childNodes[0];et.onmousedown=this.bT(this);var eA=A.childNodes[1];eA.onmousedown=this.ci(this);var eo=A.childNodes[2];eo.onmousedown=this.bP(this);},bT:function(eD){return function(dr){var e=(window.event)?window.event:dr;if(e){if(typeof e.layerY=='undefined')e.layerY=e.offsetY;if(e.layerY>50||e.layerY<-10)return;e.cancelBubble=true;var aA=this.parentNode.parentNode.parentNode;aA.style.left="-5000px";eD.cI();}};},cx:function(dJ,root){Util.ad.dK(dJ,root,0,document.body.clientWidth,0);if(this.cu){root.eN=function(x,y){this.children[1].style.visibility='hidden';};root.eM=function(x,y){this.children[1].style.visibility='visible';$S.S_WC.X=x;$S.S_WC.Y=y-Util.dC();};}else{root.eM=function(x,y){$S.S_WC.X=x;$S.S_WC.Y=y};}},cp:function(A){A.className=this.ce+this.J.F;if(this.J.ah){A.style.width=(this.J.D.bM+this.J.ao.width)+'px';}else A.style.width=this.J.D.bM+"px";if(this.cu)A.style.position="absolute";else A.style.position="fixed";A.style.zIndex=100;A.style.display='none';},ct:function(aQ){var fb={};switch(aQ.toLowerCase()){case 'middle':fb.x=(document.body.clientWidth-this.bO.clientWidth)/2;if(this.cu)fb.y=(Util.dz()-this.bO.clientHeight)/2;else fb.y=(Util.dz()-this.bO.clientHeight)/2;break;case 'rightbottom':fb.x=document.body.clientWidth-this.bO.clientWidth-10;if(this.cu)fb.y=Util.dz()-this.bO.clientHeight;else fb.y=Util.dz()-this.bO.clientHeight;break;case 'lefttop':fb.x=2;fb.y=2;break;case 'leftbottom':fb.x=2;if(this.cu)fb.y=Util.dz()-this.bO.clientHeight;else fb.y=Util.dz()-this.bO.clientHeight;break;case 'righttop':fb.x=document.body.clientWidth-this.bO.clientWidth-10;fb.y=2;break;default:var cL=aQ.split(':');fb.x=parseInt(cL[0]);fb.y=parseInt(cL[1]);break;}return fb;},cA:function(){var el=$C('div');document.body.appendChild(el);if(this.cu)el.style.position='absolute';else el.style.position='fixed';el.style.zIndex=99;el.className=this.J.aI+'_SBar';if(this.J.bd.toLowerCase()=='r'){el.style.left=(document.body.clientWidth-this.J.bj-10)+'px';}else if(this.J.bd.toLowerCase()=='l'){el.style.left=10+'px';}else el.style.left=(document.body.clientWidth-this.J.bj-10)+'px';el.style.top=(Util.dz()-this.J.ba)+'px';el.style.display='none';if(this.J.bz.bg){var eB=$C('div');eB.innerHTML='<img src="'+this.J.bz.bg+'" />';el.appendChild(eB);}var es=$C('div');es.className='mbody';el.appendChild(es);var en=$C('div');en.className='bartext';en.innerHTML='<span class="weltxt">'+this.J.bi+'</span>';en.onmousedown=this.bU(this);es.appendChild(en);var eq=$C('div');eq.className='infobar';eq.innerHTML='<span class="barlogoblk"><img src="'+this.J.bz.bc+'" align="absmiddle"/></span><span class="ctrlimg"><img src="'+this.J.bz.be+'" align="absmiddle" title="显示聊天窗口" alt="显示聊天窗口"/><img src="'+this.J.bz.aZ+'" align="absmiddle" title="关闭" alt="关闭"/></span><span class="olusr"> </span>';es.appendChild(eq);var eu=eq.childNodes[1].childNodes[0];eu.onmousedown=this.bU(this);var eC=eq.childNodes[1].childNodes[1];eC.onmousedown=this.bP(this);$S.S_WC.aY=this.aY=el;$S.S_WC.bf=en;$S.S_WC.bh=eq.childNodes[2];var cD=this;window.onresize=function(){cD.cq();};},cI:function(){this.aY.style.display='';var eE=0;if(this.J.bz.bg){eE=1;}this.aY.childNodes[eE].childNodes[0].innerHTML='<span class="weltxt">'+this.J.bi+'</span>';if(this.cu){this.aY.style.top=(Util.dC()+Util.dz()-this.aY.offsetHeight)+"px";}},cq:function(){if(this.J.bd.toLowerCase()=='r'){this.aY.style.left=(document.body.clientWidth-this.J.bj-10)+'px';}else if(this.J.bd.toLowerCase()=='l'){this.aY.style.left=10+'px';}else this.aY.style.left=(document.body.clientWidth-this.J.bj-10)+'px';this.aY.style.top=(Util.dz()-this.aY.offsetHeight)+'px';},bP:function(eD){return function(dr){var e=(window.event)?window.event:dr;e.cancelBubble=true;if(eD.aY.style.display!='none'){eD.bZ.innerHTML='';eD.aY.style.display='none';eD.bO.style.display='none';}else{if(confirm("确认要关闭Woocall吗？刷新页面可重新显示")){eD.bZ.innerHTML='';eD.aY.style.display='none';eD.bO.style.display='none';}}};}};function S_WC_Creese(){if(arguments.callee.dn)return;arguments.callee.dn=true;S_WC.MyConf.ah=true;S_WC.MyConf.bK='0_2_REV4';LdPgCfg(S_WC.MyConf);var bL=new S_WC.bE(S_WC.MyConf);bL.fh('Grey2');bL.ae();}; 

var __SafeMode = false;
if(typeof SINA_WOOCALL_CONFIG != 'undefined' && SINA_WOOCALL_CONFIG.SafeMode)
	__SafeMode = true;	


function DOMLoad(e,el)
{
 	if(DOMLoad.intiateOnce){return;};
		if(  el && el.runtimeStyle )
		{
			//IE5.0+
			var rState = false
			if(!__SafeMode){
				rState = (document.readyState.toLowerCase()=="complete" ||	
				document.readyState.toLowerCase()=="interactive");
			}
			else{
				rState = (document.readyState.toLowerCase()=="complete");
			}
			if(rState)
			{
				el.runtimeStyle.behavior = "none";
				S_WC_Creese();
			}
			else
			{
				return false;
			};
		}
 	DOMLoad.intiateOnce = true;
};

if (document.addEventListener) {
    document.addEventListener("DOMContentLoaded", S_WC_Creese, false);
}


/*@cc_on @*/
/*@if (@_win32)
	if(!__SafeMode){
		document.write("<script id=__ie_onload defer src=javascript:void(0)><\/script>");
		var __script = document.getElementById("__ie_onload");
		__script.onreadystatechange = function() 
		{    
			if (this.readyState == "complete") 
			{        
				S_WC_Creese(); // call the onload handler    
			}
		};	
	}
/*@end @*/

var ___oldonload = window.onload;
		
if (typeof window.onload != 'function') {
	window.onload = S_WC_Creese;
} else {
	window.onload = function() {
		___oldonload();
		S_WC_Creese();
	}
}
