function sendData(data, page, action, cible)
	{

		// data 	= variables à envoyer. Ex : mavar=12&mavar2=10
		// page		= page de script appelée
		// action 	= page de redirection à la fin du script
		// cible 	= id de la div cible
		if(document.all){var XhrObj = new ActiveXObject("Microsoft.XMLHTTP");}else{var XhrObj = new XMLHttpRequest();}
		var content = document.getElementById(cible);
		if(data == 'null'){XhrObj.open("GET", page);}
		else{XhrObj.open("GET", page+"?"+data);}
		XhrObj.onreadystatechange = function(){if(XhrObj.readyState == 4 && XhrObj.status == 200){content.innerHTML = XhrObj.responseText; if(action != ""){window.location.href = action;}}}    
		XhrObj.send(null);
	}
