<!--
function validateForm() 
{
var okSoFar=true
with (document.forms[0])
{

  if (FirstName.value=="" && okSoFar)  {
    okSoFar=false
    alert("Please enter your Title and First Name")
    FirstName.focus()
 	return false
  }

  if (Name.value=="" && okSoFar)  {
    okSoFar=false
    alert("Please enter your Family Name")
    Name.focus()
 	return false
  }

  var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/
  if (!filter.test(Email.value) && okSoFar)  {
    okSoFar = false
    alert ("Please enter a valid email address")
    Email.focus()
 	return false
  }

  if (Activities.value.match("http://") || Activities.value.match("https://") && okSoFar) {
//	alert ("Activities= " + Activities.value)
    okSoFar = false
    alert ("Invalid characters found (Html tags or links not allowed]")
	Activities.focus()
 	return false
  }
  
if (okSoFar==true) {
	S2.value=4*3;	//spam bots currently cannot read JavaScript, if could then they'd fail the maths!
	submit();
	}
} // end WITH
} // end FUNCTION
// -->
