function Validate_login(name) {
   errfound = false;
      
   if (!ValidateLength(name[1].value,1))
      FormError(name[1],"Vyplňte: Jméno");
   
   if (!ValidateLength(name[2].value,1))
      FormError(name[2],"Vyplňte: Heslo");

   return !errfound;
}
