function verifFormContact(obj){
	obj.date_rdv_contact.value = obj.s_annee_date_fiches_d[obj.s_annee_date_fiches_d.selectedIndex].value+"-"+obj.s_mois_date_fiches_d[obj.s_mois_date_fiches_d.selectedIndex].value+"-"+obj.s_jour_date_fiches_d[obj.s_jour_date_fiches_d.selectedIndex].value;
		
	if(obj.nom_contact.value==""){
		obj.nom_contact.focus();
		messageAlert('<br /><br />Vous devez mettre votre nom !',"nom_contact");
		return false;
	}		
	
	if(obj.prenom_contact.value==""){
		obj.prenom_contact.focus();
		messageAlert('<br /><br />Vous devez mettre votre prénom !',"prenom_contact");
		return false;
	}	
	
	if(obj.adresse_contact.value==""){
		obj.adresse_contact.focus();
		messageAlert('<br /><br />Vous devez mettre votre adresse !',"adresse_contact");
		return false;
	}	
	if(obj.ville_contact.value==""){
		obj.ville_contact.focus();
		messageAlert('<br /><br />Vous devez mettre votre ville !',"ville_contact");
		return false;
	}	
	if(obj.cp_contact.value==""){
		obj.cp_contact.focus();
		messageAlert('<br /><br />Vous devez mettre votre code postal !',"cp_contact");
		return false;
	}	
	if(obj.tel_contact.value==""){
		obj.tel_contact.focus();
		messageAlert('<br /><br />Vous devez mettre votre téléphone !',"tel_contact");
		return false;
	}else if(! IsTel(obj.tel_contact.value, true) ){
		obj.tel_contact.focus();
		messageAlert('<br /><br />Le numéro de téléphone n\' est pas correct!',"tel_contact");
		return false;
	}
	
	if(obj.email_contact.value==""){
		obj.email_contact.focus();
		messageAlert('<br /><br />Vous devez mettre votre email !',"email_contact");
		return false;
	}else if(! IsEmail(obj.email_contact.value)){
		obj.email_contact.focus();
		messageAlert('<br /><br />Le mail entré n\'est pas valide !',"email_contact");
		return false;
	}
		
	if($('demande_rappel_0') && $('demande_rappel_1')){
		if((!obj.demande_rappel_0.checked) && (!obj.demande_rappel_1.checked)) {
			obj.demande_rappel_0.focus();
			messageAlert('<br /><br />Quand voulez-vous être contacté ?',"demande_rappel_2");
			return false;
		}		
		if(obj.demande_rappel_1.checked && obj.s_jour_date_fiches_d.selectedIndex==0){
			obj.s_jour_date_fiches_d.focus();
			messageAlert('<br /><br />Vous devez choisir un jour !',"s_jour_date_fiches_d");
			return false;
		}		
		if(obj.demande_rappel_1.checked &&obj.s_mois_date_fiches_d.selectedIndex==0){
			obj.s_mois_date_fiches_d.focus();
			messageAlert('<br /><br />Vous devez choisir un mois !',"s_mois_date_fiches_d");
			return false;
		}		
		if(obj.demande_rappel_1.checked && obj.s_annee_date_fiches_d.selectedIndex==0){
			obj.s_annee_date_fiches_d.focus();
			messageAlert('<br /><br />Vous devez choisir une année !',"s_annee_date_fiches_d");
			return false;
		}
	}
		
	if($('demande_rappel_2') && $('demande_rappel_3')){
		if((!obj.demande_rappel_2.checked) && (!obj.demande_rappel_3.checked)) {
			obj.demande_rappel_2.focus();
			messageAlert('<br /><br />Quand voulez-vous être contacté ?',"demande_rappel_2");
			return false;
		}		
		if(obj.demande_rappel_3.checked && obj.s_jour_date_fiches_d.selectedIndex==0){
			obj.s_jour_date_fiches_d.focus();
			messageAlert('<br /><br />Vous devez choisir un jour !',"s_jour_date_fiches_d");
			return false;
		}		
		if(obj.demande_rappel_3.checked &&obj.s_mois_date_fiches_d.selectedIndex==0){
			obj.s_mois_date_fiches_d.focus();
			messageAlert('<br /><br />Vous devez choisir un mois !',"s_mois_date_fiches_d");
			return false;
		}		
		if(obj.demande_rappel_3.checked && obj.s_annee_date_fiches_d.selectedIndex==0){
			obj.s_annee_date_fiches_d.focus();
			messageAlert('<br /><br />Vous devez choisir une année !',"s_annee_date_fiches_d");
			return false;
		}		
	}
	
	if(obj.creneau_contact.selectedIndex==0){
		obj.creneau_contact.focus();
		messageAlert('<br /><br />Vous devez choisir un créneau horaire !',"creneau_contact");
		return false;
	}	
	
	if(obj.message_contact.value=="" || obj.message_contact.value=="Ici votre message ..." ){
		obj.message_contact.focus();
		messageAlert('<br /><br />Vous devez spécifier votre message !',"message_contact");
		return false;
	}	
	
	return true;
}

