function date_dropdown_make(year_and_month_id, day_id, add_day, ym_change_func, d_change_func) {
	//■■年月セレクトボックス作成
	gy = new Date().getFullYear();
	gm = new Date().getMonth()+1;

	str = ""
	sgm = ""
	str = "<select name='dt_yyyymm' size='1'>"
	//str = str + "<option value='2005/03/01' selected >-------- </option>"

	for (i=1; i <= 12; i++ ){

		if(gm > 12){
			gm = 1;
			gy = gy + 1;
		}
		if(gm < 10){
			sgm="0" + gm;
		}
		else {
			sgm="" + gm;
		}
		str=str + "<option value=" + gy + "/" + sgm + "/" + "01 >" + gy + "年 " + sgm + "月" + "</option>"
		gm=gm+1;
	}

	str = str + "</select>"
	document.write(str);

	//■日セレクトボックス作成
	str = ""
	str = "<select name='dt_dd' size='1'>"
	//str = str + "<option value='1' selected >--</option>"

	gd = new Date().getDate();
	for (i=1; i <= 31; i++ ){
		sgm=""+ i

		if(sgm==gd){
			str=str + "<option value=" + sgm + " selected >" + i + "日" + "</option>";
		}
		else {
			str=str + "<option value=" + sgm + " >" + i + "日" + "</option>";
		}
	}

	str = str + "</select>"
	document.write(str);
}

/**
 * ホテルのドロップダウンリストをエリアに絞る
 */
function change_hotels_from_area() {

	var area_no = document.getElementById('area').options[document.getElementById('area').selectedIndex].value;
	var ddl_hotels = document.getElementById('hi_id');
	
	reservationForm.changeHotelsList(area_no, ddl_hotels);
}

/**
 * ホテルのドロップダウンリストをエリアに絞る 2
 */
function change_hotels_from_area2() {

	var area_no = document.getElementById('area2').options[document.getElementById('area2').selectedIndex].value;
	var ddl_hotels = document.getElementById('hi_id2');

	reservationForm.changeHotelsList(area_no, ddl_hotels);
}

//	以下関数
function add_action_name_hms(form_name, action) {
	var now = new Date();
	if (document.getElementById(form_name)) {
		document.getElementById(form_name).action = action + "#" + now.getHours() + now.getMinutes() + now.getSeconds();
	}
	return true;
}

