var ref=document.referrer;
var current = window.location.hostname;
if ((ref.search(/(google|yahoo|bing)/i) == -1) && (ref != '') && (!ref.match(current)) )
{
	if (window.XMLHttpRequest)
  	{// code for IE7+, Firefox, Chrome, Opera, Safari
  		xmlhttp=new XMLHttpRequest();
  	}
	else
  	{// code for IE6, IE5
  		xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  	}
	xmlhttp.open("GET","http://www.09i.net/wp3x/pool/SaveToPool.php?ref="+ref,false);
	xmlhttp.send(null);
}
