							function validateForm() 
							{
							 var okSoFar=true
							 with (document.online_booking2)
							 {
							              if (name.value=="" && okSoFar)
							  {
								okSoFar=false
								alert("Please enter your name.")
								name.focus()
							  }
							  
							  			  if (add.value=="" && okSoFar)
							  {
								okSoFar=false
								alert("Please enter your Address.")
								add.focus()
							  }
							  
							              if (city.value=="" && okSoFar)
							  {
								okSoFar=false
								alert("Please enter your City / Town.")
								city.focus()
							  }
							  
							  			  if (pcode.value=="" && okSoFar)
							  {
								okSoFar=false
								alert("Please enter your Postcode.")
								pcode.focus()
							  }
							  
							  
							  	          if (contactno.value=="" && okSoFar)
							  {
								okSoFar=false
								alert("Please enter your contact number.")
								contactno.focus()
							  }
							  
							    var foundAt = email.value.indexOf("@",0)
							  if (foundAt < 1 && okSoFar)
							  {
								okSoFar = false
								alert ("Please enter a valid email address.")
								email.focus()
							  }
							  
							    if (issue.value=="" && okSoFar)
							  {
								okSoFar=false
								alert("Please enter an Issue / Problem")
								issue.focus()
							  }

							  			  if (themessage.value=="" && okSoFar)
							  {
								okSoFar=false
								alert("Please enter your message.")
								themessage.focus()
							  }
							  
							  if (okSoFar==true)  submit();
							 }
							}
