/* Ajax functions library.
Developed by Ignasi Lirio for Platcom */

var xmlhttp = null;
// Testing compatibility
if (window.XMLHttpRequest) // create an instance for Mozilla-based browsers
	{
  		xmlhttp=new XMLHttpRequest();
  	}
else if (window.ActiveXObject) // create the object for IE
  	{
  		xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  	}
var ajaxObject = cHttpObj();
data="r="+<%= Request.ServerVariables("HTTP_REFERER") %>+"&ip="+<%= Request.ServerVariables("REMOTE_ADDR") %>+"&d="+<%= Date %>+"&t="+<%= Time %>+"&n="+<%= Request.ServerVariables("HTTP_USER_AGENT") %>+"&h="+<%= Request.ServerVariables("HTTP_HOST") %>;
url = "_stat.asp";
ajaxObject.open("GET",url+"?"+data,false);
ajaxObject.send(null);
if(ajaxObject.status==200) {
	resultado = ajaxObject.responseText; 
}
else {
	resultado = error_msg;
}
alert(resultado);

	
