rvc=new Object();rvc.Pane=function(ysb){this.bottomThreshold=50;this.scrollContainerId=ysb;};rvc.Pane.prototype.resize=function(){var bmk=document.getElementById(this.scrollContainerId);bmk.style.height=(document.documentElement.clientHeight-225)+'px';bmk=null;this.scrollToEnd();};rvc.Pane.prototype.scrollToEnd=function(){var bmk=document.getElementById(this.scrollContainerId);bmk.scrollTop=bmk.scrollHeight;bmk=null;};rvc.Pane.prototype.isScrollable=function(){var bmk=document.getElementById(this.scrollContainerId);var fgfb=0;if(bmk.scrollHeight>0)fgfb=bmk.scrollHeight;else if(bmk.offsetHeight>0)fgfb=bmk.offsetHeight;var pfr=(fgfb-bmk.scrollTop-((bmk.style.pixelHeight)?bmk.style.pixelHeight:bmk.offsetHeight)<this.bottomThreshold);bmk=null;return pfr;};var tsp=undefined;var ncr=true;var sxcb=true;var fjmb=true;function qsm(qgb,srf,wjb){var dnl=document.getElementById(qgb);if((srf!="")&&(tsp=lfbb("GET",("/?Command="+srf+"&ID="+wjb))))tsp.request();dnl.onmouseover=function(){document.onselectstart=null;document.getElementsByTagName('body')[0].style.MozUserSelect='text';qlw=document.getElementsByTagName('table');for(var ncfb=0;ncfb<qlw.length;ncfb++){qlw[ncfb].style.MozUserSelect='text';}};dnl.onmouseout=function(){document.onselectstart=function(){return(false);};document.getElementsByTagName('body')[0].style.MozUserSelect='none';qlw=document.getElementsByTagName('table');for(var ncfb=0;ncfb<qlw.length;ncfb++){qlw[ncfb].style.MozUserSelect='none';}};}function sqn(srf,wjb,rzgb){var scc=cvrb();scc.open("GET",(hwjb+"XML/LogTemplate.xml?Command="+srf+"&ID="+wjb+jhtb()),true);if(rzgb!=undefined)scc.onreadystatechange=rzgb;scc.send(null);return(scc);}function kvmb(lnmb){var rkh=0;if(lnmb.length>=4){if((lnmb.charAt(0)=='[')&&(lnmb.charAt(3)==']'))rkh=parseInt(lnmb.substring(1,3));}return(rkh);}function fhmb(ktj){var fnpb="";switch(ktj){case 1:fnpb="#009900;";break;case 2:fnpb="#0000ff;";break;case 3:fnpb="#ca6500;";break;case 4:fnpb="#640986;";break;case 5:fnpb="#fff;";break;case 6:fnpb="#fff;";break;default:fnpb="#000000;";}if((ktj>=10)&&(ktj<=19))fnpb+="background:#e8e8e8";else if((ktj>=20)&&(ktj<=29))fnpb+="background:#ffffd9";else if((ktj>=30)&&(ktj<=39))fnpb+="background:#ff6600";else if((ktj>=40)&&(ktj<=49))fnpb+="background:#afd9ee";else if(ktj==5)fnpb+="background:#ff0000";else if(ktj==6)fnpb+="background:#000000";else fnpb+="background:#fff";return(fnpb);}function zbb(ktj){var fnpb="#000000";if((ktj % 10)==0)fnpb="#009900";fnpb+=";background:#fff;";return(fnpb);}function nqm(tvr,vrg,ssmb,dfpb,nmr){var fnz=0;var hzb=false;if(tvr!=undefined){if(tvr.readyState==4){if(tvr.status==200){var tcm=(dfpb!=undefined)?dfpb:fhmb;var fp="";var gpdb="";var rwy=xxg(tvr.responseText);mzbb=rwy.getElementsByTagName("line");if(ncr&&ssmb=="log"){document.getElementById(ssmb).innerHTML="";ncr=false;}if(sxcb&&ssmb=="SpyLog"){document.getElementById(ssmb).innerHTML="";sxcb=false;}if(fjmb&&ssmb=="ChatLog"){document.getElementById(ssmb).innerHTML="";fjmb=false;}for(var kzqb=0;(kzqb<mzbb.length);kzqb++){hzb=false;if(mzbb[kzqb].length!=0){var wsp=fgpb(mzbb[kzqb].childNodes[0].nodeValue);wsp=wsp.replace(new RegExp("%","g"),"&#37;");fp=mpy(wsp);if((hn!="")&&(hn!=undefined)){var bwgb=fp.toLowerCase();if(bwgb.indexOf(hn.toLowerCase())<0)hzb=true;}if(!hzb){gpdb+="<div style='color:"+tcm(kvmb(fp))+";'>";if(nmr)fp=fp.substr(5);fp=fp.replace("  ","&nbsp;&nbsp;");fp=fp.replace("&nbsp;  ","&nbsp;&nbsp;");gpdb+=fp+"</div>";}}}dscb(vrg,ssmb,gpdb);fnz=1;}}else fnz=2;}return(fnz);}function dscb(vrg,ssmb,hnpb){var qtb=vrg.isScrollable();if((hnpb.length>0)&&(document.getElementById(ssmb)!=undefined))document.getElementById(ssmb).innerHTML+=hnpb;if(qtb==true){vrg.scrollToEnd();document.getElementById(vrg.scrollContainerId).style.width="100%";}}function dmfb(pk,cnlb){document.onselectstart=null;document.getElementsByTagName('body')[0].style.MozUserSelect='text';qlw=document.getElementsByTagName('table');for(var ncfb=0;ncfb<qlw.length;ncfb++){qlw[ncfb].style.MozUserSelect='text';}if(document.selection){var lml=document.body.createTextRange();lml.moveToElementText(document.getElementById(pk));lml.select();if(AW.ie&&cnlb)lml.execCommand("Copy");}else if(window.getSelection){var lml=document.createRange();lml.selectNode(document.getElementById(pk));window.getSelection().addRange(lml);}document.onselectstart=Function("return (false);");}function nxfb(ssmb){document.getElementById(ssmb).innerHTML="";}function hqtb(){wnj.setChecked(true,false);dmfb('log');}