function formValidator(theForm)

		{
		
		if (theForm.surname.value == "")
		{
			alert("Please enter a value for the \"Surname\" field");
			theForm.surname.focus();
			return (false);
			}

		if (theForm.company.value == "")
		{
			alert("Please enter a value for the \"Company\" field");
			theForm.company.focus();
			return (false);
			}
			
			if (theForm.email.value == "")
		{
			alert("Please enter a value for the \"E-mail\" field");
			theForm.company.focus();
			return (false);
			}

		return (true);
		}
