<!--
function validatefrmBookingDetails(){
			if (document.frmBookingDetails.hostelNo.value==""){

				alert("Please Select the Hostel you want to Book!")

				document.frmBookingDetails.hostelNo.focus()

				return false;

			}
			
			if (document.frmBookingDetails.arrDay.value==""){

				alert("Please Select Arrival Date !")

				document.frmBookingDetails.arrDay.focus()

				return false;

			}
			
			if (document.frmBookingDetails.arrMonth.value==""){

				alert("Please Select Arrival Date !")

				document.frmBookingDetails.arrMonth.focus()

				return false;

			}
			if (document.frmBookingDetails.arrYear.value==""){

				alert("Please Select Arrival Date !")

				document.frmBookingDetails.arrYear.focus()

				return false;

			}
			if (document.frmBookingDetails.noOfNights.value==""){

				alert("Please enter No. of nights of your stay !")

				document.frmBookingDetails.noOfNights.focus()

				return false;
			}
			if (document.frmBookingDetails.arrTime.value==""){

				alert("Please enter Your Time of Arrival !")

				document.frmBookingDetails.arrTime.focus()

				return false;
			}
// calculate Departure Date Start			
/*			var noOfDays = document.frmBookingDetails.noOfNights.value;
			var arr_dd = document.frmBookingDetails.arrDay.value;
			var arr_mm = document.frmBookingDetails.arrMonth.value;
			var arr_yy = document.frmBookingDetails.arrYear.value;
			var dateEntered = arr_mm + "/" + arr_dd + "/" + arr_yy;
				var noOfSeconds = (new Date(dateEntered)).getTime() + 86400000 * (noOfDays);
				var endDateLong = new Date(noOfSeconds);
				var     mm = endDateLong.getMonth() + 1;
				var     dd = endDateLong.getDate();
				var     yy = endDateLong.getFullYear();
				document.frmBookingDetails.depDate.value = dd + "/" + mm + "/" + yy;
				document.frmBookingDetails.arrTime.focus();   	*/
// calculate Departure Date End
}
-->