﻿document.write('<style type="text/css">');
document.write('<!--');

document.write('.booking-search { line-height:1.8em;}');
document.write('.booking-search h4 { margin:0; padding:0; font-size:14px;}');
document.write('.booking-search h4 span { margin:0; padding:0; font-size:10px;}');
document.write('.booking { font-size:14px; font-weight:bold;}');

document.write('.booking-search input,.booking-search select { margin:2px; padding:2px 3px;font-family:Arial,Helvetica,sans-serif;}');
document.write('.booking-search input.button { width:180px; margin:3px auto; text-align:center;}');
document.write('.booking-search hr { clear:both; width:98%; height:0; margin:0; padding:0; border:none; border-bottom:1px dotted #CCCCCC;}');

document.write('#nitteiarea,');
document.write('#ninzuarea,');
document.write('#ryokinarea,');
document.write('#searchtypearea { width:100%; margin:0; padding:5px; border:none;}');
document.write('#searchtypearea label {}');

document.write('input#chkymd,');
document.write('input#chkpsn { margin:0; padding:0;}');

document.write('#calidif,');
document.write('#apple_overlayif { width:0; height:0; position:absolute; display:block;}');

document.write('//-->');
document.write('</style>');




document.write('<div class="onlineservice">');
document.write('<h3 id="hd_search">オンライン宿泊予約</h3>');

document.write('<div class="onlineservice-inner">');
document.write('<div class="onlineservice-inner-inner">');

document.write('<form id="frmplanseek" name="frmplanseek" onSubmit="return false;">');
document.write('<div class="booking-search">');
document.write('<div class="booking-search-inner">');

document.write('<table cellpsacing="0" cellpadding="0" border="0" width="100%">');
document.write('<tr><td colspan="2">');

document.write('<h4 class="booking">宿泊日(年/月/日)</h4>');

document.write('<div id="calid"></div>');
document.write('<input type="text" name="cmbARRY" size="2" maxlength="4" onClick="cal.write();" onChange="cal.getFormValue(); cal.hide();">/');
document.write('<input type="text" name="cmbARRM" size="2" maxlength="2" onClick="cal.write();" onChange="cal.getFormValue(); cal.hide();">/');
document.write('<input type="text" name="cmbARRD" size="2" maxlength="2" onClick="cal.write();" onChange="cal.getFormValue(); cal.hide();">');
document.write('<br />');

document.write('<select name="hidSELECTHAKSU">');
document.write('<option value="1" selected>1</option>');
document.write('<option value="2">2</option>');
document.write('<option value="3">3</option>');
document.write('<option value="4">4</option>');
document.write('<option value="5">5</option>');
document.write('</select>泊&nbsp;&nbsp;');

document.write('<select name="hidROOM">');
document.write('<option value="1" selected>1</option>');
document.write('<option value="2">2</option>');
document.write('<option value="3">3</option>');
document.write('</select>室<br />');

document.write('<input type="checkbox" name="chkymd" id="chkymd" value="1" onclick="cngchkymd();">&nbsp;');
document.write('<label for="chkymd" >日程未定</label>');

document.write('</div>');
document.write('</div>');
document.write('<hr />');

document.write('<div class="booking_date">');
document.write('<div id="ninzuarea">');
document.write('<h4 class="booking">利用人数／1部屋</h4>');

document.write('<select name="cmbADULT">');
document.write('<option value="1" selected>1</option>');
document.write('<option value="2">2</option>');
document.write('<option value="3">3</option>');
document.write('<option value="4">4</option>');
document.write('<option value="5">5</option>');
document.write('<option value="6">6</option>');
document.write('<option value="7">7</option>');
document.write('<option value="8">8</option>');
document.write('<option value="9">9</option>');
document.write('<option value="10">10</option>');
document.write('</select>名様&nbsp;&nbsp;');

