function chkTourResevation() {
	/* ----------begning of checking Full name ----------------*/
		spattern = /^[\s]+$/
		pattern = /^[a-zA-Z\'\s]+$/
		str = document.frmTourReservation.txtName.value
		
		if (str.match(spattern)) {
			alert("Please enter a valid entry for your full name.")
			document.frmTourReservation.txtName.focus();
			return false;
		}
		
		if (document.frmTourReservation.txtName.value=="") {
			alert("Please enter your full name.")
			document.frmTourReservation.txtName.focus();
			return false
		} 
		
		if (!str.match(pattern)) {
			alert("Invalid characters. Please enter only letters in your full name.")
			document.frmTourReservation.txtName.focus();
			return false;
		}
	/* ----------end of checking full name ----------------*/	

	/* ----------begning of checking Nationality ----------------*/
		spattern = /^[\s]+$/
		pattern = /^[a-zA-Z\'\s]+$/
		str = document.frmTourReservation.txtNationality.value

		if (document.frmTourReservation.txtNationality.value!="") {
			if (str.match(spattern)) {
				alert("Please enter a valid entry for your nationality.")
				document.frmTourReservation.txtNationality.focus();
				return false;
			}
			
			if (!str.match(pattern)) {
				alert("Invalid characters. Please enter only letters in your nationality.")
				document.frmTourReservation.txtNationality.focus();
				return false;
			}
		}
	/* ----------end of checking Nationality ----------------*/	

	/* ----------begning of checking Number of PAX  ----------------*/
		pattern = /^[0-9]+$/
		spattern = /^[\s]+$/
		str = document.frmTourReservation.txtNumOfPax.value
		
		if (document.frmTourReservation.txtNumOfPax.value=="") {
			alert("Please enter numbers of pax.")
			document.frmTourReservation.txtNumOfPax.focus();
			return false			
		}
		if (str.match(spattern)) {
			alert("Please enter a valid entry for number of pax.")
			document.frmTourReservation.txtNumOfPax.focus();
			return false;
		}	

		if (!str.match(pattern)) {
			alert("Invalid characters. Please check your entry and type in only numbers.")
			document.frmTourReservation.txtNumOfPax.focus();
			return false;
		} 		
	/* ----------end of checking Number of PAX ----------------*/
	
	/* ----------begning of checking Number of Adults  ----------------*/
		pattern = /^[0-9]+$/
		spattern = /^[\s]+$/
		str = document.frmTourReservation.txtAdults.value
		
		if (document.frmTourReservation.txtAdults.value!="") {
			if (str.match(spattern)) {
				alert("Please enter a valid entry for number of adults.")
				document.frmTourReservation.txtAdults.focus();
				return false;
			}	
	
			if (!str.match(pattern)) {
				alert("Invalid characters. Please check your entry and type in only numbers.")
				document.frmTourReservation.txtAdults.focus();
				return false;
			}
		} 		
	/* ----------end of checking Number of Adults ----------------*/
	
	/* ----------begning of checking Children under 12 years  ----------------*/
		pattern = /^[0-9]+$/
		spattern = /^[\s]+$/
		str = document.frmTourReservation.txtChildUnder.value
		
		if (document.frmTourReservation.txtChildUnder.value!="") {
			if (str.match(spattern)) {
				alert("Please enter a valid entry for number of children under 12 years.")
				document.frmTourReservation.txtChildUnder.focus();
				return false;
			}	
	
			if (!str.match(pattern)) {
				alert("Invalid characters. Please check your entry and type in only numbers.")
				document.frmTourReservation.txtChildUnder.focus();
				return false;
			}
		} 
	/* ----------end of checking Children under 12 years ----------------*/	

	/* ----------begning of checking Dates of travel in full   ----------------*/
		
		if (document.frmTourReservation.txtDateOfFull.value=="") {
			alert("Please enter dates of travel in full.")
			document.frmTourReservation.txtDateOfFull.focus();
			return false			
		}

	/* ----------end of checking Dates of travel in full  ----------------*/

	/* ----------begning of checking Address ----------------*/
		if (document.frmTourReservation.txtAddress.value=="") {
			alert("Address cannot be blank.");
			document.frmTourReservation.txtAddress.focus();
			return false;
		} 	
	/* ----------begning of checking Address ----------------*/

	/* ----------begning of checking Telephone  ----------------*/
		pattern = /^[0-9\-\+\s]+$/
		spattern = /^[\s]+$/
		str = document.frmTourReservation.txtContact.value
		
		if (document.frmTourReservation.txtContact.value=="") {
			alert("Please enter your contact number");
			document.frmTourReservation.txtContact.focus();
			return false
		} 
		
		if (str.match(spattern)) {
			alert("Please enter a valid entry for your contact number.")
			document.frmTourReservation.txtContact.focus();
			return false;
		}	

		if ((document.frmTourReservation.txtContact.value.length) > 14) {
			alert("Invalid phone number.")
			document.frmTourReservation.txtContact.focus();
			return false;
		}
		
		if (!str.match(pattern)) {
			alert("Invalid characters. Please check your entry and type in only numbers.")
			document.frmTourReservation.txtContact.focus();
			return false;
		}
	/* ----------end of checking Telephone ----------------*/
	
	/* ----------bedgning of checking e-mail ----------------*/
		str=document.frmTourReservation.txtEmail.value
		pattern = /^.+\@.+\..+$/
		spattern = /^[\s]+$/
		
		if (str=="") {
			alert("Please enter a valid email address.");
			document.frmTourReservation.txtEmail.focus();
			return false;
		} 
		
		if (str.match(spattern)) {
			alert("Please enter a valid entry for your email address.")
			document.frmTourReservation.txtEmail.focus();
			return false;
		}
		
		if (!str.match(pattern)) {
			alert("Email address cannot be blank and must be valid\nEg: abc@domainname.com.")
			document.frmTourReservation.txtEmail.focus();
			return false;
		}
	/* ------------ end of checking e-mail ----------------*/
}