function FrontPage_Form1_Validator(theForm)
{

  if (theForm.realname.value == "")
  {
    alert("Please enter a value for the \"Your name\" field.");
    theForm.realname.focus();
    return (false);
  }

  if (theForm.realname.value.length < 2)
  {
    alert("Please enter at least 2 characters in the \"Your name\" field.");
    theForm.realname.focus();
    return (false);
  }

  if (theForm.email.value == "")
  {
    alert("Please enter a value for the \"Your e-mail address\" field.");
    theForm.email.focus();
    return (false);
  }

  if (theForm.email.value.length < 4)
  {
    alert("Please enter at least 4 characters in the \"Your e-mail address\" field.");
    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("Please enter only letter, digit and \"@.\" characters in the \"Your e-mail address\" field.");
    theForm.email.focus();
    return (false);
  }

  if (theForm.subject.selectedIndex < 0)
  {
    alert("Please select one of the \"Product type\" options.");
    theForm.subject.focus();
    return (false);
  }

  if (theForm.subject.selectedIndex == 0)
  {
    alert("The first \"Product type\" option is not a valid selection.  Please choose one of the other options.");
    theForm.subject.focus();
    return (false);
  }

  if (theForm.Version.value == "")
  {
    alert("Please enter a value for the \"Version\" field.");
    theForm.Version.focus();
    return (false);
  }

  if (theForm.Operation_System.selectedIndex < 0)
  {
    alert("Please select one of the \"Operation System\" options.");
    theForm.Operation_System.focus();
    return (false);
  }

  if (theForm.Operation_System.selectedIndex == 0)
  {
    alert("The first \"Operation System\" option is not a valid selection.  Please choose one of the other options.");
    theForm.Operation_System.focus();
    return (false);
  }

  if (theForm.Question.value == "")
  {
    alert("Please enter a value for the \"Question, comment\" field.");
    theForm.Question.focus();
    return (false);
  }
  return (true);
}