							function validateForm() 
							{
							 var okSoFar=true
							 with (document.newsletter_sub)
							 {
							  if (email.value=="email address" && okSoFar)
							  {
								okSoFar=false
								alert("Please enter your email address.")
								email.focus()
							  }
							  var foundAt = email.value.indexOf("@",0)
							  if (foundAt < 1 && okSoFar)
							  {
								okSoFar = false
								alert ("Please enter a valid email address.")
								email.focus()
							  }
							  if (postcode.value=="postcode" && okSoFar)
							  {
								okSoFar=false
								alert("Please enter your postcode.")
								postcode.focus()
							  }
							  if (okSoFar==true)  submit();
							 }
							}
