	//日付情報をセット//

//by yas 060731 日付の取得がおかしかったので訂正
	today = new Date();
	today.setDate(today.getDate() + 1); //xDayの日時を今日からnum日加えたものに変更
	document.frmplanseek.cmbARRY.value = today.getYear();
	document.frmplanseek.cmbARRM.value = today.getMonth() + 1;
	document.frmplanseek.cmbARRD.value = today.getDate();

/*
	today = new Date();
	document.frmplanseek.cmbARRY.value = today.getYear();
	document.frmplanseek.cmbARRM.value = today.getMonth() + 1;
	document.frmplanseek.cmbARRD.value = today.getDate() + 1;
*/

	//サブミットボタンをクリックした
	function btnSeekSubmit(btnName) {

		//日付の設定
		setSeekYmd();

	//ウインドウオープンの場合
		window.open('https://asp.hotel-story.ne.jp/ver3d/planlist.asp?hcod1=01330&hcod2=001&hidmode=select&mode=seek&hidSELECTARRYMD='+document.frmplanseek.hidSELECTARRYMD.value + '&hidSELECTHAKSU='+document.frmplanseek.hidSELECTHAKSU.value + '&hidSELECTadult='+document.frmplanseek.cmbADULT.value + '&hidSELECTminPrice='+document.frmplanseek.minPrice.value + '&hidSELECTmaxPrice='+document.frmplanseek.maxPrice.value,'planlist');

	//そのままサブミットの場合
//		document.frmplanseek.action = 'https://asp.hotel-story.ne.jp/ver3d/planlist.asp?hcod1=01330&hcod2=001&mode=seek&hidSELECTARRYMD='+document.frmplanseek.hidSELECTARRYMD.value + '&hidSELECTHAKSU='+document.frmplanseek.hidSELECTHAKSU.value + '&cmbADULT='+document.frmplanseek.cmbADULT.value + '&minPrice='+document.frmplanseek.minPrice.value + '&maxPrice='+document.frmplanseek.maxPrice.value ;
//		document.frmplanseek.method = 'POST';
//		document.frmplanseek.submit();

	}


	//コンボボックスから日付にコンバート
	function setSeekYmd() {
		var tmpText;
		var sIndex;
		sIndex = document.frmplanseek.cmbARRY.selectedIndex;
		tmpText = document.frmplanseek.cmbARRY.options[sIndex].value;
		sIndex = document.frmplanseek.cmbARRM.selectedIndex;
		tmpText = tmpText + '/' + document.frmplanseek.cmbARRM.options[sIndex].value;
		sIndex = document.frmplanseek.cmbARRD.selectedIndex;
		tmpText = tmpText + '/' + document.frmplanseek.cmbARRD.options[sIndex].value;
		document.frmplanseek.hidSELECTARRYMD.value = tmpText
	}
