	function extscripttest() {
		alert('External Javascript Working');
	}

	function frmValidation() {
		strAddressOne = new String(document.getElementById('txtAddressOne').value);
		strTown = new String(document.getElementById('txtTown').value);
		strPostcode = new String(document.getElementById('txtPostcode').value);
		strCustomerEmail = new String(document.getElementById('txtCustomerEmail').value);
		strTelephone = new String(document.getElementById('txtTelephone').value);
		strServiceType = new String(document.getElementById('selServiceType').value);
		strVehicleMake = new String(document.getElementById('txtVehicleMake').value);
		strVehicleModel = new String(document.getElementById('txtVehicleModel').value);
		strVehicleYear = new String(document.getElementById('txtVehicleYear').value);
		strVehicleReg = new String(document.getElementById('txtVehicleReg').value);
		strEngineSize = new String(document.getElementById('txtEngineSize').value);
		strOwnerYesorNo = new String(document.getElementById('selOwnerYesorNo').value);
		strAppointDate = new String(document.getElementById('txtAppointDate').value);
		strAppointTime = new String(document.getElementById('txtAppointTime').value);
		
		strValidateMessage = new String('');
		var intValidate = 0

		if (strAddressOne == '' || strTown == '' || strPostcode == '' || strCustomerEmail == '' || strTelephone == '' || strServiceType == '' || strVehicleMake == '' || strVehicleModel == '' || strVehicleYear == '' || strVehicleReg == '' || strEngineSize == '' || strOwnerYesorNo == '' || strAppointDate == '' || strAppointTime == '') {
			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('frmService').submit();
		}
		else {
			alert(strValidateMessage);
		}
	}
	
	