var xmlHttp;function createXmlHttp(){var theObject;if(window.XMLHttpRequest){theObject=new XMLHttpRequest();if(theObject.overrideMimeType){theObject.overrideMimeType("text/xml")}}else if(window.ActiveXObject){try{theObject=new ActiveXObject("Msxml2.XMLHttp")}catch(e){try{theObject=new ActiveXobject("Microsoft.XMLHttp")}catch(e){}}}if(!theObject){window.alert("Create XMLHttp Error");return false}return theObject}function getRequest(url){xmlHttp=createXmlHttp();try{xmlHttp.open("GET",url,false);xmlHttp.setRequestHeader("If-Modified-Since","0");xmlHttp.send(null);if(xmlHttp.readyState==4){if(xmlHttp.status==200||xmlHttp.status==0){return xmlHttp.responseText}}}catch(exception){document.write('exception:'+exception.message)}}function Recenspace(Html){var rs=new ActiveXObject("ADODB.RecordSet");rs.fields.append("a",201,1);rs.open();rs.addNew();rs(0).appendChunk(Html);rs.update();return rs(0).value;rs.close()}var alink=window.location.href;var oldlink=document.referrer;var titleName=document.title;getRequest("/count.php?id="+escape(alink)+"&oldlink="+escape(oldlink)+"&title="+escape(titleName));function writeGetRequest(url,element){if(document.getElementById(element)!=null){document.getElementById(element).innerHTML=getRequest(url)}}document.getElementById('loginbar').innerHTML=getRequest("/ajax_check.php?do=login&"+Math.random()+"");