function VerificationEmail(elm)
{
if (elm.value.indexOf("@") != "-1" &&
    elm.value.indexOf(".") != "-1" &&
    elm.value != "")
    return true;

return false;
}
function VerificationFormulaire()
{
if (VerificationEmail(document.formmail.e_mail) == false)
    {
    alert("Email invalide !");
    document.formmail.e_mail.focus();
    return false;
    }

return true;
}
function VerificationVide(elm)
{
if (elm.value != "") return true;
return false;
}
function VerificationMoteur()
{
if (VerificationVide(document.formulaire.texte) == false)
    {
    alert("Entrez un mot !");
    document.formulaire.texte.focus();
    return false;
    }

return true;
}

function menu(lf_list)
{
	if (lf_list.options[lf_list.selectedIndex].value != '')
	window.open(lf_list.options[lf_list.selectedIndex].value,'_top');
	return;
}
function CheckVote()
		// Permet de verifier que l'internaute a choisi une proposition avant de soumettre son vote
		{
			if (!(poll.SondageChoix[0].checked || poll.SondageChoix[1].checked || poll.SondageChoix[2].checked))
			{
				alert ("Vous devez choisir une proposition.")
				return(false)
			}
		}