function GetXmlHttpObject(){
	var xmlHttp=null;
	try{
 		xmlHttp=new XMLHttpRequest();
	}
	catch (e){
		//Internet Explorer
		try{
			xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
		}
		catch (e){
			xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
		}
	}
	return xmlHttp;
}
function getPage(url){ 
	xmlHttp=GetXmlHttpObject();
	if (xmlHttp==null){
		alert ("Browser does not support HTTP Request");
		return;
	}
	url=url+"?sid="+Math.random(); // fix to keep IE from cacheing the page

	xmlHttp.open("GET",url,true);

	xmlHttp.onreadystatechange=function() {
		if (xmlHttp.readyState == 4){
			document.getElementById("label").value = xmlHttp.responseText; // The ID of your Text box
		}else{
			// Your Code to do when you dont have your page loaded so a nice laoding image works
		} 
	}
 
	xmlHttp.send(null);
}