<!-- Sauter

function verif(lemail) {
    var arobase = lemail.indexOf("@"); var point = lemail.lastIndexOf(".")
    if((arobase < 3)||(point + 2 > lemail.length)||(point < arobase+3)) 
        return false
        return true
}

function VerifLog(theForm)
{

   if (theForm.Login.value == "")
   {
      alert("L\'entrée d\'un login est obligatoire.\nRecommencez SVP");
      theForm.Login.focus();
      return (false);
   }

   if (theForm.Pwd.value == "") 
   { 
      alert("L\'entrée d\'un mot de passe est obligatoire.\nRecommencez SVP");
      theForm.Pwd.focus();
      return (false);
   }      
      return (true);
}

function VerifMail(theForm)
{

   if (theForm.mail.value == "")
   {
      alert("L\'entrée d\'une adresse électronique est obligatoire.\nRecommencez SVP");
      theForm.mail.focus();
      return (false);
   }
   if(!verif(theForm.mail.value)) 
   { 
      theForm.mail.value="";
      theForm.mail.focus();
      return false 
   }      
      return (true);
}

function VerifFrm(theForm)
{

   if (theForm.adressemail.value == "" && theForm.interloc.value == "" )
   {
      alert("L\'entrée d\'une adresse e-mail ET d\'un interlocuteur est obligatoire.\nCorrigez la demande et ré-essayez !");
      theForm.adressemail.focus();
      return (false);
   }
      ctl = /^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+([\.][a-z0-9-]+)+$/;
      if (theForm.adressemail.value.search(ctl) != -1) return true;
   else 
      alert("L\'adresse e-mail ne semble pas conforme.\nCorrigez la demande et ré-essayez !");
      theForm.adressemail.focus();
      return false;
}

function PopForm(theForm)
{
 var newwindow;
 newwindow=window.open(theForm,'pop','resizable=yes, scrollbars=yes,height=500,width=700,left=150,top=150');
 if (window.focus)
    {
    newwindow.focus()
    }
}

function RemindForm(theForm)
{
 var theUrl;
 var ValSel;
 ValSel=document.support.Login.value;

 theUrl = "remindme.asp";
 if (ValSel == "") 
 {
    alert("Le login est vide\nRecommencez SVP");
 }
 else
 {
    //alert(theUrl+"?Parm="+ValSel);
    window.location.href = theUrl+"?Parm="+ValSel;
 }
 
 }
//-->
