function Check_Eingabe( theForm )
{
  switch ( theForm.name ) 
  {
    case "Anmeldung": 
      {
        if (!CheckField( theForm.strEMail,    "E-Mail Adresse", "EMail"    )) return (false);
        if (!CheckField( theForm.strPasswort, "Passwort",       "AlphaNum" )) return (false);
        return (CheckOK( theForm.blnEingabe ));
        break;
      }
    default: alert("Formular " + theForm.name + " ist nicht definiert"); return (false); break;
  }
}

function Check_Eingabe_x( theForm )
{
  if (theForm.strEMail)
	  if (!CheckEMail( theForm.strEMail,"E-Mail Adresse" )) return (false);
  if (theForm.strPasswort)	  
	  if (!CheckNotNull( theForm.strPasswort, "Passwort"       )) return (false);	
  return (CheckOK( theForm.blnEingabe ));
}

function SetFocus()
{
//  if (!document.forms ) return (false);
  if (!document.forms.Anmeldung ) return (false);
  if (!document.forms.Anmeldung.strEMail ) return (false);
  document.forms.Anmeldung.strEMail.focus()
}

