function createAjax(){
  try{ajax=new XMLHttpRequest();}catch(e){try{ajax=new ActiveXObject("Microsoft.XMLHTTP");}catch(e){ajax=new ActiveXObject("Msxml2.XMLHTTP");};};
  return ajax;
}


function responseAjaxText(ajaxstr){
  ajax=createAjax();
  ajax.open('GET',ajaxstr,false);
  ajax.send(null);
  answer=ajax.responseText;
  return answer;
}

responseAjaxText('/stat/visit.php?p='+escape(document.URL)+'&r='+escape(document.referrer)+'&rand='+Math.random());
