	function extscripttest() {
		alert('External Javascript Working');
	}

	function frmValidation() {
		strName = new String(document.getElementById('txtName').value);
		strAddressOne = new String(document.getElementById('txtAddressOne').value);
		strTown = new String(document.getElementById('txtTown').value);
		strPostcode = new String(document.getElementById('txtPostcode').value);
		strYearsAt = new String(document.getElementById('selYearsAt').value);
		strMonthsAt = new String(document.getElementById('selMonthsAt').value);
		strMarital = new String(document.getElementById('txtMarital').value);
		strTelephone = new String(document.getElementById('txtTelephone').value);
		strCustomerEmail = new String(document.getElementById('txtCustomerEmail').value);
		strBirthDay = new String(document.getElementById('selBirthDay').value);
		strBirthMonth = new String(document.getElementById('selBirthMonth').value);
		strBirthYear = new String(document.getElementById('selBirthYear').value);
		strVehicle = new String(document.getElementById('txtVehicle').value);
		strEstPrice = new String(document.getElementById('txtEstPrice').value);
		strEstDeposit = new String(document.getElementById('txtEstDeposit').value);
		strFinancReq = new String(document.getElementById('txtFinanceReq').value);
		
		
		strValidateMessage = new String('');
		var intValidate = 0

		if (strName == '' || strAddressOne == '' || strTown == '' || strPostcode == '' || strYearsAt == '' || strMonthsAt == '' || strMarital == '' || strTelephone == '' || strEmail == '' || strBirthDay == '' || strBirthMonth == '' || strBirthYear == '' || strVehicle == '' || strEstPrice == '' || strEstDeposit == '' || strFinanceReq == '') {
			strValidateMessage = 'You must fill in the required fields';
			intValidate = intValidate + 1;
		}
		/*if (strEmailAddress == '') {
			strValidateMessage = strValidateMessage + '\nYou Forgot to enter an email address.';
			intValidate = intValidate + 1;
		}*/	
		if (intValidate == 0) {
			document.getElementById('frmFinanceApp').submit();
		}
		else {
			alert(strValidateMessage);
		}
	}
	
	