
var object;

function getobj(){
	
try{ object = new XMLHttpRequest(); }
								 
	catch(e){
		
	try{ object = Activeobjectect('Msxml.XMLHTTP');}	
	
	catch(e){
		
	object = Activeobjectect('Microsoft2.XMLHTTP');	
		
		}
	}

return object;	
}



function stat1(stat,local,source) {
object = getobj();	
	
	if(object == null){ alert('DEAD!'); return;} 
	
	url="js/stattrack.php?add="+stat+"&local="+local+"&source="+source;
	
	object.onreadystatechange = function (){ 
if(object.readyState == 4){
	return object.responseText;
	}
}
object.open('GET',url,true);
object.send(null);
	
	
	
	
	

}