<!--

  // İ 2004 Bitpalast GmbH. All rights reserved.

  function setpage() {
//
  }

  function gotogerman() {
    currentlocation = new String(document.location);
    currentlocation = currentlocation.replace(/www.g-h-s-partner.com/gi,"www.g-h-s-partner.de");
    top.location.href = currentlocation;   
  }

  function contact_validator(theForm)
  {
    if (theForm.message.value == "")
    {
      alert("Please enter your text message.");
      theForm.message.focus();
      return (false);
    }

    if (theForm.message.value.length < 20)
    {
      alert("Your text must be at least 20 characters long.");
      theForm.message.focus();
      return (false);
    }

    if (theForm.email.value == "")
    {
      alert("Please enter your e-mail address.");
      theForm.email.focus();
      return (false);
    }

    if (theForm.email.value.length < 8)
    {
      alert("Your e-mail address must be at least 8 characters long.");
      theForm.email.focus();
      return (false);
    }

    var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789@-_.";
    var checkStr = theForm.email.value;
    var allValid = true;
    var validGroups = 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("Into the field \"e-mail\" please enter letters, digits and \"@-_.\" only.");
      theForm.email.focus();
      return (false);
    }

    return (true);
  }

//-->
