var xmlHttp;function ptcjax(str,file,divid){ xmlHttp=GetXmlHttpObject();if (xmlHttp==null) { alert ("Browser does not support HTTP Request"); return; }var url=file;url=url+str;url=url+"&sid="+Math.random();xmlHttp.onreadystatechange=function() {if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete") {  document.getElementById(divid).innerHTML=xmlHttp.responseText;  document.getElementById("hidertbot").innerHTML="";  } }xmlHttp.open("GET",url,true);xmlHttp.setRequestHeader("Content-Type", "text/html");xmlHttp.send(null);}function fourjax(str,file,divid, divhide){ xmlHttp=GetXmlHttpObject();if (xmlHttp==null) { alert ("Browser does not support HTTP Request"); return; }var url=file;url=url+str;url=url+"&sid="+Math.random();xmlHttp.onreadystatechange=function() {if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete") {  document.getElementById(divid).innerHTML=xmlHttp.responseText;  document.getElementById(divhide).innerHTML="";  } }xmlHttp.open("GET",url,true);xmlHttp.setRequestHeader("Content-Type", "text/html");xmlHttp.send(null);}function updatejax(str,file,divid){ xmlHttp=GetXmlHttpObject();if (xmlHttp==null) { alert ("Browser does not support HTTP Request"); return; }var url=file;url=url+str;url=url+"&sid="+Math.random();xmlHttp.onreadystatechange=function() {if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete") {  document.getElementById(divid).innerHTML=xmlHttp.responseText;  setTimeout("changeVisibility('showupdate', 'hidden')", '1500'); ptcjax('value','lib.php?&ta=updatestats&val=','stats');  } }xmlHttp.open("GET",url,true);xmlHttp.setRequestHeader("Content-Type", "text/html");xmlHttp.send(null);} function changeVisibility(element, action){document.getElementById(element).style.visibility=action;} function GetXmlHttpObject(){var xmlHttp=null;try { // Firefox, Opera 8.0+, Safari xmlHttp=new XMLHttpRequest(); }catch (e) { //Internet Explorer try  {  xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");  } catch (e)  {  xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");  } }return xmlHttp;}