	//日付情報をセット//
	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=00020&hcod2=001&mode=seek&hidmode=select&hidSELECTARRYMD='+document.frmplanseek.hidSELECTARRYMD.value +
'&hidSELECTHAKSU='+document.frmplanseek.hidSELECTHAKSU.value +
'&hidSELECTadult='+document.frmplanseek.cmbADULT.value,'planlist','width=850,Height=650,resizable=yes,scrollbars=yes,status=yes');
	//そのままサブミットの場合
//		document.frmplanseek.action = 'https://asp.hotel-story.ne.jp/ver3d/planlist.asp?hcod1=00020&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();

		return false;
	}


	//コンボボックスから日付にコンバート
	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
	}



