function valider_formulaire(thisForm)
{
    if (thisForm.nom.value == '')
	{
         alert('Le champ Votre Nom doit être rempli');
         thisForm.nom.focus();
         return false;
    }
	
    if (thisForm.adresse.value == '') 
	{
         alert('Le champ Votre Email doit être rempli');
         thisForm.adresse.focus();
         return false;
    }
    
    if (thisForm.message.value == '')
	{
         alert('Le champ Votre Message doit être rempli');
         thisForm.message.focus();
         return false;
    }
    
    {
	a = thisForm.adresse.value;
	valide1 = false;
	
	for(var j=1;j<(a.length);j++)
	{
		if (a.charAt(j)=='@')
		{
			if (j<(a.length-4))
			{
				for(var k=j;k<(a.length-2);k++)
				{
					if (a.charAt(k)=='.') valide1=true;
				}
			}
		}
	}
	if (valide1==false) alert('Veuillez saisir une adresse email valide.');
	return valide1;
	}

    
    return true;
}
