<!--

function Validator(theForm)
{

  if (theForm.fname.value == "")
  {
    alert("Please enter your first name.");
    theForm.fname.focus();
    return (false);
  }

  if (theForm.lname.value == "")
  {
    alert("Please enter your last name.");
    theForm.lname.focus();
    return (false);
  }

  if (theForm.title.value == "")
  {
    alert("Please enter your title.");
    theForm.title.focus();
    return (false);
  }

  if (theForm.company.value == "")
  {
    alert("Please enter your company name.");
    theForm.company.focus();
    return (false);
  }


  if (theForm.phone.value == "")
  {
    alert("Please enter your phone number.");
    theForm.phone.focus();
    return (false);
  }

  if (theForm.email.value == "")
  {
    alert("Please enter your e-mail address.");
    theForm.email.focus();
    return (false);
  } else {
		var x = theForm.email.value;
		var filter  = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9])+$/;
		if (!filter.test(x)) {
			alert("Please enter a valid e-mail address");
			theForm.email.focus();
			return (false);
		}
  }

	/* start CAPTCHA */
	if (theForm.securityCode.value == "")
	{
	  alert("Please enter the Word Verification code.");
	  theForm.securityCode.focus();
	  return false;
	}
	/* end CAPTCHA */

  return (true);
}

//-->