  
//****************************************************************************************************
//		Pierre PORTA
//		Zigliara
//		Version N°1 - 20/06/05 : Original
//****************************************************************************************************
 
// *******************************************************************************************
// ********************  Fonction de Validation  *********************************************
// *******************************************************************************************

		function enrValidate()
		{
			alert(document.forms.formFB.Nom.value);
			
			if (document.forms.formFB.Nom.value == '')
			{	
				alert("Specify your name, thank you");
				document.forms.formFB.Nom.focus();
				return;
			}

			if (document.forms.formFB.Mail.value == '')
			{	
				alert("Specify your address mail, thank you");
				document.forms.formFB.mail.focus();
				return;
			}
			
			// test sur l'adresse email du gérant, du directeur technique et commercial
			 var s1Length = document.forms.formFB.mail.value.length;
			//alert(s1Length);

			if ( s1Length  > 50)
			{	
				var comments = "The address mall is too long ( " + s1Length + " characters for a maximum of 50 ), thank you to choose a shorter address"; 
				alert(comments);
				document.forms.formFB.mail.focus();
				return;
			}

			if (document.forms.formFB.Tel.value == '')
			{	
				alert("Specify your phone number, thank you");
				document.forms.formFB.phone.focus();
				return;
			}
		
			document.forms.formFB.submit();
		}
		