//function qui permet de verifier si les champs obligatoires sont remplis:
//c'est à dire : Nom, Prenom, Société si s'en est une, Email ou Tel, objet et messages
function verif_champs() {
	var msge_renvoi = "Le champs suivant n'a pas été saisi :";
	
	if (window.document.contact.societe.value==''){
		msge_renvoi = msge_renvoi + "\n - Société";
		alert (msge_renvoi);
		window.document.contact.societe.focus();
		return false;
	}
	
	if (window.document.contact.nom.value==''){
		msge_renvoi = msge_renvoi + "\n - Nom";
		alert (msge_renvoi);
		window.document.contact.nom.focus();
		return false;
	}
	
	if (window.document.contact.prenom.value==''){
		msge_renvoi = msge_renvoi + "\n - Prénom";
		alert (msge_renvoi);
		window.document.contact.prenom.focus();
		return false;
	}
	
	if (window.document.contact.fonction.value==''){
		msge_renvoi = msge_renvoi + "\n - Fonction";
		alert (msge_renvoi);
		window.document.contact.fonction.focus();
		return false;
	}
	
	
	if (window.document.contact.email.value==''){
		msge_renvoi = msge_renvoi + "\n - Mail";
		alert (msge_renvoi);
		window.document.contact.email.focus();
		return false;
	}
	
	if (window.document.contact.message.value==''){
		msge_renvoi = msge_renvoi + "\n - Message";
		alert (msge_renvoi);
		window.document.contact.message.focus();
		return false;
	}
	
	return true;
		
}