function verifFormContacttraiteur(obj){
	obj.date_rdv_contact_traiteur.value = obj.s_annee_date_fiches_d1[obj.s_annee_date_fiches_d1.selectedIndex].value+"-"+obj.s_mois_date_fiches_d1[obj.s_mois_date_fiches_d1.selectedIndex].value+"-"+obj.s_jour_date_fiches_d1[obj.s_jour_date_fiches_d1.selectedIndex].value;
		
	if(obj.nom_contact_traiteur.value==""){
		obj.nom_contact_traiteur.focus();
		messageAlert('<br /><br />Vous devez mettre votre nom !',"nom_contact_traiteur");
		return false;
	}		
	
	if(obj.prenom_contact_traiteur.value==""){
		obj.prenom_contact_traiteur.focus();
		messageAlert('<br /><br />Vous devez mettre votre prénom !',"prenom_contact_traiteur");
		return false;
	}	
	
	if(obj.adresse_contact_traiteur.value==""){
		obj.adresse_contact_traiteur.focus();
		messageAlert('<br /><br />Vous devez mettre votre adresse !',"adresse_contact_traiteur");
		return false;
	}	
	if(obj.ville_contact_traiteur.value==""){
		obj.ville_contact_traiteur.focus();
		messageAlert('<br /><br />Vous devez mettre votre ville !',"ville_contact_traiteur");
		return false;
	}	
	if(obj.cp_contact_traiteur.value==""){
		obj.cp_contact_traiteur.focus();
		messageAlert('<br /><br />Vous devez mettre votre code postal !',"cp_contact_traiteur");
		return false;
	}	
	if(obj.tel_contact_traiteur.value==""){
		obj.tel_contact_traiteur.focus();
		messageAlert('<br /><br />Vous devez mettre votre téléphone !',"tel_contact_traiteur");
		return false;
	}else if(! IsTel(obj.tel_contact_traiteur.value, true) ){
		obj.tel_contact_traiteur.focus();
		messageAlert('<br /><br />Le numéro de téléphone n\' est pas correct!',"tel_contact_traiteur");
		return false;
	}
	
	if(obj.email_contact_traiteur.value==""){
		obj.email_contact_traiteur.focus();
		messageAlert('<br /><br />Vous devez mettre votre email !',"email_contact_traiteur");
		return false;
	}else if(! IsEmail(obj.email_contact_traiteur.value)){
		obj.email_contact_traiteur.focus();
		messageAlert('<br /><br />Le mail entré n\'est pas valide !',"email_contact_traiteur");
		return false;
	}
				
	if($('demande_rappel_2_traiteur') && $('demande_rappel_3_traiteur')){
		if((!obj.demande_rappel_2_traiteur.checked) && (!obj.demande_rappel_3_traiteur.checked)) {
			obj.demande_rappel_2_traiteur.focus();
			messageAlert('<br /><br />Quand voulez-vous être contacté ?',"demande_rappel_2_traiteur");
			return false;
		}		
		if(obj.demande_rappel_3_traiteur.checked && obj.s_jour_date_fiches_d1.selectedIndex==0){
			obj.s_jour_date_fiches_d1.focus();
			messageAlert('<br /><br />Vous devez choisir un jour !',"s_jour_date_fiches_d1");
			return false;
		}		
		if(obj.demande_rappel_3_traiteur.checked &&obj.s_mois_date_fiches_d1.selectedIndex==0){
			obj.s_mois_date_fiches_d1.focus();
			messageAlert('<br /><br />Vous devez choisir un mois !',"s_mois_date_fiches_d1");
			return false;
		}		
		if(obj.demande_rappel_3_traiteur.checked && obj.s_annee_date_fiches_d1.selectedIndex==0){
			obj.s_annee_date_fiches_d1.focus();
			messageAlert('<br /><br />Vous devez choisir une année !',"s_annee_date_fiches_d1");
			return false;
		}		
	}
	
	if(obj.creneau_contact_traiteur.selectedIndex==0){
		obj.creneau_contact_traiteur.focus();
		messageAlert('<br /><br />Vous devez choisir un créneau horaire !',"creneau_contact_traiteur");
		return false;
	}	
	
	if(obj.message_contact_traiteur.value=="" || obj.message_contact_traiteur.value=="Ici votre message ..." ){
		obj.message_contact_traiteur.focus();
		messageAlert('<br /><br />Vous devez spécifier votre message !',"message_contact_traiteur");
		return false;
	}	
	
	return true;
}