//创建一个xmlHttpRequest对象
var xmlHttp = false;
function createXMLHttpRequest(){
	if(window.XMLHttpRequest){
		xmlHttp = new XMLHttpRequest();
	}
	else if(window.ActiveXObject){
		try{
			xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
		}catch(e){
			try{
				xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
			}catch(e){}
		}
	}
}
//发送请求函数
function send(url){
	createXMLHttpRequest();
	xmlHttp.open("POST",url,true);
	xmlHttp.onreadystatechange = proce; //指定响应的函数
	xmlHttp.send(null);
}
function proce(){
	 if(xmlHttp.readyState == 4){
		 if(xmlHttp.status == 200){	
			parseResults();
		 }
	 }
}	


    	
    	
	
	

