<!-- Begin
function Validator(theForm)
{
  if (theForm.NName.value == "")
  {
   alert("Bitte geben Sie einen Namen in das Feld \"Name\" ein.");
    theForm.NName.focus();
    return (false);
  }

  if (theForm.NName.value.length < 3)
  {
    alert("Geben Sie mindestens 3 Zeichen in das Feld \"Name\" ein.");
    theForm.NName.focus();
    return (false);
  }
  if (theForm.NName.value.length > 80)
  {
    alert("Geben Sie höchstens 80 Zeichen in das Feld \"Name\" ein.");
    theForm.NName.focus();
    return (false);
  }
  var checkOK = "AÄBCDEFGHIJKLMNOÖPQRSTUÜVWXYZaäbcdefghijklmnoöpqrsßtuüvwxyz-. 0123456789\t\r\n\f";
  var checkStr = theForm.NName.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 bitte nur Buchstaben von A - Z und Leerräume in das Feld \"Name\" ein.");
    theForm.NName.focus();
    return (false);
  
  }
{
  if (theForm.Ort.value == "")
  {
   alert("Bitte geben Sie einen Ortsnamen in das Feld \"Ort\" ein.");
    theForm.Ort.focus();
    return (false);
  }
  if (theForm.Ort.value.length < 3)
  {
    alert("Geben Sie mindestens 3 Zeichen in das Feld \"Ort\" ein.");
    theForm.Ort.focus();
    return (false);
  }
  if (theForm.Ort.value.length > 80)
  {
    alert("Geben Sie höchstens 80 Zeichen in das Feld \"Ort\" ein.");
    theForm.Ort.focus();
    return (false);
  }
  var checkOK = "AÄBCDEFGHIJKLMNOÖPQRSTUÜVWXYZaäbcdefghijklmnoöpqrsßtuüvwxyz-. 0123456789\t\r\n\f";
  var checkStr = theForm.Ort.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 bitte nur Buchstaben von A - Z und Leerräume in das Feld \"Ort\" ein.");
    theForm.Ort.focus();
    return (false);  
  }  
if (theForm.PLZ.value == "")
  {
   alert("Bitte geben Sie Ihre Postleitzahl in das Feld \"Plz\" ein.");
    theForm.PLZ.focus();
    return (false);
  }
if (theForm.PLZ.value.length < 5)
  {
    alert("Bitte geben Sie eine 5 stellige Postleitzahl  in das Feld \"Plz\" ein oder fügen Sie das Länderkennzeichen hinzu.");
    theForm.PLZ.focus();
    return (false);
  }
  
  if (theForm.EMail.value == "")
  {
   alert("Bitte geben Sie einen Namen in das Feld \"E-Mail\" ein.");
    theForm.EMail.focus();
    return (false);
  }

  if (theForm.EMail.value.length < 5)
  {
    alert("Geben Sie mindestens 5 Zeichen in das Feld \"E-Mail\" ein.");
    theForm.EMail.focus();
    return (false);
  }
  if (theForm.EMail.value.length > 80)
  {
    alert("Geben Sie höchstens 80 Zeichen in das Feld \"E-Mail\" ein.");
    theForm.EMail.focus();
    return (false);
  }
  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-.@_0123456789";
  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("Geben Sie bitte nur erlaubte Zeichen in das Feld \"E-Mail\" ein.");
    theForm.EMail.focus();
    return (false);  
  }  
{

  
  
  




 return (true);}}}
//  End -->
