	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);
		strTelephone = new String(document.getElementById('txtTelephone').value);
		strCustomerEmail = new String(document.getElementById('txtCustomerEmail').value);
		strWhatBrochure = new String(document.getElementById('selWhatBrochure').value);
		
		
		strValidateMessage = new String('');
		var intValidate = 0

		if (strName == '' || strAddressOne == '' || strTown == '' || strPostcode == '' || strTelephone == '' || strCustomerEmail == '' || strWhatBrochure == '') {
			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('frmBrochure').submit();
		}
		else {
			alert(strValidateMessage);
		}
	}
	
	