var xmlHttp;
function createXMLHttpRequest()
{
try{
	xmlHttp=new ActiveXObject('Msxml2.XMLHTTP');
}catch(e){
	try{
		xmlHttp=new XMLHttpRequest();
	}catch(e){
	   try{
		   xmlHttp=new ActiveXObject('Microsoft.XMLHTTP');
	   }catch(e){}
    }  
  }
}
function adcount(address)
{
var str;
if(address!="")
{
	str="/adclick.asp?trim="+Date()+"&"+address;
}
createXMLHttpRequest();
xmlHttp.open("GET",str);
xmlHttp.onreadystatechange=function(){
	handleStateChange();
}
xmlHttp.send(null);
}
function handleStateChange()
{ 

 if(xmlHttp.readyState==4)
	{	
    if(xmlHttp.status==200)
		{   
			window.open(xmlHttp.responseText,"","")
		}
	}	
}