// JavaScript Document
//VALIDATION BESOIN SOUTIEN PARENT
		function check (f) {
		//f = document.forms["form1"] ;
		
		if (f.civilite.selectedIndex == 0 ) { alert ("ATTENTION : \n Vous n'avez pas mentionné votre Civilité.") ; f.civilite.focus();  return ; } 
		
		var champs = new Array ("nomT" , "prenomT" ,"adresse" , "CP" ,"ville"  ) ; 
		var champsDisp = new Array ("NOM" , "PRENOM" ,"ADRESSE" , "CODE POSTAL" ,"VILLE"  ) ; 
		
		for ( i =0 ; i< champs.length ; i++ ) {
				if ( f.elements[ champs[i] ].value == ""  ) 
						{ 
						msg = "ATTENTION : \n Vous n'avez pas renseigné le champ '" + champsDisp[i]+"'.\n C'est un champ OBLIGATOIRE." ; 
						alert (msg) ;
						 f.elements[ champs[i] ].focus() ; return ;
						} 
		}
		
		// OK. Validation du formulaire
		f.elements[ "matieres" ].value = "" ; 
		for ( i =0 ; i< f.choix_matieres.length ; i++ ) {
				if ( f.choix_matieres.options[i].selected == true  ) 
						{ 
						 f.elements[ "matieres" ].value += f.choix_matieres.options[i].value +"|"  ; 
						} 
		}
		
		f.submit() ; 
		}