/* (c) :torweg */
pulse_statistics={getHTTPObject:function(){var http=false;if(typeof ActiveXObject!='undefined'){try{http=new ActiveXObject("Msxml2.XMLHTTP");}catch(e){try{http=new ActiveXObject("Microsoft.XMLHTTP");}catch(E){http=false;}}}else if(window.XMLHttpRequest){try{http=new XMLHttpRequest();}catch(e){http=false;}}
return http;},record:function(url,pa,sid,enc){var http=false;pr=document.location.protocol;if((pr=='https:')&&(url.indexOf("https:")!==0)&&(url.indexOf("://")!==-1)){url="https://"+url.substring(url.indexOf("://")+3);}
if((url.indexOf('://')===-1)||(url.indexOf(pr+'//'+document.location.hostname)===0)){http=this.getHTTPObject();}
if(enc===true){try{pa=encodeURIComponent(pa);}catch(e){}}
url+='?path='+pa;url+='&serverId='+sid;try{url+='&ref='+encodeURIComponent(document.referrer);}catch(e){}
try{url+='&x='+screen.width+'&y='+screen.height;}catch(e){}
try{if(typeof window.innerWidth!='undefined'){url+='&vx='+window.innerWidth+'&vy='+window.innerHeight;}else{url+='&vx='+document.documentElement.clientWidth+'&vy='
+document.documentElement.clientHeight;}}catch(e){}
url+='&ts='+new Date().getTime();if(!http){try{img=new Image();img.src=url;}catch(e){}
return;}
url+='&xhr=true';if(http.overrideMimeType){http.overrideMimeType('text/xml');}
http.open("GET",url,true);http.onreadystatechange=function(){};http.send(null);}};
