/**
 * @author j
 */

			/*
			permet d'afficher l'écran de création d'une réunion
			*/
function supprCov(a){	
if (confirm('êtes vous sûr de vouloir annuler votre offre de covoiturage?')) {
	var oXmlHttp = zXmlHttp.createRequest();
	
	document.getElementById("loadingMsg").style.display = "block";
	
	oXmlHttp.open('get', 'inc/userPanel/suppr_cov.php?id=' + a, true);
	oXmlHttp.onreadystatechange = function(){
		if (oXmlHttp.readyState == 4) { //alert(oXmlHttp.status);
			document.getElementById("loadingMsg").style.display = "none";
			if (oXmlHttp.status == 200) {
/*
				document.getElementById("displayListe").style.display = 'none';
				document.getElementById("displayReunion").style.display = 'none';
*/
				document.getElementById("displayCrea").style.display = 'block';
				document.getElementById("displayCrea2").innerHTML = oXmlHttp.responseText;
				resumeActif();
			}
			else {
				document.getElementById("displayCrea").style.display = 'block';
				document.getElementById("displayCrea").innerHTML = oXmlHttp.statusText;
			}
		}
	};
	oXmlHttp.send(null);
}	
else{
}
}
