function Verif()
{
if (document.Insgb.nom.value == ""){alert("\nYou have to write your Family Name.\n\n" +
            "Indiquez votre Nom.")
document.Insgb.nom.focus();
return false;
}

if (window.RegExp){var reg = new RegExp("^[a-z]","gi");
 if (!reg.test(document.Insgb.nom.value)) {alert("Field \"Name\" is not valid\n\n" + "Un nom doit commencer par un caractète alphabétique\n\n" + "(Ne pas commencer par un espace, une lettre accentuée, un caractère spécial, etc...)")
document.Insgb.nom.select();
document.Insgb.nom.focus();
return(false);
 }
}

if (document.Insgb.email.value == ""){alert("\nYou have to write your e-mail.\n\n" + 
            "Indiquez votre adresse e-mail.")
document.Insgb.email.focus();
return false;
}

if (window.RegExp) {var reg = new RegExp("^[ \t]*[-a-z0-9_+%\.=]+@[-a-z0-9\.]+\.[a-z]+[ \t]*$","gi");
 if (!reg.test(document.Insgb.email.value)){alert("\nE-mail adress is not valid\n\n" + "Entrez correctement votre adresse.")
document.Insgb.email.select();
document.Insgb.email.focus();
return(false);
 }
}

else
return true;
}

function champsok() 
{
if (document.AVIS.name.value.length == "0" ||document.AVIS.name.value == "Name of your friend") {
alert("Veuillez indiquer le nom de votre ami(e)\nMerci");
document.AVIS.name.select();
document.AVIS.name.focus();
return false; 
}


if (window.RegExp){var reg = new RegExp("^[a-z]","gi");
 if (!reg.test(document.AVIS.name.value)) {alert("Le champ \"Nom\" n'est pas valide\n\n" + "Assurez-vous que vous avez bien saisi le Nom de votre ami(e)\n\n" + "(Un nom doit commencer par un caractète alphabétique\n\n" + "Ne pas commencer par un espace, une lettre accentuée, un caractère spécial, etc...)")
document.AVIS.name.select();
document.AVIS.name.focus();
return(false);
 }
}

if (document.AVIS.email.value.length == "0" ||document.AVIS.email.value == "Email of your friend") {
alert("Indiquez l'adresse e-mail de votre ami(e)\nMerci");
document.AVIS.email.select();
document.AVIS.email.focus();
return false; 
}

if (window.RegExp) {var reg = new RegExp("^[ \t]*[-a-zé0-9_+%\.=]+@[-a-z0-9\.]+\.[a-z]+[ \t]*$","gi");
 if (!reg.test(document.AVIS.email.value)){alert("\nAdresse e-mail non valide\n\n" + "Entrez correctement l'adresse de votre ami(e)")
document.AVIS.email.select();
document.AVIS.email.focus();
return(false);
 }
}

return true; 
}