	function Validator(theForm)
	{
	  if (theForm.firstname.value == "")
	  {
		alert("Please enter your first name.");
		theForm.firstname.focus();
		return (false);
	  }
	  
	  if (theForm.surname.value == "")
	  {
		alert("Please enter your surname.");
		theForm.surname.focus();
		return (false);
	  }
	  
	  
		if (theForm.phone.value == "")
	  {
		alert("Please enter a phone number.");
		theForm.phone.focus();
		return (false);
	  }
	  
		if (theForm.email.value == "")
	  {
		alert("Please enter an email address.");
		theForm.email.focus();
		return (false);
	  }

		if (theForm.postaladdress.value == "")
	  {
		alert("Please enter a postal address.");
		theForm.postaladdress.focus();
		return (false);
	  }

		if (theForm.nearesthouse.value == "")
	  {
		alert("Please enter a nearest house or shop number.");
		theForm.nearesthouse.focus();
		return (false);
	  }
	  
	  	if (theForm.street.value == "")
	  {
		alert("Please enter a street name.");
		theForm.street.focus();
		return (false);
	  }


	  	if (theForm.town.value == "")
	  {
		alert("Please enter a town name.");
		theForm.town.focus();
		return (false);
	  }
	  
	  	if (theForm.problemdescription.value == "")
	  {
		alert("Please enter a problem description.");
		theForm.problemdescription.focus();
		return (false);
	  }
	  
	

	}
	
