function checkForm(theForm)
  {
    if(theForm.realname.value == "")
    {
      alert("Please enter your name.");
      theForm.realname.focus();
      return false;
    }
    else if(theForm.email.value == "")
    {
      alert("Please enter your e-mail address.");
      theForm.email.focus();
      return false;
    }
    else if(theForm.email.value.indexOf("@") == -1)
    {
      alert("Please enter a valid e-mail address.");
      theForm.email.focus();
      return false;
    }
    else if(theForm.message.value == "")
    {
      alert("Please enter some feedback.");
      theForm.message.focus();
      return false;
    }
	if(theForm.imgverify.value == "")
    {
      alert("Please enter verification characters.");
      theForm.imgverify.focus();
      return false;
    }
    return true;
  }