<!--

  // © 2006 Bitpalast GmbH. Alle Rechte vorbehalten. All rights reserved.

  function printpage() {
    printlocation="http://www.bitpalast.com/phprint_2006.php?page="+window.location;
    window.open(printlocation,'','width=790,height=590,toolbar=0,menubar=1,scrollbars=1,status=0,resizable=0');
  }

  function showenglish() {
    window.location="http://www.bitpalast.com";
  }

  function show_privacy_policy() {
    window.location="https://www.bitpalast.com/service/datenschutz.html";
  }

  function tellafriend() {
    window.location="http://www.bitpalast.com/service/referral.html?"+window.location;
  }

  function orderinfos() {
    window.location="https://www.bitpalast.com/service/document_order.html?"+window.location;
  }

  function orderinfos_artistserver() {
    window.location="https://www.bitpalast.com/service/document_order_kuenstlerserver.html?"+window.location;
  }

  function setorderinfos() {
    if(document.location.search != "") {
      formerpage=document.location.search;
      document.documentorder.formerpage.value=formerpage.substring(1,formerpage.length);
    }
  }

  function setreferral() {
    if(document.location.search != "") {
      previouslocation=document.location.search;
      document.sendreferralform.url.value=previouslocation.substring(1,previouslocation.length);
    }
    else document.sendreferralform.url.value='http://www.bitpalast.com/';
  }  

  function domainform_validator(theForm)
  {

    if (theForm.fqdn.value == "")
    {
      alert("Please enter a domain name.");
      theForm.fqdn.focus();
      return (false);
    }

    if (theForm.fqdn.value.length < 3)
    {
      alert("A domain name must be at least three characters long.");
      theForm.fqdn.focus();
      return (false);
    }

    if (theForm.fqdn.value.length > 63)
    {
      alert("A domain name cannot be longer than 63 characters.");
      theForm.fqdn.focus();
      return (false);
    }

    var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzŠŒŽšœžŸÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ0123456789--";
    var checkStr = theForm.fqdn.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("A domain name can only be made up of letters, digits, and \"-\" characters.");
      theForm.fqdn.focus();
      return (false);
    }

    var chkVal = theForm.fqdn.value;
    var prsVal = chkVal;
    if (chkVal != "" && !(prsVal != "your-domain"))
    {
      alert("The domain name \"your-domain\" is an example only. Please enter the domain name you would like to reserve.");
      theForm.fqdn.focus();
      return (false);
    }
    return (true);
  }

  function domainform_submit(theForm)
  {

    if (theForm.fqdn.value == "")
    {
      alert("Please enter a domain name.");
      theForm.fqdn.focus();
      return;
    }

    if (theForm.fqdn.value.length < 3)
    {
      alert("The domain name must be at least three characters long.");
      theForm.fqdn.focus();
      return;
    }

    if (theForm.fqdn.value.length > 63)
    {
      alert("The domain name must not be longer than 63 characters.");
      theForm.fqdn.focus();
      return;
    }

    var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzŠŒŽšœžŸÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ0123456789--";
    var checkStr = theForm.fqdn.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("A domain name can only be made up of letters, digits, and \"-\" characters.");
      theForm.fqdn.focus();
      return;
    }

    var chkVal = theForm.fqdn.value;
    var prsVal = chkVal;
    if (chkVal != "" && !(prsVal != "Ihre-Domain"))
    {
      alert("The domain name \"your-domain\" is an example only. Please enter the domain name you would like to reserve.");
      theForm.fqdn.focus();
      return;
    }
    theForm.submit();
  }

  function newssubscription_validator(theForm)
  {

    if (theForm.email.value == "")
    {
      alert("Please enter your e-mail address.");
      theForm.email.focus();
      return;
    }

    if (theForm.email.value.length < 8)
    {
      alert("Your e-mail address must be at least eight characters long.");
      theForm.email.focus();
      return;
    }

    if ((theForm.email.value.indexOf("sdf") > -1) || (theForm.email.value.indexOf("jkl") > -1) || (theForm.email.value.indexOf(".") == -1) || (theForm.email.value.indexOf("@") == -1)) {
      alert("Ihre e-Mail Adresse ist ungültig.");
      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("As an e-mail address only letters, digits and \"_-@.\" characters are allowed.");
      theForm.email.focus();
      return;
    }

    var chkVal = theForm.email.value;
    var prsVal = chkVal;
    if (chkVal != "" && !(prsVal != "your@email.eu"))
    {
      alert("Please enter your own e-mail address and not \"your@email.eu\" into the \"e-mail address\" field.");
      theForm.email.focus();
      return;
    }

    window.location="https://www.bitpalast.com/service/news_subscription.html?"+theForm.email.value;
  }


  function newssubscriber_validator(theForm)
  {

	var thedate = new Date();
	document.newssubscriber.DatumErstaufnahme.value = thedate.getDate() + '.' + (thedate.getMonth()+1) + '.' + thedate.getFullYear();

	if (document.newssubscriber.Anrede.value.indexOf("Mr.") > -1) {
		document.newssubscriber.AnredeDirekt.value = 'Mr.';
	} else {
		document.newssubscriber.AnredeDirekt.value = 'Mrs.';
	}

	if (document.newssubscriber.Anrede.value.indexOf("Dr.") > -1) {
		document.newssubscriber.AnredeDirekt.value = document.newssubscriber.AnredeDirekt.value + ' Dr.';
	}

	if (document.newssubscriber.Anrede.value.indexOf("Dres.") > -1) {
		document.newssubscriber.AnredeDirekt.value = 'Dres.';
	}

	if (document.newssubscriber.Anrede.value.indexOf("Prof.") > -1) {
		document.newssubscriber.AnredeDirekt.value = document.newssubscriber.AnredeDirekt.value + ' Prof.';
	}

    if (document.newssubscriber.Name.value.length < 3)
    {
      alert("Please enter your last name. The last name is needed for a personal address in the newsletter.\nBitpalast® keeps your data strictly confidential and uses them only for the Bitpalast® newsletter.");
      document.newssubscriber.Name.focus();
      return (false);
    }

    var checkOK = " ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzŠŒŽšœžŸÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ-.";
    var checkStr = document.newssubscriber.Name.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("Sorry, your last name does not seem to be plausible.");
      document.newssubscriber.Name.focus();
      return (false);
    }

    return (true);
  }


  function sendreferral(theForm)
  {

    if (theForm.senderemail.value.length < 7)
    {
      alert("The sender's address must be at least seven characters long.");
      theForm.senderemail.focus();
      return (false);
    }

    var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzƒŠŒŽšœžŸÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ0123456789-_.-@";
    var checkStr = theForm.senderemail.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("Please enter letters, digits, or \"_.-@\" characters only as a sender's address.");
      theForm.senderemail.focus();
      return (false);
    }

    if (theForm.recipientemail.value.length < 7)
    {
      alert("The recipient's address must be at least seven characters long.");
      theForm.recipientemail.focus();
      return (false);
    }

    if ((theForm.recipientemail.value.indexOf("sdf") > -1) || (theForm.recipientemail.value.indexOf("jkl") > -1) || (theForm.recipientemail.value.indexOf(".") == -1) || (theForm.recipientemail.value.indexOf("@") == -1)) {
      alert("The recipient's address is invalid.");
      theForm.recipientemail.focus();
      return (false);
    }


    var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzƒŠŒŽšœžŸÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ0123456789-_-.@";
    var checkStr = theForm.recipientemail.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("Please enter letters, digits, or \"_.-@\" characters only as a recipient's address.");
      theForm.recipientemail.focus();
      return (false);
    }
    return (true);
  }



  function domainorder_validator_transfer(theForm)
  {

    if (theForm.phone.value == "")
    {
      alert("Please enter your phone number.");
      theForm.phone.focus();
      return (false);
    }

    if (theForm.phone.value.length < 6)
    {
      alert("Your phone number must be at least six digits long.");
      theForm.phone.focus();
      return (false);
    }

    if (theForm.email.value.length < 8)
    {
      alert("Your e-mail address must be at least eight characters long.");
      theForm.email.focus();
      return (false);
    }

    if ((theForm.email.value.indexOf("sdf") > -1) || (theForm.email.value.indexOf("jkl") > -1) || (theForm.email.value.indexOf(".") == -1) || (theForm.email.value.indexOf("@") == -1)) {
      alert("Your e-mail address is invalid.");
      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("Please enter letters, digits, or \"_.-@\" characters only as your e-mail address.");
      theForm.email.focus();
      return (false);
    }

    if (theForm.conditions.checked == false)
    {
      alert("You must agree to the Hosting Policy and General Terms and Conditions, when you want to order this domain.\nIf you agree, checkmark the box in front of the last paragraph by clicking it with the mouse.");
      theForm.conditions.focus();
      return (false);
    }

    return (true);
  }


  function domainorder_validator(theForm)
  {

    if (theForm.name.value == "")
    {
      alert("Please enter your first and last name.");
      theForm.name.focus();
      return (false);
    }

    if (theForm.name.value.length < 5)
    {
      alert("Your full name must be at least five characters long.");
      theForm.name.focus();
      return (false);
    }

    if (theForm.street.value == "")
    {
      alert("Please enter your street address.");
      theForm.street.focus();
      return (false);
    }

    if (theForm.street.value.length < 3)
    {
      alert("Your street address must be at least three characters long.");
      theForm.street.focus();
      return (false);
    }

    if (theForm.zipcity.value == "")
    {
      alert("Please enter your zip code and your city.");
      theForm.zipcity.focus();
      return (false);
    }

    if (theForm.zipcity.value.length < 4)
    {
      alert("Zip code and city must be at least four characters long.");
      theForm.zipcity.focus();
      return (false);
    }

    if (theForm.phone.value == "")
    {
      alert("Please enter your phone number.");
      theForm.phone.focus();
      return (false);
    }

    if (theForm.phone.value.length < 6)
    {
      alert("Your phone number must be at least six characters long.");
      theForm.phone.focus();
      return (false);
    }

    if (theForm.email.value.length < 8)
    {
      alert("Your e-mail address must be at least eight characters long.");
      theForm.email.focus();
      return (false);
    }

    if ((theForm.email.value.indexOf("sdf") > -1) || (theForm.email.value.indexOf("jkl") > -1) || (theForm.email.value.indexOf(".") == -1) || (theForm.email.value.indexOf("@") == -1)) {
      alert("Your e-mail address is invalid.");
      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("An e-mail address can only contain letters, digits and \"@-_.\" characters.");
      theForm.email.focus();
      return (false);
    }

    if (theForm.conditions.checked == false)
    {
      alert("You must agree to the Hosting Policy and General Terms and Conditions, when you want to order this domain.\nIf you agree, checkmark the box in front of the last paragraph by clicking it with the mouse.");
      theForm.conditions.focus();
      return (false);
    }

    return (true);
  }

  function testserverorder_validator(theForm)
  {

    if (theForm.name.value == "")
    {
      alert("Please enter your first and last name.\nNo plausible name = no test server!");
      theForm.name.focus();
      return (false);
    }

    if (theForm.name.value.length < 5)
    {
      alert("Your name must be at least five characters long.\nNo plausible name = no test server!");
      theForm.name.focus();
      return (false);
    }

    if (theForm.street.value == "")
    {
      alert("Please enter your street address.\nNo plausible address = no test server!");
      theForm.street.focus();
      return (false);
    }

    if (theForm.street.value.length < 5)
    {
      alert("Your street address must be at least five characters long.\nNo plausible address = no test server!");
      theForm.street.focus();
      return (false);
    }

    if ((theForm.street.value.indexOf("sdf") > -1) || (theForm.street.value.indexOf("jkl") > -1) )
	{
      alert("Please enter a valid address.\nNo plausible address = no test server!");
      theForm.street.focus();
      return (false);
    }

    if (theForm.zipcity.value == "")
    {
      alert("Please enter your zip code and your city.\nNo plausible zip code and city = no test server!");
      theForm.zipcity.focus();
      return (false);
    }

    if (theForm.zipcity.value.length < 8)
    {
      alert("City and zip code must be at least eight characters long.\nNo plausible zip code and city = no test server!");
      theForm.zipcity.focus();
      return (false);
    }

	if (theForm.zipcity.value.indexOf(" ") == -1)
    {
      alert("Please enter the name of your city AND your zip code.\nNo plausible zip code and city = no test server!");
      theForm.zipcity.focus();
      return (false);
    }

    if (theForm.email.value.length < 8)
    {
      alert("Your e-mail address must be at least eight characters long.\nNo plausible e-mail address = no test server!");
      theForm.email.focus();
      return (false);
    }

    if ((theForm.email.value.indexOf("sdf") > -1) || (theForm.email.value.indexOf("jkl") > -1) || (theForm.email.value.indexOf(".") == -1) || (theForm.email.value.indexOf("@") == -1)) {
      alert("Ihre e-Mail Adresse ist ungültig.");
      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("As an e-mail address only letters, digits and \"@-_.\" characters are allowed.\nNo plausible e-mail address = no test server!");
      theForm.email.focus();
      return (false);
    }

    return (true);
  }

  function contact_validator(theForm)
  {
    if (theForm.message.value == "")
    {
      alert("Please enter your message.");
      theForm.message.focus();
      return (false);
    }

    if (theForm.message.value.length < 20)
    {
      alert("Your message 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 eight characters long.");
      theForm.email.focus();
      return (false);
    }

    if ((theForm.email.value.indexOf("sdf") > -1) || (theForm.email.value.indexOf("jkl") > -1) || (theForm.email.value.indexOf(".") == -1) || (theForm.email.value.indexOf("@") == -1)) {
      alert("Your e-mail address is invalid.");
      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("An e-mail address must only contain letters, digits, or \"@-_.\" characters.");
      theForm.email.focus();
      return (false);
    }

    return (true);
  }


  function designorder_validator(theForm)
  {

    if (theForm.name.value == "")
    {
      alert("Please enter your first and last name.");
      theForm.name.focus();
      return (false);
    }

    if (theForm.name.value.length < 5)
    {
      alert("Your name must be at least five characters long.");
      theForm.name.focus();
      return (false);
    }

    if (theForm.street.value == "")
    {
      alert("Please enter your street address.");
      theForm.street.focus();
      return (false);
    }

    if (theForm.street.value.length < 6)
    {
      alert("Your street address must be at least six characters long.");
      theForm.street.focus();
      return (false);
    }

    if (theForm.zipcity.value == "")
    {
      alert("Please enter your zip code and city.");
      theForm.zipcity.focus();
      return (false);
    }

    if (theForm.zipcity.value.length < 5)
    {
      alert("Zip code and city must be at least five characters long.");
      theForm.zipcity.focus();
      return (false);
    }

    if (theForm.phone.value == "")
    {
      alert("Please enter your phone number.");
      theForm.phone.focus();
      return (false);
    }

    if (theForm.phone.value.length < 6)
    {
      alert("Your phone number must be at least six digits long.");
      theForm.phone.focus();
      return (false);
    }

    if ((theForm.email.value.indexOf("sdf") > -1) || (theForm.email.value.indexOf("jkl") > -1) || (theForm.email.value.indexOf(".") == -1) || (theForm.email.value.indexOf("@") == -1)) {
      alert("Your e-mail address is invalid.");
      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("In an e-mail address only letters, digits and \"@-_.\" characters are allowed.");
      theForm.email.focus();
      return (false);
    }

    if (theForm.conditions.checked == false)
    {
      alert("You must agree to the revocation clause, if you want to order a web design.\nIf you want to agree, please click the mouse into the checkbox to checkmark it.");
      theForm.conditions.focus();
      return (false);
    }

    return (true);
  }


  function promotionorder_validator(theForm)
  {

    if (theForm.domainname.value == "")
    {
      alert("Please enter the domain name the service shall be rendered for.");
      theForm.domainname.focus();
      return (false);
    }

    if (theForm.domainname.value.length < 5)
    {
      alert("The domain name must be at least five characters long.");
      theForm.domainname.focus();
      return (false);
    }

    var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzŠŒŽšœžŸÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ0123456789-_.";
    var checkStr = theForm.domainname.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("It seems as if your domain name contains some invalid characters. Please check that.");
      theForm.domainname.focus();
      return (false);
    }

    if (theForm.name.value == "")
    {
      alert("Please enter your first and last name.");
      theForm.name.focus();
      return (false);
    }

    if (theForm.name.value.length < 5)
    {
      alert("Your name must be at least five characters long.");
      theForm.name.focus();
      return (false);
    }

    if (theForm.street.value == "")
    {
      alert("Please enter your street address.");
      theForm.street.focus();
      return (false);
    }

    if (theForm.street.value.length < 5)
    {
      alert("Your street address must be at least five characters long.");
      theForm.street.focus();
      return (false);
    }

    if (theForm.zipcity.value == "")
    {
      alert("Please enter your zip code and city.");
      theForm.zipcity.focus();
      return (false);
    }

    if (theForm.zipcity.value.length < 8)
    {
      alert("Zip code and city must be at least eight characters long.");
      theForm.zipcity.focus();
      return (false);
    }

    if (theForm.phone.value == "")
    {
      alert("Please enter your phone number.");
      theForm.phone.focus();
      return (false);
    }

    if (theForm.phone.value.length < 6)
    {
      alert("The phone number must be at least six characters long.");
      theForm.phone.focus();
      return (false);
    }

    if ((theForm.email.value.indexOf("sdf") > -1) || (theForm.email.value.indexOf("jkl") > -1) || (theForm.email.value.indexOf(".") == -1) || (theForm.email.value.indexOf("@") == -1)) {
      alert("Your e-mail address is invalid.");
      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("As an e-mail address, only letters, digits and \"@-_.\" are allowed.");
      theForm.email.focus();
      return (false);
    }

    if (theForm.conditions.checked == false)
    {
      alert("You must agree to the revocation clause, if you want to order this service.\nIf you want to agree, please click the mouse into the checkbox to checkmark it.");
      theForm.conditions.focus();
      return (false);
    }

    return (true);
  }

  function pamphletorder_validator(theForm)
  {

    if (theForm.name.value == "")
    {
      alert("Please enter your first and last name.");
      theForm.name.focus();
      return (false);
    }

    if (theForm.name.value.length < 5)
    {
      alert("Your name must be at least five characters long.");
      theForm.name.focus();
      return (false);
    }

    if (theForm.street.value == "")
    {
      alert("Please enter your street address.");
      theForm.street.focus();
      return (false);
    }

    if (theForm.street.value.length < 5)
    {
      alert("Your street address must be at least five characters long.");
      theForm.street.focus();
      return (false);
    }

    if (theForm.zipcity.value == "")
    {
      alert("Please enter your city and your zip code.");
      theForm.zipcity.focus();
      return (false);
    }

    if (theForm.zipcity.value.length < 8)
    {
      alert("City and zip code must be eight characters long.");
      theForm.zipcity.focus();
      return (false);
    }

    return (true);
  }


  function cdorder_validator(theForm)
  {

    var checkOK = "0123456789";
    var checkStr = theForm.units.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("Please enter the volume as a number.");
      theForm.units.focus();
      return (false);
    }

    if (theForm.domainname.value == "")
    {
      alert("Please enter the domain from which the cd shall be created.");
      theForm.domainname.focus();
      return (false);
    }

    if (theForm.domainname.value.length < 5)
    {
      alert("The domain name must be at least five characters long.");
      theForm.domainname.focus();
      return (false);
    }

    var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzŠŒŽšœžŸÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ0123456789-_.";
    var checkStr = theForm.domainname.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("The domain name does not seem to be valid.");
      theForm.domainname.focus();
      return (false);
    }

    if (theForm.name.value == "")
    {
      alert("Please enter your first and last name.");
      theForm.name.focus();
      return (false);
    }

    if (theForm.name.value.length < 5)
    {
      alert("Your name must be at least five characters long.");
      theForm.name.focus();
      return (false);
    }

    if (theForm.street.value == "")
    {
      alert("Please enter your street address.");
      theForm.street.focus();
      return (false);
    }

    if (theForm.street.value.length < 5)
    {
      alert("Your street address must be at least five characters long.");
      theForm.street.focus();
      return (false);
    }

    if (theForm.zipcity.value == "")
    {
      alert("Please enter your zip code and city.");
      theForm.zipcity.focus();
      return (false);
    }

    if (theForm.zipcity.value.length < 8)
    {
      alert("Your zip code and city must be at least eight characters long.");
      theForm.zipcity.focus();
      return (false);
    }

    if (theForm.phone.value == "")
    {
      alert("Please enter your phone number.");
      theForm.phone.focus();
      return (false);
    }

    if (theForm.phone.value.length < 6)
    {
      alert("Your phone number must be at least six digits long.");
      theForm.phone.focus();
      return (false);
    }

    if ((theForm.email.value.indexOf("sdf") > -1) || (theForm.email.value.indexOf("jkl") > -1) || (theForm.email.value.indexOf(".") == -1) || (theForm.email.value.indexOf("@") == -1)) {
      alert("Your e-mail address is invalid.");
      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("In an e-mail address only letters, digits and \"@-_.\" characters are allowed.");
      theForm.email.focus();
      return (false);
    }

    if (theForm.conditions.checked == false)
    {
      alert("You must agree to the revocation clause, if you want to order this service.\nIf you want to agree, please click the mouse into the checkbox to checkmark it.");
      theForm.conditions.focus();
      return (false);
    }

    return (true);
  }

  function softwareorder_validator(theForm)
  {

    if (theForm.name.value == "")
    {
      alert("Please enter your first and last name.");
      theForm.name.focus();
      return (false);
    }

    if (theForm.name.value.length < 5)
    {
      alert("Your name must be at least five characters long.");
      theForm.name.focus();
      return (false);
    }

    if (theForm.street.value == "")
    {
      alert("Please enter your street address.");
      theForm.street.focus();
      return (false);
    }

    if (theForm.street.value.length < 5)
    {
      alert("Your street address must be at least five characters long.");
      theForm.street.focus();
      return (false);
    }

    if (theForm.zipcity.value == "")
    {
      alert("Please enter your zip code and city.");
      theForm.zipcity.focus();
      return (false);
    }

    if (theForm.zipcity.value.length < 8)
    {
      alert("Your zip code and city must be at least eight characters long.");
      theForm.zipcity.focus();
      return (false);
    }

    if (theForm.phone.value == "")
    {
      alert("Please enter your phone number.");
      theForm.phone.focus();
      return (false);
    }

    if (theForm.phone.value.length < 6)
    {
      alert("Your phone number must be at least six characters long.");
      theForm.phone.focus();
      return (false);
    }

    if ((theForm.email.value.indexOf("sdf") > -1) || (theForm.email.value.indexOf("jkl") > -1) || (theForm.email.value.indexOf(".") == -1) || (theForm.email.value.indexOf("@") == -1)) {
      alert("Your e-mail address is invalid.");
      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("In an e-mail address only letters, digits and \"@-_.\" are allowed.");
      theForm.email.focus();
      return (false);
    }

    if (theForm.conditions.checked == false)
    {
      alert("You must agree to the revocation clause, if you want to order this software.\nIf you want to agree, please click the mouse into the checkbox to checkmark it.");
      theForm.conditions.focus();
      return (false);
    }

    return (true);
  }


  function trainingorder_validator(theForm)
  {

    if (theForm.name.value == "")
    {
      alert("Please enter your first and last name.");
      theForm.name.focus();
      return (false);
    }

    if (theForm.name.value.length < 5)
    {
      alert("Your name must be at least five characters long.");
      theForm.name.focus();
      return (false);
    }

    if (theForm.street.value == "")
    {
      alert("Please enter your street address.");
      theForm.street.focus();
      return (false);
    }

    if (theForm.street.value.length < 5)
    {
      alert("Your street address must be at least five characters long.");
      theForm.street.focus();
      return (false);
    }

    if (theForm.zipcity.value == "")
    {
      alert("Please enter your zip code and your city.");
      theForm.zipcity.focus();
      return (false);
    }

    if (theForm.zipcity.value.length < 8)
    {
      alert("Zip code and city must be eight characters long.");
      theForm.zipcity.focus();
      return (false);
    }

    if (theForm.phone.value == "")
    {
      alert("Please enter your phone number.");
      theForm.phone.focus();
      return (false);
    }

    if (theForm.phone.value.length < 6)
    {
      alert("Your phone number must be six characters long.");
      theForm.phone.focus();
      return (false);
    }

    if ((theForm.email.value.indexOf("sdf") > -1) || (theForm.email.value.indexOf("jkl") > -1) || (theForm.email.value.indexOf(".") == -1) || (theForm.email.value.indexOf("@") == -1)) {
      alert("Your e-mail address is invalid.");
      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("In an e-mail address only letters, digits and \"@-_.\" characters are allowed.");
      theForm.email.focus();
      return (false);
    }

    if (theForm.conditions.checked == false)
    {
      alert("You must agree to the revocation clause, if you want to order this service.\nIf you want to agree, please click the mouse into the checkbox to checkmark it.");
      theForm.conditions.focus();
      return (false);
    }

    return (true);
  }


  function documentorder_validator(theForm)
  {

    if (theForm.address.value.length < 20) {
      alert("Your address must be at least 20 characters long.");
      theForm.address.focus();
      return (false);
    }

    if ((theForm.address.value.indexOf("sdf") > -1) || (theForm.address.value.indexOf("jkl") > -1) || (theForm.address.value.indexOf(" ") == -1))
	{
      alert("Please enter a valid address.\nNo plausible address = no shipment!");
      theForm.address.focus();
      return (false);
    }

    if ((theForm.phone.value != "") && (theForm.callOK.checked == false))
    {
      alert("You have entered a phone number,\nbut you have not allowed us to call you.\nPlease either remove the phone number or\ngive us your consent to call you\nby clicking the checkmark box.");
      theForm.callOK.focus();
      return (false);
    }

	if ((theForm.webhostinginfo.checked == false) && (theForm.webdesigninfo.checked == false) && (theForm.webpromotioninfo.checked == false) && (theForm.traininginfo.checked == false) && (theForm.programminginfo.checked == false) && (theForm.filedecryption.checked == false) && (theForm.companyinformation.checked == false)) {
		alert("Please select at least one business area you would like to have information about.");
		theForm.webhostinginfo.focus();
		return (false);
	} else {
		if ((theForm.webhostinginfo.checked == true) && (theForm.webdesigninfo.checked == true) && (theForm.webpromotioninfo.checked == true) && (theForm.traininginfo.checked == true) && (theForm.programminginfo.checked == true) && (theForm.filedecryption.checked == true) && (theForm.companyinformation.checked == true)) {
			alert("From experience customers who check all boxes do not really\nshare interest in any of them. Please, don't request\ndocuments you won't read anyway.");
			theForm.webhostinginfo.focus();
			return (false);
		}
	}

    return (true);
  }


  function spacemediasampleorder_validator(theForm)
  {

    if (theForm.address.value.length < 20) {
      alert("Your address must be at least 20 characters long.");
      theForm.address.focus();
      return (false);
    }

    if (theForm.email.value.length < 8) {
      alert("Your e-mail address must be at least eight characters long.");
      theForm.email.focus();
      return (false);
    }

    if ((theForm.email.value.indexOf("sdf") > -1) || (theForm.email.value.indexOf("jkl") > -1) || (theForm.email.value.indexOf(".") == -1) || (theForm.email.value.indexOf("@") == -1)) {
      alert("Your e-mail address is invalid.");
      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("In an e-mail address only letters, digits and \"@-_.\" characters are allowed.");
      theForm.email.focus();
      return (false);
    }

    if (theForm.weburl.value.length < 7) 
    {
      alert("Sorry, if you don't have a homepage, this product is of no use for you.\nPlease only order the sample if you have an own homepage.");
      theForm.weburl.focus();
      return (false);
    }

    return (true);
  }



  function decryptionorder_validator(theForm)
  {

    if (theForm.FILE1.value == "")
    {
      alert("Please select the file to decrypt.");
      theForm.FILE1.focus();
      return (false);
    }

    if (theForm.FILE1.value.length < 3)
    {
      alert("The file name must be at least three characters long.");
      theForm.FILE1.focus();
      return (false);
    }

    if (theForm.address.value == "")
    {
      alert("Please enter your address.");
      theForm.address.focus();
      return (false);
    }

    if (theForm.address.value.length < 20)
    {
      alert("Your address must be at least 20 characters long.");
      theForm.address.focus();
      return (false);
    }

    if ((theForm.address.value.indexOf("sdf") > -1) || (theForm.address.value.indexOf("jkl") > -1)) {
      alert("Your address is invalid.");
      theForm.address.focus();
      return (false);
    }

    if (theForm.email.value.length < 8)
    {
      alert("Your e-mail address must be at least eight characters long.");
      theForm.email.focus();
      return (false);
    }

    if ((theForm.email.value.indexOf("sdf") > -1) || (theForm.email.value.indexOf("jkl") > -1) || (theForm.email.value.indexOf(".") == -1) || (theForm.email.value.indexOf("@") == -1)) {
      alert("Your e-mail address is invalid.");
      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("In an e-mail address only letters, digits and \"@-_.\" characters are allowed.");
      theForm.email.focus();
      return (false);
    }

    if (theForm.acceptagreement.checked == false)
    {
      alert("You must agree to the conditions, if you want to order this service.\nIf you want to agree, please click the mouse into the checkbox to checkmark it.");
      theForm.acceptagreement.focus();
      return (false);
    }


    return (true);
  }



//-->