	function testing() {
		alert('test');
	}
	function setisReturnAdressChosen(whichValue) {
		isReturnAdressChosen = whichValue;
	}
	function checkForHistorical() {
		var today=new Date;
		var current_day=today.getDate();
		temp1 = document.hotelSearchForm.a_month_year.selectedIndex;
		temp2 = document.hotelSearchForm.d_month_year.selectedIndex;
		temp3 = document.hotelSearchForm.d_date.selectedIndex;
		temp4 = document.hotelSearchForm.a_date.selectedIndex;
		if(temp1 == 0 && current_day>(temp4+1)) {
			document.hotelSearchForm.a_month_year.selectedIndex = 1;
			document.hotelSearchForm.d_month_year.selectedIndex = 1;
			document.hotelSearchForm.d_date.selectedIndex = temp4+1;
		}
	}
	function checkForLastMonth() {
		//which year and month
		temp1 = document.hotelSearchForm.a_month_year.options[document.hotelSearchForm.a_month_year.selectedIndex].value;
		//which year
		temp1 = temp1.substring(4,6);
		if(temp1.substring(0,1) == "0") {
			temp1 = temp1.substring(1,2);
		}
		temp2 = 1*temp1;
		temp2--;
		temp3 = daysInMonth[(temp2)];
		if(document.hotelSearchForm.a_month_year.selectedIndex==12 && document.hotelSearchForm.a_date.selectedIndex == (temp3-1)) {
			temp4 = document.hotelSearchForm.a_date.selectedIndex;
			document.hotelSearchForm.a_date.selectedIndex = (temp4-1);
			document.hotelSearchForm.d_date.selectedIndex = temp4;
			document.hotelSearchForm.d_month_year.selectedIndex = 12;
		}
	}	
