function CS_ProbForm_Validator(theForm)
{
  if (theForm.Name.value == "")
  {
    alert("Please enter a value for the \"Name\" field.");
    theForm.Name.focus();
    return (false);
  }

  if (theForm.Name.value.length < 3)
  {
    alert("Please enter at least 3 characters in the \"Name\" field.");
    theForm.Name.focus();
    return (false);
  }

  if (theForm.Name.value.length > 80)
  {
    alert("Please enter at most 80 characters in the \"Name\" field.");
    theForm.Name.focus();
    return (false);
  }

  if (theForm.Email.value == "")
  {
    alert("Please enter a value for the \"E-mail Address\" field.");
    theForm.Email.focus();
    return (false);
  }

  if (theForm.Email.value.length < 5)
  {
    alert("Please enter at least 5 characters in the \"E-mail Address\" field.");
    theForm.Email.focus();
    return (false);
  }

  if (theForm.Email.value.length > 120)
  {
    alert("Please enter at most 120 characters in the \"E-mail Address\" field.");
    theForm.Email.focus();
    return (false);
  }

  if (theForm.Version.value == "Other" && theForm.OtherVersion.value == "")
  {
    alert("Please enter a version number in the \"Other\" field.");
    theForm.OtherVersion.focus();
    return (false);
  }

  if (theForm.Problem.value.length < 5)
  {
    alert("Please enter a problem description in the \"Problem Description\" field.");
    theForm.Problem.focus();
    return (false);
  }

  return (true);
}

function CS_MailForm_Validator(theForm)
{
  if (theForm.Name.value == "")
  {
    alert("Please enter a value for the \"Name\" field.");
    theForm.Name.focus();
    return (false);
  }

  if (theForm.Name.value.length < 3)
  {
    alert("Please enter at least 3 characters in the \"Name\" field.");
    theForm.Name.focus();
    return (false);
  }

  if (theForm.Name.value.length > 80)
  {
    alert("Please enter at most 80 characters in the \"Name\" field.");
    theForm.Name.focus();
    return (false);
  }

  if (theForm.Email.value == "")
  {
    alert("Please enter a value for the \"E-mail Address\" field.");
    theForm.Email.focus();
    return (false);
  }

  if (theForm.Email.value.length < 5)
  {
    alert("Please enter at least 5 characters in the \"E-mail Address\" field.");
    theForm.Email.focus();
    return (false);
  }

  if (theForm.Email.value.length > 120)
  {
    alert("Please enter at most 120 characters in the \"E-mail Address\" field.");
    theForm.Email.focus();
    return (false);
  }

  if (theForm.Message.value.length < 5)
  {
    alert("Please enter your message text in the \"Your Message\" field.");
    theForm.Message.focus();
    return (false);
  }

  return (true);
}
