function Validator(theForm)
{

  if (theForm.Heading.value == "")
  {
    alert("Please enter a value for the \"Heading\" field.");
    theForm.Heading.focus();
    return (false);
  }

  if (theForm.Heading.value.length < 10)
  {
    alert("Please enter at least 10 characters in the \"Heading\" field.");
    theForm.Heading.focus();
    return (false);
  }

  if (theForm.Heading.value.length > 100)
  {
    alert("Please enter at most 100 characters in the \"Heading\" field.");
    theForm.Heading.focus();
    return (false);
  }

  if (theForm.From.value == "")
  {
    alert("Please enter a value for the \"From\" field.");
    theForm.From.focus();
    return (false);
  }

  if (theForm.From.value.length < 10)
  {
    alert("Please enter at least 10 characters in the \"From\" field.");
    theForm.From.focus();
    return (false);
  }

  if (theForm.From.value.length > 100)
  {
    alert("Please enter at most 100 characters in the \"From\" field.");
    theForm.From.focus();
    return (false);
  }

  
  if (theForm.Main_paragraph.value == "")
  {
    alert("Please enter a value for the \"Main_paragraph\" field.");
    theForm.Main_paragraph.focus();
    return (false);
  }

  if (theForm.Main_paragraph.value.length < 50)
  {
    alert("Please enter at least 50 characters in the \"Main_paragraph\" field.");
    theForm.Main_paragraph.focus();
    return (false);
  }

  if (theForm.Main_paragraph.value.length > 255)
  {
    alert("Please enter at most 255 characters in the \"Main_paragraph\" field.");
    theForm.Main_paragraph.focus();
    return (false);
  }

  if (theForm.Main_message.value == "")
  {
    alert("Please enter a value for the \"Main_message\" field.");
    theForm.Main_message.focus();
    return (false);
  }

  if (theForm.Main_message.value.length < 50)
  {
    alert("Please enter at least 50 characters in the \"Main_message\" field.");
    theForm.Main_message.focus();
    return (false);
  }

  if (theForm.SSTop.value == "")
  {
    alert("Please enter a value for the \"SSTop\" field.");
    theForm.SSTop.focus();
    return (false);
  }

  if (theForm.SSTop.value.length > 6)
  {
    alert("Please enter at most 6 characters in the \"SSTop\" field.");
    theForm.SSTop.focus();
    return (false);
  }

  var chkVal = theForm.SSTop.value;
  var prsVal = chkVal;
  if (chkVal != "" && !(prsVal == "148878"))
  {
    alert("Please enter a value equal to \"148878\" in the \"SSTop\" field.");
    theForm.SSTop.focus();
    return (false);
  }
  return (true);
}