/* ************************************************************* */   
function ReponseSondage(NbRepMax,IdSondage)
{
	Formulaire=document.FORMSONDAGE;	
	FormulaireRempli=false;
	for(indice=0;indice<NbRepMax;indice++)
	{
		if(Formulaire.REPSONDAGE[indice].checked)
		{
			FormulaireRempli=true;
			NumRep=indice;
		}
	}
	if(!FormulaireRempli)
	{
		alert("Tu dois choisir parmis les réponse proposées.");
		return false;			
	}
	$(document).ready(function () 
	{			
			$.ajax({
			  url: "choixsondage.php",
			  cache: false,
			  type: "POST",
	      data: ({REP:NumRep,IDSOND:IdSondage}),
	      dataType: "text",
			  success: function(uneData){
			    $("#RESULTSONDAGE").html(uneData);
			  }
			});
	});
}

/* ************************************************************* */ 