﻿	function ValidateForm()
	{
		var over18 = document.Preapplication.Over18;
		var bankrupt = document.Preapplication.Bankrupt;
		var creditcheck = document.Preapplication.CreditCheck;
		var inarea = document.Preapplication.InArea;
		
		if (over18.value == "No")
		{
			window.alert("As you have answered No to one or more of our preliminary questions, you will need to contact us to apply.");
			return false;
		}
		
		if (bankrupt.value =="No")
		{
			window.alert("As you have answered No to one or more of our preliminary questions, you will need to contact us to apply.");
			return false;
		}
		
		if (creditcheck.value =="No")
		{
			window.alert("As you have answered No to one or more of our preliminary questions, you will need to contact us to apply.");
			return false;
		}
		
		if (inarea.value =="No")
		{
			window.alert("As you are not in our service area we are unable to help you at this time - Sorry");
			return false;
		}

		return true;
	}
