function ajax(url,id){
	//Create a new XMLHttpRequest object to talk to the Web server
	var xmlhttp=false;
	try{
		xmlhttp=new ActiveXObject("Msxml2.XMLHTTP");
	}
	catch(e){
		try{
			xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
		}
		catch(e2){
			xmlhttp=false;
		}
	}
	if(!xmlhttp&&typeof XMLHttpRequst!='underfined'){
		xmlhttp=new XMLHttpRequst();
	}
	//callServer
	xmlhttp.open("GET",url,true);
	xmlhttp.onreadystatechange=function(){
			if(xmlhttp.readyState==4){
				var response=xmlhttp.responseText;
				document.getElementById(id).innerHTML+=response;
			}
		};
	xmlhttp.send(null);
}

