<!--
function Validate(theForm)
{
  if (theForm.Name.value == "")
  {
    alert("Bitte tragen Sie Ihren Namen in das Feld \"Name\" ein.");
    theForm.Name.focus();
    return (false);
  }
  if (theForm.Vorname.value == "")
  {
    alert("Bitte tragen Sie Ihren Namen in das Feld \"Vorname\" ein.");
    theForm.Vorname.focus();
    return (false);
  }
  if (theForm.Strasse.value == "")
  {
    alert("Bitte tragen Sie Ihren Namen in das Feld \"Strasse\" ein.");
    theForm.Strasse.focus();
    return (false);
  }
    if (theForm.Plz.value == "")
  {
    alert("Bitte tragen Sie Ihren Namen in das Feld \"Plz\" ein.");
    theForm.Plz.focus();
    return (false);
  }
    if (theForm.Ort.value == "")
  {
    alert("Bitte tragen Sie Ihren Namen in das Feld \"Ort\" ein.");
    theForm.Ort.focus();
    return (false);
  }
    if (theForm.Land.value == "")
  {
    alert("Bitte tragen Sie Ihren Namen in das Feld \"Land\" ein.");
    theForm.Land.focus();
    return (false);
  }

   if (theForm.Email.value == "")
  {
    alert("Bitte geben Sie eine Email-Adresse ein.");
    theForm.Email.focus();
    return (false);
  } 
 
  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789@.-_";
  var checkStr = theForm.Email.value;
  var allValid = true;
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid = false;
      break;
    }
  }
  if (!allValid)
  {
    alert("Bitte korrigieren Sie die Eingabe in dem Feld \"Email\".\nDas Zeichen "+checkStr.charAt(i)+" kann nicht verwendet werden.");
    theForm.Email.focus();
    return (false);
  }
  return (true);
  
   if (theForm.Telefon.value == "")
  {
    alert("Bitte geben Sie eine Telefonnummer ein.");
    theForm.Telefon.focus();
    return (false);
  } 
  
  var checkOK = "0123456789";
  var checkStr = theForm.Telefon.value;
  var allValid = true;
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid = false;
      break;
    }
  }
  if (!allValid)
  {
    alert("Geben Sie nur Ziffern in das Feld \"Telefon\" ein.");
    theForm.Telefon.focus();
    return (false);
  }
}
//-->

