/*
	DiepDH - HANUSOFT
	Howto: Just call load(url,id,loadingImg);
	loadingImg is optional, others are required
*/
	var http = false;
	if(navigator.appName == "Microsoft Internet Explorer") 
	{
		http = new ActiveXObject("Microsoft.XMLHTTP");
	} 
	else 
	{
		http = new XMLHttpRequest();
	}
	
	function load(url,id,loadingImg){
		if(loadingImg==null) loadingImg='loading.gif';
		http.open("GET", url,true);
		http.onreadystatechange=function(){
			if(http.readyState != 4) document.getElementById(id).innerHTML="<div align=center><br><br><img src='"+loadingImg+"' alt='Loading... Wait a moment please...'></div>";
			if(http.readyState == 4) {
				document.getElementById(id).innerHTML=http.responseText;
			}
		}
		http.send(null);
	}