document.write('<input type="checkbox" name="chkpsn" id="chkpsn"  value="1" onclick="cngchkpsn();">&nbsp;');
document.write('<label for="chkpsn" >人数未定</label>');

document.write('<input type="hidden" name="cmbCHILDa" value="0">');
document.write('<input type="hidden" name="cmbCHILDb" value="0">');
document.write('<input type="hidden" name="cmbCHILDc" value="0">');
document.write('<input type="hidden" name="cmbCHILDd" value="0">');

document.write('</div>');
document.write('</div>');
document.write('<hr />');

document.write('<div class="booking_date">');
document.write('<div id="ryokinarea">');
document.write('<h4 class="booking">ご予算<span>(1室もしくは1人あたり)</span></h4>');

document.write('<select name="minPrice">');
document.write('<option value="0" selected>下限なし</option>');
document.write('<option value="5000">&yen;5,000</option>');
document.write('<option value="6000">&yen;6,000</option>');
document.write('<option value="7000">&yen;7,000</option>');
document.write('<option value="8000">&yen;8,000</option>');
document.write('<option value="10000">&yen;10,000</option>');
document.write('<option value="15000">&yen;15,000</option>');
document.write('<option value="20000">&yen;20,000</option>');
document.write('<option value="25000">&yen;25,000</option>');
document.write('<option value="30000">&yen;30,000</option>');
document.write('<option value="35000">&yen;35,000</option>');
document.write('<option value="40000">&yen;40,000</option>');
document.write('<option value="45000">&yen;45,000</option>');
document.write('<option value="50000">&yen;50,000</option>');
document.write('</select>&nbsp;');

document.write('<select name="maxPrice">');
document.write('<option value="8000">&yen;8,000</option>');
document.write('<option value="10000">&yen;10,000</option>');
document.write('<option value="11000">&yen;11,000</option>');
document.write('<option value="12000">&yen;12,000</option>');
document.write('<option value="13000">&yen;13,000</option>');
document.write('<option value="14000">&yen;14,000</option>');
document.write('<option value="15000">&yen;15,000</option>');
document.write('<option value="20000">&yen;20,000</option>');
document.write('<option value="25000">&yen;25,000</option>');
document.write('<option value="30000">&yen;30,000</option>');
document.write('<option value="35000">&yen;35,000</option>');
document.write('<option value="40000">&yen;40,000</option>');
document.write('<option value="50000">&yen;50,000</option>');
document.write('<option value="60000">&yen;60,000</option>');
document.write('<option value="70000">&yen;70,000</option>');
document.write('<option value="80000">&yen;80,000</option>');
document.write('<option value="90000">&yen;90,000</option>');
document.write('<option value="100000">&yen;100,000</option>');
document.write('<option value="110000">&yen;110,000</option>');
document.write('<option value="120000">&yen;120,000</option>');
document.write('<option value="130000">&yen;130,000</option>');
document.write('<option value="140000">&yen;140,000</option>');
document.write('<option value="150000">&yen;150,000</option>');
document.write('<option value="9999999" selected>上限なし</option>');
document.write('</select>');

document.write('</div>');
document.write('</div>');
document.write('<hr />');

document.write('<div class="booking_date">');
document.write('<div id="searchtypearea">');

document.write('<input type="radio" name="hiddispunit" id="selectplan" value=""	checked	><label for="selectplan">宿泊プランを表示</label><br />');
document.write('<input type="radio" name="hiddispunit" id="selectroom" value="room"	><label for="selectroom">お部屋タイプを表示</label><br />');
document.write('<input type="radio" name="hiddispunit" id="selectcald" value="calendar"	><label for="selectcald">空室カレンダーを表示</label><br />');
document.write('</div>');
document.write('</div>');

document.write('<input type="button" name="seek" class="button" value="検索" onClick="btnSeekSubmit()">');
// document.write('<input type="button" name="seek" class="button" value="ご予約の確認・キャンセル" onClick="btnSeekSubmitCancel()">');

