function Validate_lost_pass(name) { errfound = false; if (!ValidEmail(name.priv_email.value)) error(name.priv_email,"Zadejte prosím platný e-mail."); return !errfound; }