<!--
function Validate(theForm)
{
  if (theForm.Name.value == "")
  {
    alert("Please sign your name.");
    theForm.Name.focus();
    return (false);
  }
  if (theForm.Vorname.value == "")
  {
    alert("Please sign your first name.");
    theForm.Vorname.focus();
    return (false);
  }
  if (theForm.Strasse.value == "")
  {
    alert("Please sign your street.");
    theForm.Strasse.focus();
    return (false);
  }
    if (theForm.Plz.value == "")
  {
    alert("Please sign your ZIP code.");
    theForm.Plz.focus();
    return (false);
  }
    if (theForm.Ort.value == "")
  {
    alert("Please sign your city.");
    theForm.Ort.focus();
    return (false);
  }
    if (theForm.Land.value == "")
  {
    alert("Please sign your country.");
    theForm.Land.focus();
    return (false);
  }
  
     if (theForm.Telefon.value == "")
  {
    alert("Please enter your telephone number.");
    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("Only numerals can be entered.");
    theForm.Telefon.focus();
    return (false);
  }

   if (theForm.Email.value == "")
  {
    alert("Please enter your e-mail address.");
    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("Please correct your e-mail address.\nThe character "+checkStr.charAt(i)+" is not allowed.");
    theForm.Email.focus();
    return (false);
  }
  return (true);
}
//-->

