//****FORMULAIRE CLIENT****//
//***VERIFICATION DES DONNEES***//
function submitForm()
   {
   if ( (isCie()) && (isNom()) && (isFonction()) && (isEmail()) )
       {
       	return true;
       	}
       	else
      return false;
   }
function isCie()
{
   var str = document.contact.Cie.value;
   if ((str == "" || str == " "))
      {
      alert("\nIndiquer le nom de votre société.")
      document.contact.Cie.focus();
      return false;
      }
   return true;
   } 
function isNom()
   {
   var str = document.contact.Nom.value;
   if ((str == "" || str == " "))
      {
      alert("\nMerci d'indiquer votre nom.")
      document.contact.Nom.focus();
      return false;
      }
   return true;
   }
function isFonction()
{
   var str = document.contact.Fonction.value;
   if ((str == "" || str == " "))
      {
      alert("\nIndiquer votre fonction.")
      document.contact.Fonction.focus();
      return false;
      }
   return true;
   }    
function isEmail()
   {
   if (document.contact.Email.value == "") 
      {
      alert("\nVeuillez compléter l'adresse E-mail. Celle-ci vous servira pour recevoir notre documentation.")
      document.contact.Email.focus();
      return false; 
      }
   if (document.contact.Email.value.indexOf ('@',0) == -1 || 
       document.contact.Email.value.indexOf ('.',0) == -1)
      {
      alert("\nL'adresse E-mail n'est pas valide.");
      document.contact.Email.focus();
      return false;
      }
   else
      {
      return true;
      }
   } 
//****FOCUS CHAMP TEXTE EMAIL ****//
function FocusText(email)
{
if (email.value == email.defaultValue)
{
email.value = '';
}
}
function BlurText(email)
{
if (email.value == '')
{
email.value = email.defaultValue;
}
}  
function verifEmail()
{
if (document.formNewsletter.strEmail.value == ""||document.formNewsletter.strEmail.value == "Votre email") 
  {
  alert("\nIndiquez votre adresse E-mail.")
  document.formNewsletter.strEmail.focus();
  return false; 
  }
if (document.formNewsletter.strEmail.value.indexOf ('@',0) == -1 || 
   document.formNewsletter.strEmail.value.indexOf ('.',0) == -1)
  {
  alert("\nL'adresse E-mail n'est pas valide")
  document.formNewsletter.strEmail.focus();
  return false;
  }
else
  {
  return true;
  }
}