function validate_comments_Validator(theForm)
{

  if (theForm.Author.value == "")
  {
    alert("Please enter your name in the Author field.");
    theForm.Author.focus();
    return (false);
  }

  if (theForm.Author.value.length > 25)
  {
    alert("Please enter at most 25 characters in the Author field.");
    theForm.Author.focus();
    return (false);
  }

  if (theForm.Comment.value == "")
  {
    alert("Please enter Comments.");
    theForm.Comment.focus();
    return (false);
  }
  
  // allow ONLY alphanumeric keys, no symbols or punctuation
  // this can be altered for any "checkOK" string you desire
  // var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.";
  // var checkStr = theForm.Comment.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 letters and numbers in Comments.");
  // theForm.Comment.focus();
  // return (false);
  // }
  
  if (theForm.validate.value == "")
  {
    alert("Please enter the Validation code.");
    theForm.validate.focus();
    return (false);
  }

  var chkVal = theForm.validate.value;
  var prsVal = chkVal;
  if (chkVal != "" && !(prsVal == "RVNUT"))
  {
    alert("The Validation code you entered is incorrect.");
    theForm.validate.focus();
    return (false);
  }
  return (true);
}
