function validateForm() 
{
 var okSoFar=true
 with (document.coaching)
 {
  if (cust_name.value=="" && okSoFar)
  {
	okSoFar=false
	alert("Please confirm your full name.")
	cust_name.focus()
  }
  var foundAt = email.value.indexOf("@",0)
  if (foundAt < 1 && okSoFar)
  {
	okSoFar = false
	alert ("Please enter a valid email address.")
	email.focus()
  }
  if (phone.value=="" && okSoFar)
  {
	okSoFar=false
	alert("Please confirm your contact number.")
	phone.focus()
  }
  if (age.value=="" && okSoFar)
  {
	okSoFar=false
	alert("Please confirm age range.")
	age.focus()
  }
  if (exp.value=="" && okSoFar)
  {
	okSoFar=false
	alert("Please confirm your level of experience.")
	exp.focus()
  }
  if (okSoFar==true)  submit();
 }
}
