function FreeReport_Validator(theForm)
{

//NAME VALIDATE:
  if (theForm.rname.value == "")
  //TEST FOR ENTRY
  {
    alert("Please enter a value for the \"Name (First, Last)\" field.");
    theForm.rname.focus();
    return (false);
  }

//COMPANY:
  if (theForm.company.value == "")
  //TEST FOR ENTRY
  {
    alert("Please enter a value for the \"Company\" field.");
    theForm.company.focus();
    return (false);
  }

//EMAILADDRESS:
  var str=theForm.email.value
  var filter=/^(\w+(?:\.\w+)*)@((?:\w+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i
    if (filter.test(str))
    testresults=true
    else{
    alert("Please input a valid email address!")
    return (false);
    }

//SCRIPT END
  return (true);
}
//-->
