function SelectMenuAirport(name){document.write('<SELECT name=',name,'>');document.write('<OPTION value="">選択して下さい<\/OPTION>');document.write('<OPTGROUP label=主要空港>');document.write('<OPTION value=HND>羽田<\/OPTION>');document.write('<OPTION value=NRT>成田<\/OPTION>');document.write('<OPTION value=NGO>中部国際<\/OPTION>');document.write('<OPTION value=ITM>伊丹<\/OPTION>');document.write('<OPTION value=KIX>関西<\/OPTION>');document.write('<OPTION value=FUK>福岡<\/OPTION>');document.write('<OPTION value=OKA>那覇<\/OPTION>');document.write('<\/OPTGROUP>');document.write('<OPTGROUP label=北海道>');document.write('<OPTION value=CTS>新千歳<\/OPTION>');document.write('<OPTION value=OKD>丘珠<\/OPTION>');document.write('<OPTION value=AKJ>旭川<\/OPTION>');document.write('<OPTION value=OBO>とかち帯広<\/OPTION>');document.write('<OPTION value=KUH>釧路<\/OPTION>');document.write('<OPTION value=HKD>函館<\/OPTION>');document.write('<OPTION value=WKJ>稚内<\/OPTION>');document.write('<OPTION value=SHB>根室中標津<\/OPTION>');document.write('<OPTION value=MMB>女満別<\/OPTION>');document.write('<OPTION value=MBE>オホーツク紋別<\/OPTION>');document.write('<OPTION value=RIS>利尻<\/OPTION>');document.write('<OPTION value=OIR>奥尻<\/OPTION>');document.write('<\/OPTGROUP>');document.write('<OPTGROUP label=東北>');document.write('<OPTION value=AOJ>青森<\/OPTION>');document.write('<OPTION value=MSJ>三沢<\/OPTION>');document.write('<OPTION value=HNA>いわて花巻<\/OPTION>');document.write('<OPTION value=SDJ>仙台<\/OPTION>');document.write('<OPTION value=SYO>庄内<\/OPTION>');document.write('<OPTION value=AXT>秋田<\/OPTION>');document.write('<OPTION value=ONJ>大館能代<\/OPTION>');document.write('<OPTION value=GAJ>山形<\/OPTION>');document.write('<OPTION value=FKS>福島<\/OPTION>');document.write('<\/OPTGROUP>');document.write('<OPTGROUP label=関東>');document.write('<OPTION value=HND>羽田<\/OPTION>');document.write('<OPTION value=NRT>成田<\/OPTION>');document.write('<OPTION value=OIM>大島<\/OPTION>');document.write('<OPTION value=HAC>八丈島<\/OPTION>');document.write('<OPTION value=MYE>三宅島<\/OPTION>');document.write('<\/OPTGROUP>');document.write('<OPTGROUP label=中部>');document.write('<OPTION value=NGO>中部国際<\/OPTION>');document.write('<OPTION value=NKM>小牧<\/OPTION>');document.write('<OPTION value=KMQ>小松<\/OPTION>');document.write('<OPTION value=KIJ>新潟<\/OPTION>');document.write('<OPTION value=TOY>富山<\/OPTION>');document.write('<OPTION value=NTQ>能登<\/OPTION>');document.write('<OPTION value=MMJ>信州まつもと<\/OPTION>');document.write('<\/OPTGROUP>');document.write('<OPTGROUP label=近畿>');document.write('<OPTION value=ITM>伊丹<\/OPTION>');document.write('<OPTION value=UKB>神戸<\/OPTION>');document.write('<OPTION value=KIX>関西<\/OPTION>');document.write('<OPTION value=SHM>南紀白浜<\/OPTION>');document.write('<OPTION value=TJH>但馬<\/OPTION>');document.write('<\/OPTGROUP>');document.write('<OPTGROUP label=中国>');document.write('<OPTION value=TTJ>鳥取<\/OPTION>');document.write('<OPTION value=YGJ>米子<\/OPTION>');document.write('<OPTION value=IZO>出雲<\/OPTION>');document.write('<OPTION value=HIJ>広島<\/OPTION>');document.write('<OPTION value=HIW>広島西<\/OPTION>');document.write('<OPTION value=OKI>隠岐<\/OPTION>');document.write('<OPTION value=OKJ>岡山<\/OPTION>');document.write('<OPTION value=UBJ>山口宇部<\/OPTION>');document.write('<OPTION value=IWJ>萩・石見<\/OPTION>');document.write('<\/OPTGROUP>');document.write('<OPTGROUP label=四国>');document.write('<OPTION value=TKS>徳島<\/OPTION>');document.write('<OPTION value=TAK>高松<\/OPTION>');document.write('<OPTION value=MYJ>松山<\/OPTION>');document.write('<OPTION value=KCZ>高知龍馬<\/OPTION>');document.write('<\/OPTGROUP>');document.write('<OPTGROUP label=九州>');document.write('<OPTION value=FUK>福岡<\/OPTION>');document.write('<OPTION value=KKJ>北九州<\/OPTION>');document.write('<OPTION value=HSG>佐賀<\/OPTION>');document.write('<OPTION value=NGS>長崎<\/OPTION>');document.write('<OPTION value=IKI>壱岐<\/OPTION>');document.write('<OPTION value=FUJ>五島福江<\/OPTION>');document.write('<OPTION value=TSJ>対馬<\/OPTION>');document.write('<OPTION value=KMJ>熊本<\/OPTION>');document.write('<OPTION value=OIT>大分<\/OPTION>');document.write('<OPTION value=KMI>宮崎<\/OPTION>');document.write('<OPTION value=KOJ>鹿児島<\/OPTION>');document.write('<OPTION value=ASJ>奄美大島<\/OPTION>');document.write('<OPTION value=OKE>沖永良部<\/OPTION>');document.write('<OPTION value=KKX>喜界島<\/OPTION>');document.write('<OPTION value=TNE>種子島<\/OPTION>');document.write('<OPTION value=TKN>徳之島<\/OPTION>');document.write('<OPTION value=KUM>屋久島<\/OPTION>');document.write('<OPTION value=RNJ>与論<\/OPTION>');document.write('<\/OPTGROUP>');document.write('<OPTGROUP label=沖縄>');document.write('<OPTION value=OKA>那覇<\/OPTION>');document.write('<OPTION value=AGJ>粟国<\/OPTION>');document.write('<OPTION value=ISG>石垣<\/OPTION>');document.write('<OPTION value=KTD>北大東<\/OPTION>');document.write('<OPTION value=UEO>久米島<\/OPTION>');document.write('<OPTION value=KJP>慶良間<\/OPTION>');document.write('<OPTION value=TRA>多良間<\/OPTION>');document.write('<OPTION value=HTR>波照間<\/OPTION>');document.write('<OPTION value=MMD>南大東<\/OPTION>');document.write('<OPTION value=MMY>宮古<\/OPTION>');document.write('<OPTION value=OGN>与那国<\/OPTION>');document.write('<\/SELECT>');}
function SelectMenuMonth(name){var mdate = new Date();var month = mdate.getMonth() + 1;document.write('<SELECT name=',name,'>');for (var i=month;i<month+3;i++){	out = (i>12)?i%12:i;	document.write('<OPTION value=' + out + '>' + out + '<\/OPTION>');}document.write('<\/SELECT>');}
function SelectMenuDay(name){document.write('<SELECT name=',name,'>');document.write('<OPTION value= > </OPTION>');document.write('<OPTION value=1>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('<OPTION value=11>11</OPTION>');document.write('<OPTION value=12>12</OPTION>');document.write('<OPTION value=13>13</OPTION>');document.write('<OPTION value=14>14</OPTION>');document.write('<OPTION value=15>15</OPTION>');document.write('<OPTION value=16>16</OPTION>');document.write('<OPTION value=17>17</OPTION>');document.write('<OPTION value=18>18</OPTION>');document.write('<OPTION value=19>19</OPTION>');document.write('<OPTION value=20>20</OPTION>');document.write('<OPTION value=21>21</OPTION>');document.write('<OPTION value=22>22</OPTION>');document.write('<OPTION value=23>23</OPTION>');document.write('<OPTION value=24>24</OPTION>');document.write('<OPTION value=25>25</OPTION>');document.write('<OPTION value=26>26</OPTION>');document.write('<OPTION value=27>27</OPTION>');document.write('<OPTION value=28>28</OPTION>');document.write('<OPTION value=29>29</OPTION>');document.write('<OPTION value=30>30</OPTION>');document.write('<OPTION value=31>31</OPTION>');document.write('<\/SELECT>');}
function SelectMenuTime(name){document.write('<SELECT name=',name,'>');document.write('<OPTION value="">指定なし</OPTION>');document.write('<OPTION value=6>6:00</OPTION>');document.write('<OPTION value=7>7:00</OPTION>');document.write('<OPTION value=8>8:00</OPTION>');document.write('<OPTION value=9>9:00</OPTION>');document.write('<OPTION value=10>10:00</OPTION>');document.write('<OPTION value=11>11:00</OPTION>');document.write('<OPTION value=12>12:00</OPTION>');document.write('<OPTION value=13>13:00</OPTION>');document.write('<OPTION value=14>14:00</OPTION>');document.write('<OPTION value=15>15:00</OPTION>');document.write('<OPTION value=16>16:00</OPTION>');document.write('<OPTION value=17>17:00</OPTION>');document.write('<OPTION value=18>18:00</OPTION>');document.write('<OPTION value=19>19:00</OPTION>');document.write('<OPTION value=20>20:00</OPTION>');document.write('<OPTION value=21>21:00</OPTION>');document.write('</SELECT>');}
function exe_oneway(){	F1dep = document.frm.F1Departure.selectedIndex;	F1des = document.frm.F1Destination.selectedIndex;	F1mon = document.frm.F1Month.selectedIndex;	F1day = document.frm.F1Day.selectedIndex;	F1time = document.frm.F1Time.selectedIndex;		document.frm.F2Departure.selectedIndex = 0;	document.frm.F2Destination.selectedIndex = 0;	return;}
function exe_round(){	var F1dep;	var F1des;	var F1mon;	var F1day;	var F1time;	var tmp_mon;	var tmp_day;		F1dep = document.frm.F1Departure.selectedIndex;	F1des = document.frm.F1Destination.selectedIndex;	F1mon = document.frm.F1Month.selectedIndex;	F1day = document.frm.F1Day.selectedIndex;	F1time = document.frm.F1Time.selectedIndex;	F2Month = document.frm.F2Month.selectedIndex;	F2Day = document.frm.F2Day.selectedIndex;		document.frm.F2Departure.selectedIndex = F1des;	document.frm.F2Destination.selectedIndex = F1dep;		if (F1day >= 30){		tmp_mon = F1mon + 1;		tmp_day = 1;	}else{		tmp_mon = F1mon;		tmp_day = F1day + 1;	}		if (F2Day){		tmp_mon = F2Month;		tmp_day = F2Day;	}		document.frm.F2Month.selectedIndex = tmp_mon;	document.frm.F2Day.selectedIndex = tmp_day;		return;}
