function doo(str){
	document.getElementById("server_status").innerHTML=str.responseText
}
function launch(){
	GetXmlHttpObject("includes/aion_server_status.php",doo,"")
}
function GetXmlHttpObject(url, handler, strSend) {
	var objXmlHttp=null
	try {objXmlHttp = new XMLHttpRequest();            }
		catch(e){try{objXmlHttp = new ActiveXObject("Microsoft.XMLHTTP");}
			catch(e){try{objXmlHttp = new ActiveXObject("Msxml2.XMLHTTP");}    
				catch(e){doo("error XMLHTTP")}
			}
		}
	objXmlHttp.onreadystatechange=function(){
		if (objXmlHttp.readyState==4 || objXmlHttp.readyState=="complete"){
			handler(objXmlHttp)
		}
	}
	objXmlHttp.open("GET",url,true)
	objXmlHttp.setRequestHeader("Content-Type", "text/html")
	objXmlHttp.send(strSend)
}
launch();