document.write('<input type="hidden" name="hidSELECTARRYMD" value="">');
document.write('<input type="hidden" name="hidchkymd" value="">');
document.write('<input type="hidden" name="hidchkpsn" value="">');
document.write('<input type="hidden" name="Dispunit" value="">');
document.write('</div><!-- END booking_inner //-->');

document.write('</td></tr>');
document.write('</table>');

document.write('</div>');
document.write('</div>');
document.write('</form>');



document.write('<script type="text/javascript" src="/common/tmpocso004/js/jkl-calendar.js" charset="Shift_JIS"></script>');
document.write('<script type="text/javascript" src="/common/tmpocso004/js/directin-search.js" charset="Shift_JIS"></script>');



	// 日付を自動設定
	// 初期値は、翌日宿泊日になっています
	// 当日の場合は、today.setDate(today.getDate() + 1)　を　today.setDate(today.getDate())　にしてください
		var objfrm =  document.frmplanseek

		today = new Date();
		today.setDate(today.getDate() + 1);

		objfrm.cmbARRY.value = today.getFullYear();
		objfrm.cmbARRM.value = today.getMonth() + 1;
		objfrm.cmbARRD.value = today.getDate();


document.write('<h4 id="shd_search">オンライン宿泊予約</h4>');
// Booking buttons
document.write('<div class="booking-buttons">');
document.write('<div class="booking-buttons-inner">');
document.write('<ul>');
document.write('<li id="booking_btn_available"><a href="https://asp.hotel-story.ne.jp/ver3d/ASPY0000calendaronly.asp?cod1='+hcod1+'&cod2=001&lnk=on" onclick="pageTracker._link(this.href); return false;">空室状況</a></li>');
document.write('<li id="booking_btn_plan"><a href="https://asp.hotel-story.ne.jp/ver3d/planlist.asp?hcod1='+hcod1+'&hcod2=001&mode=seek&clrmode=true&reffrom=" onclick="pageTracker._link(this.href); return false;">宿泊プランから選ぶ</a></li>');
document.write('</ul>');
document.write('</div>');
document.write('</div>');

// Booking links
document.write('<div class="booking-links">');
document.write('<div class="booking-links-inner">');
document.write('<ul>');
document.write('<li><a href="https://asp.hotel-story.ne.jp/ver3d/ASPY0300.asp?cod1='+hcod1+'&cod2=" onclick="pageTracker._link(this.href); return false;">予約照会・キャンセル</a></li>');
document.write('<li><a href="https://asp.hotel-story.ne.jp/ver3d/ASPK0100.asp?cod1='+hcod1+'&cod2=" onclick="pageTracker._link(this.href); return false;">会員登録</a></li>');
document.write('<li><a href="https://asp.hotel-story.ne.jp/ver3d/ASPK0200.asp?cod1='+hcod1+'&cod2=" onclick="pageTracker._link(this.href); return false;">会員情報変更</a></li>');
document.write('<li><a href="https://asp.hotel-story.ne.jp/ver3d/ASPK0200.asp?cod1='+hcod1+'&cod2=" onclick="pageTracker._link(this.href); return false;">パスワード変更</a></li>');
document.write('<li><a href="https://asp.hotel-story.ne.jp/ver3d/RMND0000.asp?hcod1='+hcod1+'&grp='+hcod1+'" onclick="pageTracker._link(this.href); return false;" style="background: none; font-size:75%;">パスワードをお忘れの場合はこちら</a></li>');
document.write('<li><a href="https://asp.hotel-story.ne.jp/ver3d/ASPK0200.asp?cod1='+hcod1+'&cod2=" onclick="pageTracker._link(this.href); return false;">会員退会</a></li>');
document.write('</ul>');
document.write('</div>');
document.write('</div>');

document.write('</div>');
document.write('</div>');
document.write('</div>');

