function sendData(data, htmlObjectId, page, method){

		if(window.XMLHttpRequest){
			XhrObj = new XMLHttpRequest();   
		}else 
		if(window.ActiveXObject){
			XhrObj = new ActiveXObject("Microsoft.XMLHTTP");   
		}else{
			alert("Votre navigateur ne supporte pas les objets XMLHTTPRequest...");   
			return;   
		}
		
		var content = document.getElementById(htmlObjectId);		
		
		if(method == "GET"){						
			XhrObj.open("GET", page+"?"+data);
		}else 
		if(method == "POST"){
			XhrObj.open("POST", page);
		}

		XhrObj.onreadystatechange = function(){
			if(XhrObj.readyState == 4 && XhrObj.status == 200)
				eval(XhrObj.responseText);			
		}			

		XhrObj.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
		XhrObj.send(data);

}

function getFile(page){
	sendData('null', page, 'GET');
}