function sendData(param, page, le_id)
{
	if(document.all) //Internet Explorer
	{
		var XhrObj = new ActiveXObject("Microsoft.XMLHTTP") ;
	}
	else //Mozilla
	{			
		var XhrObj = new XMLHttpRequest();
	}

	//définition de l'endroit d'affichage:
	var content = document.getElementById(le_id);

	XhrObj.open("POST", page);

	// Ok pour la page cible
	XhrObj.onreadystatechange = function()
	{
		if (XhrObj.readyState == 4 && XhrObj.status == 200)
			content.innerHTML = XhrObj.responseText ;
	}

	XhrObj.setRequestHeader('Content-Type','application/x-www-form-urlencoded; charset=iso-8859-1');
	XhrObj.send(param);
}//fin fonction SendData


function file(fichier)
{
	if(window.XMLHttpRequest) // FIREFOX
		xhr_object = new XMLHttpRequest();
	else if(window.ActiveXObject) // IE
		xhr_object = new ActiveXObject("Microsoft.XMLHTTP");
	else
		return(false);
	xhr_object.open("GET", fichier, false);
	xhr_object.send(null);
	if(xhr_object.readyState == 4)
		return(xhr_object.responseText);
	else return(false);
}
