/* xmlhttp */

function sendData(data, page, action, 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);

	}
	
