/**
 * Online service
 * Depends: Dynatech inc.
 * Version: 15 Oct 2009
 */
document.write('<div id="onlineservice">');
document.write('<div id="onlineservice-inner">');
document.write('<div id="onlineservice-inner-inner">');

// Online service heading
document.write('<h2>オンライン サービス</h2>');
// document.write('<p><a id="booking-banner-bestrate" class="booking-banner" href="javascript:void(0);">ベストレートギャランティー</a></p>');
// document.write('<p><span id="booking-btn-search" class="booking-btn">日付から予約</span></p>');
// Booking searcha
document.write('<form id="frmplanseek" name="frmplanseek" onSubmit="return false;">');
document.write('<div id="booking-search">');
document.write('<div id="booking-search-inner">');
document.write('<table cellpsacing="0" cellpadding="0" border="0">');
document.write('<tr>');
document.write('<td colspan="2">宿泊日<em>（年/月/日）</em><br />');
document.write('<div id="calid"></div>');
document.write('<input type="text" name="cmbARRY" size="4" 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('</td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td>宿泊数<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('<option value="6">6</option>');
document.write('<option value="7">7</option>');
document.write('</select>泊</td>');
// document.write('<td>利用人数<em>（1部屋）</em><br />');
document.write('<td>室数<br />');
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('<option value="4">4</option>');
document.write('<option value="5">5</option>');
document.write('</select>室</td>');
document.write('</tr>');
document.write('<input type="checkbox" name="chkymd" id="chkymd" value="0" onclick="cngchkymd();" style="display:none;">');
/*document.write('<tr>');
document.write('<td>&nbsp;</td>');
document.write('<td>');
document.write('<input type="checkbox" name="chkymd" id="chkymd" value="1" onclick="cngchkymd();">');
document.write('<label for="chkymd"><em>日程未定</em></label>');
document.write('</td>');
document.write('</tr>');*/

document.write('<tr>');
document.write('<td>');
document.write('ご宿泊人数<br />');
document.write('大人');
document.write('<select name="cmbADULT">');
document.write('<option value="1">1</option>');
document.write('<option value="2" selected>2</option>');
document.write('<option value="3">3</option>');
document.write('</select>名');
document.write('</td>');
//document.write('</tr>');

//document.write('<tr>');
//document.write('<td>&nbsp;</td>');
document.write('<td style=" vertical-align: bottom;">');
document.write('<input type="checkbox" name="chkpsn" id="chkpsn"  value="1" onclick="cngchkpsn();">');
document.write('<label for="chkpsn" ><em>人数未定</em></label>');
document.write('</td>');
document.write('</tr>');

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('<input type="hidden" name="minPrice" value="0">');
document.write('<input type="hidden" name="maxPrice" value="9999999">');
document.write('</table>');

document.write('<table cellpsacing="0" cellpadding="0" border="0" style="margin-top: 5px;">');
document.write('<tr>');
document.write('<td colspan="2">');
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('</td>');
document.write('</tr>');


document.write('<tr>');
document.write('<th class="btns" colspan="2">');
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('</th>');
document.write('</tr>');
document.write('</table>');

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('</div>');
document.write('</form>');

<!--

	// 日付を自動設定
	// 初期値は、翌日宿泊日になっています
	// 当日の場合は、today.setDate(today.getDate() + 1)　を　today.setDate(today.getDate())　にしてください
		var objfrm =  document.frmplanseek

		today = new Date();
		today.setDate(today.getDate());

		objfrm.cmbARRY.value = today.getFullYear();
		objfrm.cmbARRM.value = today.getMonth() + 1;
		objfrm.cmbARRD.value = today.getDate();

//-->

// Booking links
document.write('<div id="booking-links">');
document.write('<div id="booking-links-inner">');
document.write('<ul>');
document.write('<li><a href="https://asp.hotel-story.ne.jp/ver3d/di/?hcod1=02700&hcod2=001&seek=on&def=seek" target="_blank" onclick="pageTracker._link(this.href); return false;">宿泊プラン一覧</a></li>');
//document.write('<li><a href="https://asp.hotel-story.ne.jp/ver4/AS4K0100.asp?cod1='+hcod1+'&cod2=" target="_blank">お客様登録（無料）</a></li>');
document.write('<li><a href="https://asp.hotel-story.ne.jp/ver3d/ASPY0300.asp?cod1=02700&cod2=" target="_blank" onclick="pageTracker._link(this.href); return false;">予約確認 / 変更 / 取消</a></li>');
document.write('<li><a href="https://asp.hotel-story.ne.jp/ver3d/ASPK0200.asp?cod1=02700&cod2=" target="_blank" onclick="pageTracker._link(this.href); return false;">登録情報の確認 / 変更</a></li>');
//document.write('<li><a href="https://asp.hotel-story.ne.jp/ver4/RMND0000.asp?hcod1='+hcod1+'&grp='+hcod1+'" target="_blank">暗証番号をお忘れの方</a></li>');
document.write('<li><a href="http://www.seiyo-ginza.co.jp/news/topics_008.html">宿泊予約のオンライン決済について</a></li>');

document.write('</ul>');
document.write('</div>');
document.write('</div>');

document.write('</div>');
document.write('</div>');
document.write('</div>');
