function aide2(n){
	if ( n==1 )
		alert ("Champ EMAIL :\nCe champ doit contenir l'email que vous nous avez donné à l'inscription. Il doit être de la forme : nom@domaine.com.\n\nChamp MOT DE PASSE :\nCe champ doit contenir le mot de passe de votre compte. Il ne doit contenir aucun caractère spécial.");
}
	
function verifier2()
{
	var msg="Attention!\n\n";
	
	adresse = document.authentification.login.value;
	var place = adresse.indexOf("@",1);
	var point = adresse.indexOf(".",place+1);
	if (!(place > -1)||!(adresse.length >2)||!(point > 1))
		msg+="* le champ login est incorrect, le login est aussi l'adresse email que vous avez inscrit à l'inscription.\n";
	
	var valid = "abcdefghijklmnopqrstuvwxyz0123456789"		
    var ok = "yes";
    var temp = "";
    for (var i=0; i<document.authentification.password.value.length; i++) {
      temp = "" + document.authentification.password.value.substring(i, i+1);
      if (valid.indexOf(temp) == "-1") ok = "no";
      }
    if (ok == "no") {
    msg+="* le champ mot de passe contient des caractères non alphanumériques\n";
	}
		
	if (document.authentification.password.value.length<5)
		msg+="* le champ mot de passe est trop court (> à 5 caractères)\n";
	if (document.authentification.password.value.length>20)
		msg+="* le champ mot de passe est trop long (< à 20 caractères)\n";
		
	if (msg!="Attention!\n\n")
		alert (msg);
	else
	{
		document.authentification.envoye.value="vrai";
		document.authentification.submit();
	}
}	
