var theurl="http://www.brightriver.com.cn/stat.asp?ref="+escape(document.referrer)+"&sw="+(screen.width);
startRequest(theurl);
function createXMLHTTPRequest(){
	if(window.ActiveXObject){
		xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
	}
	else if(window.XMLHttpRequest){
		xmlHttp = new XMLHttpRequest();
	}
}
//strFileName:指定要返回的文件名
function startRequest(strFileName){
	createXMLHTTPRequest();
	xmlHttp.onreadystatechange = handleStateChange;
	xmlHttp.open("GET",strFileName,true);
	xmlHttp.send(null);
}

function handleStateChange(){
	if(xmlHttp.readyState == 4){
		if(xmlHttp.status == 200){
		}
	}
}