function Validator2(theForm)
{

  if (theForm.namev.value == "")
  {
    alert("Поле \"логин\" пустое!");
    theForm.namev.focus();
    return (false);
  }

  if (theForm.passv.value == "")
  {
    alert("Поле \"Пароль\" пустое!");
    theForm.passv.focus();
    return (false);
  }
  
  return (true);
}