
function verifMail(a) {
 testm = 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)=='.') testm = true;
      }
    }
  }
 }
 if (testm==false) alert('Votre adresse e-mail est incorrecte.');
return testm ;

}

// fin du script -->
