	/////////////////////////////////////////////////
	//Initialize checkin and checkout date calendars
	/////////////////////////////////////////////////
	
			function validDatecheckin(date) { 
				// date is a JS Date object 
				var notvalid = false; 
				var earliest = new Date(1998 , 02, 01) //This is March 1, 1998 for demo, use now.Date, now.Month... for current
				if(date < earliest) 
				notvalid = true 
				return notvalid; 
				}; 
				
			function validDatecheckout(date) { 
				// date is a JS Date object 
				var notvalid = false; 
				var earliest = new Date(1998 , 02, 02) //For demo set to nights + Mar. 1, 1998//for current use nights + current
				if(date < earliest) 
				notvalid = true 
				return notvalid; 
				}; 

			//sets up the calendar for the checkout input field.// 
			Calendar.setup({
			inputField     :    "checkin",
			ifFormat       :    "%m/%d/%Y",
			button         :    "checkin_trigger",
			align          :    "Bc",
			singleClick    :    true,
			dateStatusFunc :    validDatecheckin
			 });
			//sets up the calendar for the checkout input field.//	
			Calendar.setup({
			inputField     :    "checkout",
			ifFormat       :    "%m/%d/%Y",
			button         :    "checkout_trigger",
			align          :    "Bc",
			singleClick    :    true,
			dateStatusFunc :    validDatecheckout
			 });
