var today = new Date();
				function dateStatus(date) {
					
					if (date > today) 
					{
					  return false; // leave other dates "enabled"
					} 
					else 
					{
					  return true; // true says "disabled"
					}

				} /// func sonu  

				Calendar.setup({
					inputField		:   "rez_checkin_date",							// id of the input field
					range			:   [2010,2015],			// the date format
					ifFormat		:   "%d-%m-%Y",									// the date format
					showsTime		:   false,										// will display a time selector
					singleClick		:   true,										// double-click mode
					step			:   1,											// show all years in drop-down boxes (instead of every other year as default)
					///dateStatusFunc	:	dateStatus,
					firstDay		:   1
				});
