function Validator(theForm)
    {
      var error = "";

if (theForm.name.value == "")
  {
    error += "Please complete your name.\n\n";
  }


if (theForm.email.value == "")
  {
    error += "You need to include an accurate email address.\n\n";
  }
  if ((theForm.email.value.indexOf ('@',0) == -1 ||
   theForm.email.value.indexOf ('.',0) == -1) &&
   theForm.email.value != "")
  {
    error += "Please verify that your email address is valid.\n\n";
  }

if (theForm.comment.value == "")
  {
    error += "You need to add your message.\n\n";
}

if (theForm.comment.value.length > 255)
  {
    error += "Your message has too many characters.\n\n";
}


if (error != "")
  {
    alert(error);
    return (false);
  } else {
    return (true);
  }

}

