<!--//
function Vazio(campo){
   if (campo > ""){
      return false;
   } else {
      return true;
   }
}
function Numerico (campo, flgChar, charac){
   for (var i = 0; i < campo.length; i++){
      var ch = campo.substring(i, i + 1)
      if (flgChar == true){
         if (ch != charac){
            if (ch < "0" || ch > "9")
               return false;
           }
         }else{
            if (ch < "0" || ch > "9")
            return false;
         }
      }
   return true;
}
function ValidaLogin(){
   if (Vazio(document.Form_Login.codigo.value)){
      alert ("Por favor, informe seu LOGIN de acesso.");
      document.Form_Login.codigo.focus();
      return false;
   }
   /*
   if (Numerico(document.Form_Login.codigo.value,false,"") == false){
      alert ("O campo LOGIN só aceita números.");
      document.Form_Login.codigo.focus();
      return false;
   }
   */
   return true;
}
function LConsiste(){
   if (ValidaLogin())
      return true;
   else
      return false;
}
//-->