	function extscripttest() {
		alert('External Javascript Working');
	}

	function frmValidation2() {
		strCompany = new String(document.getElementById('txtCompany').value);
		strEmail = new String(document.getElementById('txtEmail').value);
		strAddress = new String(document.getElementById('txtAddress').value);
		strPostcode = new String(document.getElementById('txtPostcode').value);
		strContact = new String(document.getElementById('txtContact').value);
		strTelephone = new String(document.getElementById('txtTelephone').value);
		strDateAvailable = new String(document.getElementById('txtDateAvailable').value);
		strTimeAvailable = new String(document.getElementById('txtTimeAvailable').value);
		strDeliveryAddress = new String(document.getElementById('txtDeliveryAddress').value);
		strDeliveryPostcode = new String(document.getElementById('txtDeliveryPostcode').value);
		strServiceReq = new String(document.getElementById('txtServiceReq').value);
		strDeliveryTime = new String(document.getElementById('txtDeliveryTime').value);
		strConsignNo = new String(document.getElementById('txtConsignNo').value);
		strWeight = new String(document.getElementById('txtWeight').value);
		strPallets = new String(document.getElementById('txtPallets').value);
		strGoodsDesc = new String(document.getElementById('txtGoodsDesc').value);
		strHazardous = new String(document.getElementById('txtHazardous').value);
		strClass = new String(document.getElementById('txtClass').value);
		strUN = new String(document.getElementById('txtUN').value);
		
		strValidateMessage = new String('');
		var intValidate = 0

		if (strCompany == '' || strEmail == '' || strAddress == '' || strPostcode == '' || strContact == '' || strTelephone == '' || strDateAvailable == '' || strTimeAvailable == '' || strDeliveryAddress == '' || strDeliveryPostcode == '' || strServiceReq == '' || strDeliveryTime == '' || strConsignNo == '' || strWeight == '' || strPallets == '' || strGoodsDesc == '' || strHazardous == '' || strClass == '' || strUN == '') {
			strValidateMessage = 'All fields are required';
			intValidate = intValidate + 1;
		}
		/*if (strEmailAddress == '') {
			strValidateMessage = strValidateMessage + '\nYou Forgot to enter an email address.';
			intValidate = intValidate + 1;
		}*/	
		if (intValidate == 0) {
			document.getElementById('frmBooking').submit();
		}
		else {
			alert(strValidateMessage);
		}
	}

