
function setCountryInter(dc){	
	var dest = dc;
	var cnt =0;
	
	this.document.interForm.p_country.options.length = 1;
	if(dest != ""){
		for( i=0; i < countryInterList.length; i++){
			if (countryInterList[i].dest == dest){
				cnt = cnt +1;
				this.document.interForm.p_country.options[cnt] = new Option(countryInterList[i].name, countryInterList[i].code);
			}
		}
   	}
	   	
	this.document.interForm.p_country.options.length = cnt+1;
	this.document.interForm.p_country.selectedIndex = 0;
}


function setCityInter(cc ){
	var country = cc;
	var cnt =0;
	
	this.document.interForm.p_city.options.length = 1;
	if(country != ""){
		for(i=0; i< cityList.length; i++){
			if (cityList[i].country == country ){
				cnt = cnt +1;
				this.document.interForm.p_city.options[cnt]=new Option(cityList[i].name, cityList[i].code);
			}
		}
	}
	this.document.interForm.p_city.options.length = cnt+1;
	this.document.interForm.p_city.selectedIndex = 0;
}

function setCityVInter(){
	var num = document.interForm.p_city.selectedIndex;
	var city = document.interForm.p_city.options[num].value;
}

function setGroupInter(gc){	
	var group = gc;
	var cnt =0;
	
	this.document.interForm.p_country.options.length = 1;
	if(group != ""){
		for( i=0; i < countryInterList.length; i++){
			if (countryInterList[i].group == group){
				cnt = cnt +1;
				this.document.interForm.p_country.options[cnt] = new Option(countryInterList[i].name, countryInterList[i].code);
			}
		}
   	}
	   	
	this.document.interForm.p_country.options.length = cnt+1;
	this.document.interForm.p_country.selectedIndex = 0;
	this.document.interForm.p_city.options.length = 1;
	this.document.interForm.p_city.selectedIndex = 0;

}


//list
function destRec(naigai, code, name){
	this.naigai = naigai;
	this.code = code;
	this.name = name;
	return
}

function makeArray(n){
	this.length=n;
	for(var i=1; i<=n; i++)
	this[i]=null;
	return this;
}

function countryRec(dest, code, name, group){
	this.dest = dest;
	this.code = code;
	this.name = name;
	this.group = group;
}

function cityRec(country, code, name){
	this.country = country;
	this.code = code;
	this.name = name;
}

function hatsuRec(dest, code, name, group){
	this.dest = dest;
	this.code = code;
	this.name = name;
	this.group = group;
}

function setRes(){
	document.interForm.reset();
}

var i ;

var hatsuInterList=new makeArray();
i = 0;
hatsuInterList[i++] =new hatsuRec('W','001','関東','01');
hatsuInterList[i++] =new hatsuRec('W','003','関西','02');
hatsuInterList[i++] =new hatsuRec('W','005','中部・北陸','03');
hatsuInterList[i++] =new hatsuRec('W','006','九州','04');
hatsuInterList[i++] =new hatsuRec('W','018','九州','04');
hatsuInterList[i++] =new hatsuRec('W','023','九州','04');
hatsuInterList[i++] =new hatsuRec('W','024','九州','04');
hatsuInterList[i++] =new hatsuRec('W','025','九州','04');
hatsuInterList[i++] =new hatsuRec('W','007','北海道','05');
hatsuInterList[i++] =new hatsuRec('W','019','東北','06');
hatsuInterList[i++] =new hatsuRec('W','020','東北','06');
hatsuInterList[i++] =new hatsuRec('W','011','東北','06');
hatsuInterList[i++] =new hatsuRec('W','008','東北','06');
hatsuInterList[i++] =new hatsuRec('W','009','中国・四国','07');
hatsuInterList[i++] =new hatsuRec('W','010','中国・四国','07');
hatsuInterList[i++] =new hatsuRec('W','012','中国・四国','07');
hatsuInterList[i++] =new hatsuRec('W','013','中国・四国','07');
hatsuInterList[i++] =new hatsuRec('W','015','中国・四国','07');
hatsuInterList[i++] =new hatsuRec('W','017','中国・四国','07');
hatsuInterList.length =19;

var destInterList=new makeArray();
i = 0;
destInterList[i++] =new destRec('W','HWI','ハワイ');
destInterList[i++] =new destRec('W','MNA','ミクロネシア');
destInterList[i++] =new destRec('W','AAS','アジア');
destInterList[i++] =new destRec('W','BEU','ヨーロッパ');
destInterList[i++] =new destRec('W','DNU','北米');
destInterList[i++] =new destRec('W','ESU','中南米');
destInterList[i++] =new destRec('W','FOC','オセアニア');
destInterList[i++] =new destRec('W','CAF','アフリカ');
destInterList[i++] =new destRec('W','CHT','中近東');
destInterList.length =9;

var countryInterList=new makeArray();
i = 0;
countryInterList[i++] =new countryRec('AAS','CN','中国');
countryInterList[i++] =new countryRec('AAS','MN','モンゴル');
countryInterList[i++] =new countryRec('AAS','KR','韓国');
countryInterList[i++] =new countryRec('AAS','TW','台湾');
countryInterList[i++] =new countryRec('AAS','HK','香港');
countryInterList[i++] =new countryRec('AAS','MO','マカオ');
countryInterList[i++] =new countryRec('AAS','TH','タイ');
countryInterList[i++] =new countryRec('AAS','SG','シンガポール');
countryInterList[i++] =new countryRec('AAS','MY','マレーシア');
countryInterList[i++] =new countryRec('AAS','ID','インドネシア');
countryInterList[i++] =new countryRec('AAS','PH','フィリピン');
countryInterList[i++] =new countryRec('AAS','VN','ベトナム');
countryInterList[i++] =new countryRec('AAS','KH','カンボジア');
countryInterList[i++] =new countryRec('AAS','IN','インド');
countryInterList[i++] =new countryRec('AAS','LK','スリランカ');
countryInterList[i++] =new countryRec('AAS','NP','ネパール');
countryInterList[i++] =new countryRec('AAS','MM','ミャンマー');
countryInterList[i++] =new countryRec('AAS','BN','ブルネイ');
countryInterList[i++] =new countryRec('AAS','LA','ラオス');
countryInterList[i++] =new countryRec('AAS','BT','ブータン');
countryInterList[i++] =new countryRec('AAS','PK','パキスタン');
countryInterList[i++] =new countryRec('AAS','MV','モルディブ');

countryInterList[i++] =new countryRec('BEU','FR','フランス','b2');
countryInterList[i++] =new countryRec('BEU','GB','イギリス','b2');
countryInterList[i++] =new countryRec('BEU','IE','アイルランド','b2');
countryInterList[i++] =new countryRec('BEU','MC','モナコ','b3');
countryInterList[i++] =new countryRec('BEU','IT','イタリア','b2');
countryInterList[i++] =new countryRec('BEU','GR','ギリシャ','b3');
countryInterList[i++] =new countryRec('BEU','MT','マルタ','b1');
countryInterList[i++] =new countryRec('BEU','SM','サンマリノ','b3');
countryInterList[i++] =new countryRec('BEU','VT','バチカン','b1');
countryInterList[i++] =new countryRec('BEU','DE','ドイツ','b2');
countryInterList[i++] =new countryRec('BEU','CH','スイス','b2');
countryInterList[i++] =new countryRec('BEU','NL','オランダ','b3');
countryInterList[i++] =new countryRec('BEU','BE','ベルギー','b1');
countryInterList[i++] =new countryRec('BEU','LI','リヒテンシュタイン','b1');
countryInterList[i++] =new countryRec('BEU','LU','ルクセンブルグ','b3');
countryInterList[i++] =new countryRec('BEU','ES','スペイン','b3');
countryInterList[i++] =new countryRec('BEU','PT','ポルトガル','b1');
countryInterList[i++] =new countryRec('BEU','FI','フィンランド','b3');
countryInterList[i++] =new countryRec('BEU','SE','スウェーデン','b3');
countryInterList[i++] =new countryRec('BEU','NO','ノルウェー','b3');
countryInterList[i++] =new countryRec('BEU','DK','デンマーク','b3');
countryInterList[i++] =new countryRec('BEU','IS','アイスランド','b3');
countryInterList[i++] =new countryRec('BEU','RU','ロシア','b1');
countryInterList[i++] =new countryRec('BEU','AT','オーストリア','b1');
countryInterList[i++] =new countryRec('BEU','CZ','チェコ','b1');
countryInterList[i++] =new countryRec('BEU','HU','ハンガリー','b1');
countryInterList[i++] =new countryRec('BEU','SK','スロバキア','b1');
countryInterList[i++] =new countryRec('BEU','PL','ポーランド','b1');
countryInterList[i++] =new countryRec('BEU','UA','ウクライナ','b1');
countryInterList[i++] =new countryRec('BEU','EE','エストニア','b1');
countryInterList[i++] =new countryRec('BEU','LV','ラトビア','b1');
countryInterList[i++] =new countryRec('BEU','LT','リトアニア','b1');
countryInterList[i++] =new countryRec('BEU','SI','スロベニア','b1');
countryInterList[i++] =new countryRec('BEU','HR','クロアチア','b1');
countryInterList[i++] =new countryRec('BEU','RO','ルーマニア','b1');
countryInterList[i++] =new countryRec('BEU','BG','ブルガリア','b1');
countryInterList[i++] =new countryRec('BEU','RS','セルビア','b1');
countryInterList[i++] =new countryRec('BEU','ME','モンテネグロ','b1');
countryInterList[i++] =new countryRec('BEU','MK','マケドニア','b1');
countryInterList[i++] =new countryRec('BEU','AL','アルバニア','b1');


countryInterList[i++] =new countryRec('CHT','TR','トルコ');
countryInterList[i++] =new countryRec('CHT','SY','シリア');
countryInterList[i++] =new countryRec('CHT','IL','イスラエル');
countryInterList[i++] =new countryRec('CHT','YE','イエメン');
countryInterList[i++] =new countryRec('CAF','EG','エジプト');
countryInterList[i++] =new countryRec('CAF','TN','チュニジア');
countryInterList[i++] =new countryRec('CAF','MA','モロッコ');
countryInterList[i++] =new countryRec('CAF','ZA','南アフリカ');
countryInterList[i++] =new countryRec('CAF','KE','ケニア');
countryInterList[i++] =new countryRec('CHT','AE','アラブ首長国連邦');
countryInterList[i++] =new countryRec('CHT','UZ','ウズベキスタン');
countryInterList[i++] =new countryRec('CAF','BW','ボツワナ');
countryInterList[i++] =new countryRec('CAF','ZW','ジンバブエ');
countryInterList[i++] =new countryRec('CHT','IR','イラン');
countryInterList[i++] =new countryRec('CHT','JO','ヨルダン');
countryInterList[i++] =new countryRec('CAF','TZ','タンザニア');
countryInterList[i++] =new countryRec('CAF','ZM','ザンビア');
countryInterList[i++] =new countryRec('CAF','NA','ナミビア');
countryInterList[i++] =new countryRec('CAF','SZ','スワジランド');
countryInterList[i++] =new countryRec('CAF','MG','マダガスカル');
countryInterList[i++] =new countryRec('CAF','LY','リビア');
countryInterList[i++] =new countryRec('CAF','UG','ウガンダ');


countryInterList[i++] =new countryRec('DNU','US','アメリカ');
countryInterList[i++] =new countryRec('DNU','CA','カナダ');
countryInterList[i++] =new countryRec('ESU','MX','メキシコ');
countryInterList[i++] =new countryRec('ESU','AR','アルゼンチン');
countryInterList[i++] =new countryRec('ESU','PE','ペルー');
countryInterList[i++] =new countryRec('ESU','BR','ブラジル');
countryInterList[i++] =new countryRec('ESU','CL','チリ');
countryInterList[i++] =new countryRec('ESU','EC','エクアドル');
countryInterList[i++] =new countryRec('ESU','CU','キューバ');
countryInterList[i++] =new countryRec('ESU','GT','グアテマラ');
countryInterList[i++] =new countryRec('ESU','DO','ドミニカ共和国');
countryInterList[i++] =new countryRec('ESU','CR','コスタリカ');
countryInterList[i++] =new countryRec('ESU','JM','ジャマイカ');
countryInterList[i++] =new countryRec('ESU','PA','パナマ');
countryInterList[i++] =new countryRec('ESU','BS','バハマ');
countryInterList[i++] =new countryRec('ESU','VE','ベネズエラ');
countryInterList[i++] =new countryRec('ESU','CO','コロンビア');
countryInterList[i++] =new countryRec('ESU','GY','ガイアナ');
countryInterList[i++] =new countryRec('ESU','BO','ボリビア');
countryInterList[i++] =new countryRec('ESU','PY','パラグアイ');
countryInterList[i++] =new countryRec('ESU','UY','ウルグアイ');
countryInterList[i++] =new countryRec('ESU','南極','南極');


countryInterList[i++] =new countryRec('FOC','AU','オーストラリア');
countryInterList[i++] =new countryRec('FOC','NZ','ニュージーランド');
countryInterList[i++] =new countryRec('HWI','HA','ハワイ');
countryInterList[i++] =new countryRec('MNA','GU','グアム');
countryInterList[i++] =new countryRec('MNA','SP','サイパン');


countryInterList[i++] =new countryRec('FOC','NC','ニューカレドニア');
countryInterList[i++] =new countryRec('FOC','FJ','フィジー');
countryInterList[i++] =new countryRec('FOC','PF','タヒチ');
countryInterList[i++] =new countryRec('FOC','MU','モーリシャス');
countryInterList[i++] =new countryRec('MNA','PW','パラオ');
countryInterList[i++] =new countryRec('FOC','VU','バアヌツ');
countryInterList[i++] =new countryRec('FOC','PG','パプアニューギニア');


countryInterList.length =116

var cityList=new makeArray();
i = 0
cityList[i++] =new cityRec('AE','DXB','ドバイ');
cityList[i++] =new cityRec('AR','IGR','イグアス');
cityList[i++] =new cityRec('AR','USH','ウシュアイア');
cityList[i++] =new cityRec('AR','BUE','ブエノスアイレス');
cityList[i++] =new cityRec('AT','INN','インスブルック');
cityList[i++] =new cityRec('AT','VIE','ウィーン');
cityList[i++] =new cityRec('AT','GRZ','グラーツ');
cityList[i++] =new cityRec('AT','SZG','ザルツブルグ');
cityList[i++] =new cityRec('AT','LNZ','リンツ');
cityList[i++] =new cityRec('AU','AYQ','エアーズロック');
cityList[i++] =new cityRec('AU','CBR','キャンベラ');
cityList[i++] =new cityRec('AU','UEE','クイーンズタウン');
cityList[i++] =new cityRec('AU','CNS','ケアンズ');
cityList[i++] =new cityRec('AU','OOL','ゴールドコースト');
cityList[i++] =new cityRec('AU','SYD','シドニー');
cityList[i++] =new cityRec('AU','DRW','ダーウィン');
cityList[i++] =new cityRec('AU','PER','パース');
cityList[i++] =new cityRec('AU','HLT','ハミルトン');
cityList[i++] =new cityRec('AU','BNE','ブリスベン');
cityList[i++] =new cityRec('AU','HBA','ホバート');
cityList[i++] =new cityRec('AU','MEL','メルボルン');
cityList[i++] =new cityRec('AU','MXU','モートン島');
cityList[i++] =new cityRec('AU','MJK','モンキーマイア');
cityList[i++] =new cityRec('BE','ANR','アントワープ');
cityList[i++] =new cityRec('BE','GNE','ゲント');
cityList[i++] =new cityRec('BE','QNM','ナミュール');
cityList[i++] =new cityRec('BE','BRU','ブリュッセル');
cityList[i++] =new cityRec('BE','ZGJ','ブルージュ');
cityList[i++] =new cityRec('BE','LGG','リエージュ');
cityList[i++] =new cityRec('BG','SOF','ソフィア');
cityList[i++] =new cityRec('BR','IGU','イグアスフォールズ');
cityList[i++] =new cityRec('BR','SAO','サンパウロ');
cityList[i++] =new cityRec('BR','MAO','マナウス');
cityList[i++] =new cityRec('BR','RIO','リオデジャネイロ');
cityList[i++] =new cityRec('CA','YZF','イエローナイフ');
cityList[i++] =new cityRec('CA','WHI','ウィスラー');
cityList[i++] =new cityRec('CA','YOW','オタワ');
cityList[i++] =new cityRec('CA','YYC','カルガリー');
cityList[i++] =new cityRec('CA','YQB','ケベック');
cityList[i++] =new cityRec('CA','YYG','シャーロットタウン');
cityList[i++] =new cityRec('CA','YJA','ジャスパー');
cityList[i++] =new cityRec('CA','YTO','トロント');
cityList[i++] =new cityRec('CA','XLV','ナイアガラの滝');
cityList[i++] =new cityRec('CA','YVR','バンクーバー');
cityList[i++] =new cityRec('CA','YBA','バンフ');
cityList[i++] =new cityRec('CA','YYJ','ビクトリア');
cityList[i++] =new cityRec('CA','YXY','ホワイトホース');
cityList[i++] =new cityRec('CA','YMQ','モントリオール');
cityList[i++] =new cityRec('CH','ZAP','アッペンツェル');
cityList[i++] =new cityRec('CH','ZIN','インターラーケン');
cityList[i++] =new cityRec('CH','ZHK','グシュタード');
cityList[i++] =new cityRec('CH','ZHJ','グリンデルワルド');
cityList[i++] =new cityRec('CH','ZKH','サンモリッツ');
cityList[i++] =new cityRec('CH','SIR','シオン');
cityList[i++] =new cityRec('CH','GVA','ジュネーブ');
cityList[i++] =new cityRec('CH','ZRH','チューリッヒ');
cityList[i++] =new cityRec('CH','QZB','ツェルマット');
cityList[i++] =new cityRec('CH','BSL','バーゼル');
cityList[i++] =new cityRec('CH','ZDJ','ベルン');
cityList[i++] =new cityRec('CH','ZJP','モントルー');
cityList[i++] =new cityRec('CH','LUG','ルガーノ');
cityList[i++] =new cityRec('CH','ZJK','ルツェルン');
cityList[i++] =new cityRec('CL','IPC','イースター島');
cityList[i++] =new cityRec('CL','SCL','サンチアゴ');

cityList[i++] =new cityRec('CN','AAT','阿勅泰(アルタイ)');
cityList[i++] =new cityRec('CN','AKU','阿克蘇(アクス)');
cityList[i++] =new cityRec('CN','XMN','厦門(アモイ)');
cityList[i++] =new cityRec('CN','AQG','安慶(アンケイ)');
cityList[i++] =new cityRec('CN','AOG','鞍山(アンザン)');
cityList[i++] =new cityRec('CN','AYN','安陽(アンヨウ)');
cityList[i++] =new cityRec('CN','URC','烏魯木斉(ウルムチ)');
cityList[i++] =new cityRec('CN','ENY','延安(エンアン)');
cityList[i++] =new cityRec('CN','YNJ','延吉(エンキチ)');
cityList[i++] =new cityRec('CN','YNT','煙台(エンダイ)');
cityList[i++] =new cityRec('CN','HAK','海口(カイコウ)');
cityList[i++] =new cityRec('CN','HKG','喀什(カシュガル)');
cityList[i++] =new cityRec('CN','YIH','宜昌(ギショウ)');
cityList[i++] =new cityRec('CN','JIL','吉林(キチリン)');
cityList[i++] =new cityRec('CN','JIU','九江(キュウコウ)');
cityList[i++] =new cityRec('CN','ZZG','九寨溝(キュウサイコウ)');
cityList[i++] =new cityRec('CN','KWE','貴陽(キヨウ)');
cityList[i++] =new cityRec('CN','JJN','錦江(キンコウ)');
cityList[i++] =new cityRec('CN','KCA','庫車(クチャ)');
cityList[i++] =new cityRec('CN','KMG','昆明(クンミン)');
cityList[i++] =new cityRec('CN','JDZ','景徳鎮(ケイトクチン)');
cityList[i++] =new cityRec('CN','IQN','慶陽(ケイヨウ)');
cityList[i++] =new cityRec('CN','KWL','桂林(ケイリン)');
cityList[i++] =new cityRec('CN','TXN','黄山(コウザン)');
cityList[i++] =new cityRec('CN','CAN','広州(コウシュウ)');
cityList[i++] =new cityRec('CN','HGH','杭州(コウシュウ)');
cityList[i++] =new cityRec('CN','HXO','黄龍(コウリュウ)');
cityList[i++] =new cityRec('CN','HEK','黒河(コクガ)');
cityList[i++] =new cityRec('CN','WUZ','梧州(ゴシュウ)');
cityList[i++] =new cityRec('CN','TNA','済南(サイナン)');
cityList[i++] =new cityRec('CN','SHS','沙市(サシ)');
cityList[i++] =new cityRec('CN','SYX','三亜(サンア)');
cityList[i++] =new cityRec('CN','SHF','山海関(サンカイカン)');
cityList[i++] =new cityRec('CN','SHP','秦皇島(サンノウトウ)');
cityList[i++] =new cityRec('CN','SHA','上海(シャンハイ)');
cityList[i++] =new cityRec('CN','CKG','重慶(ジュウケイ)');
cityList[i++] =new cityRec('CN','CZX','常州(ジョウシュウ)');
cityList[i++] =new cityRec('CN','XUZ','徐州(ジョシュウ)');
cityList[i++] =new cityRec('CN','XIL','錫林浩特(シリンホト)');
cityList[i++] =new cityRec('CN','SZX','深川(シンセン)');
cityList[i++] =new cityRec('CN','SHE','瀋陽(シンヨウ)');
cityList[i++] =new cityRec('CN','SIA','西安(セイアン)');
cityList[i++] =new cityRec('CN','XIC','西昌(セイショウ)');
cityList[i++] =new cityRec('CN','CYU','成都(セイト)');
cityList[i++] =new cityRec('CN','XNN','西寧(セイネイ)');
cityList[i++] =new cityRec('CN','SJW','石家荘(セキカソウ)');
cityList[i++] =new cityRec('CN','SZX','蘇州(ソシュウ)');
cityList[i++] =new cityRec('CN','DLU','大理(ダーリー)');
cityList[i++] =new cityRec('CN','TYN','太原(タイゲン)');
cityList[i++] =new cityRec('CN','DZU','大足(ダイソク)');
cityList[i++] =new cityRec('CN','DAT','大同(ダイドウ)');
cityList[i++] =new cityRec('CN','DLC','大連(ダイレン)');
cityList[i++] =new cityRec('CN','DDG','丹東(タントウ)');
cityList[i++] =new cityRec('CN','CSX','長沙(チョウサ)');
cityList[i++] =new cityRec('CN','CGQ','長春(チョウシュン)');
cityList[i++] =new cityRec('CN','TAO','青島(チンタオ)');
cityList[i++] =new cityRec('CN','CGO','鄭州(テイシュウ)');
cityList[i++] =new cityRec('CN','TSN','天津(テンシン)');
cityList[i++] =new cityRec('CN','TCG','搭城(トウジョウ)');
cityList[i++] =new cityRec('CN','TXN','屯渓(トンケイ)');
cityList[i++] =new cityRec('CN','DNH','敦煌(トンコウ)');
cityList[i++] =new cityRec('CN','NKG','南京(ナンキン)');
cityList[i++] =new cityRec('CN','KHN','南昌(ナンショウ)');
cityList[i++] =new cityRec('CN','NTG','南通(ナンツウ)');
cityList[i++] =new cityRec('CN','NNG','南寧(ナンネイ)');
cityList[i++] =new cityRec('CN','NGB','寧波(ネイハ)');
cityList[i++] =new cityRec('CN','BAV','包頭(パオトウ)');
cityList[i++] =new cityRec('CN','HRB','哈爾浜(ハルピン)');
cityList[i++] =new cityRec('CN','WUS','無夷山(ブイサン)');
cityList[i++] =new cityRec('CN','WUH','武漢(ブカン)');
cityList[i++] =new cityRec('CN','FOC','福州(フクシュウ)');
cityList[i++] =new cityRec('CN','FUO','仏山(ブッサン)');
cityList[i++] =new cityRec('CN','HET','呼和浩特(フフホト)');
cityList[i++] =new cityRec('CN','PEK','北京(ペキン)');
cityList[i++] =new cityRec('CN','HTN','和田(ホウデン)');
cityList[i++] =new cityRec('CN','MDG','牡丹江(ボタンコウ)');
cityList[i++] =new cityRec('CN','BHY','北海(ホッカイ)');
cityList[i++] =new cityRec('CN','WUX','無錫(ムシャク)');
cityList[i++] =new cityRec('CN','YUN','楡林(ユーリン)');
cityList[i++] =new cityRec('CN','LYA','洛陽(ラクヨウ)');
cityList[i++] =new cityRec('CN','LXA','拉薩(ラサ)');
cityList[i++] =new cityRec('CN','LHW','蘭州(ランシュウ)');
cityList[i++] =new cityRec('CN','LZH','柳州(リュウシュウ)');
cityList[i++] =new cityRec('CN','LJG','麗江(レイコウ)');
cityList[i++] =new cityRec('CN','LYG','連雲港(レンウンコウ)');
cityList[i++] =new cityRec('CN','LUZ','盧山(ロザン)');

cityList[i++] =new cityRec('CR','SJO','サンホセ');
cityList[i++] =new cityRec('CU','CMW','カマグウェイ');
cityList[i++] =new cityRec('CU','HAV','ハバナ');
cityList[i++] =new cityRec('CU','VRA','バラデロ');
cityList[i++] =new cityRec('CZ','PRG','プラハ');
cityList[i++] =new cityRec('CZ','BRQ','ブルノ');
cityList[i++] =new cityRec('DE','QWU','ヴュルツブルク');
cityList[i++] =new cityRec('DE','QUL','ウルム');
cityList[i++] =new cityRec('DE','ERF','エスフルト');
cityList[i++] =new cityRec('DE','KSF','カッセル');
cityList[i++] =new cityRec('DE','ZEI','ガルミッシュパルテンキルヘン');
cityList[i++] =new cityRec('DE','CGN','ケルン');
cityList[i++] =new cityRec('DE','STR','シュトゥットガルト');
cityList[i++] =new cityRec('DE','DSU','デュッセルドルフ');
cityList[i++] =new cityRec('DE','DRS','ドレスデン');
cityList[i++] =new cityRec('DE','NUE','ニュルンベルク');
cityList[i++] =new cityRec('DE','ZEZ','ハールメン');
cityList[i++] =new cityRec('DE','HDB','ハイデルベルク');
cityList[i++] =new cityRec('DE','HAM','ハンブルグ');
cityList[i++] =new cityRec('DE','BFE','ビールフェルト');
cityList[i++] =new cityRec('DE','FRA','フランクフルト');
cityList[i++] =new cityRec('DE','BRE','ブレーメン');
cityList[i++] =new cityRec('DE','BER','ベルリン');
cityList[i++] =new cityRec('DE','XXP','ポツダム');
cityList[i++] =new cityRec('DE','BNJ','ボン');
cityList[i++] =new cityRec('DE','MUC','ミュンヘン');
cityList[i++] =new cityRec('DE','LEJ','ライプチヒ');
cityList[i++] =new cityRec('DE','QTK','ローテンブルク');
cityList[i++] =new cityRec('DE','RLG','ロシュトックラーゲ');
cityList[i++] =new cityRec('DK','CPH','コペンハーゲン');
cityList[i++] =new cityRec('EC','GPS','ガラパゴス島');
cityList[i++] =new cityRec('EC','UIO','キト');
cityList[i++] =new cityRec('EC','GYE','グアヤキル');
cityList[i++] =new cityRec('EE','TLL','タリン');
cityList[i++] =new cityRec('EG','ASW','アスワン');
cityList[i++] =new cityRec('EG','ABS','アブシンベル');
cityList[i++] =new cityRec('EG','ALY','アレキサンドリア');
cityList[i++] =new cityRec('EG','CAI','カイロ');
cityList[i++] =new cityRec('EG','SKV','セントカタリーナ');
cityList[i++] =new cityRec('EG','LXR','ルクソール');
cityList[i++] =new cityRec('ES','ALC','アリカンテ');
cityList[i++] =new cityRec('ES','GRX','グラナダ');
cityList[i++] =new cityRec('ES','ODB','コルドバ');
cityList[i++] =new cityRec('ES','SLM','サラマンカ');
cityList[i++] =new cityRec('ES','SCQ','サンチャゴデコンポステーラ');
cityList[i++] =new cityRec('ES','SEQ','セビリア');
cityList[i++] =new cityRec('ES','BCN','バルセロナ');
cityList[i++] =new cityRec('ES','PMI','パルマ');
cityList[i++] =new cityRec('ES','VLC','バレンシア');
cityList[i++] =new cityRec('ES','VIT','ビトリア');
cityList[i++] =new cityRec('ES','XRY','ヘレスデラフロンテラ');
cityList[i++] =new cityRec('ES','MAD','マドリッド');
cityList[i++] =new cityRec('ES','AGP','マラガ');
cityList[i++] =new cityRec('ES','MJV','ムルシア');
cityList[i++] =new cityRec('ES','LEN','レオン');
cityList[i++] =new cityRec('FI','IVL','イヴァロ');
cityList[i++] =new cityRec('FI','RKA','サーリセルカ');
cityList[i++] =new cityRec('FI','TKU','トゥルク');
cityList[i++] =new cityRec('FI','HEL','ヘルシンキ');
cityList[i++] =new cityRec('FI','QZU','ラウマ');
cityList[i++] =new cityRec('FI','RVN','ロヴァニエミ');
cityList[i++] =new cityRec('FJ','NAN','ナンディ');
cityList[i++] =new cityRec('FJ','MNF','マナ');
cityList[i++] =new cityRec('FR','AVN','アヴィニヨン');
cityList[i++] =new cityRec('FR','QXB','エックス・アン・プロヴァンス');
cityList[i++] =new cityRec('FR','CCF','カルカッソンヌ');
cityList[i++] =new cityRec('FR','SXB','ストラスブール');
cityList[i++] =new cityRec('FR','DIJ','ディジョン');
cityList[i++] =new cityRec('FR','ENC','ナンシー');
cityList[i++] =new cityRec('FR','NCE','ニース');
cityList[i++] =new cityRec('FR','FNI','ニーム');
cityList[i++] =new cityRec('FR','PAR','パリ');
cityList[i++] =new cityRec('FR','BOD','ボルドー');
cityList[i++] =new cityRec('FR','MRS','マルセイユ');
cityList[i++] =new cityRec('FR','LYS','リヨン');
cityList[i++] =new cityRec('FR','RNS','レンヌ');
cityList[i++] =new cityRec('GB','EDI','エジンバラ');
cityList[i++] =new cityRec('GB','OXF','オックスフォード');
cityList[i++] =new cityRec('GB','CBG','ケンブリッジ');
cityList[i++] =new cityRec('GB','CEG','チェスター');
cityList[i++] =new cityRec('GB','BHX','バーミンガム');
cityList[i++] =new cityRec('GB','MAN','マンチェスター');
cityList[i++] =new cityRec('GB','LPL','リバプール');
cityList[i++] =new cityRec('GB','LON','ロンドン');
cityList[i++] =new cityRec('GR','ATH','アテネ');
cityList[i++] =new cityRec('GR','GPA','パトラス');
cityList[i++] =new cityRec('GR','VOL','ボーロス');
cityList[i++] =new cityRec('GR','LMK','ミコノス');
cityList[i++] =new cityRec('GR','RHO','ロードス');
cityList[i++] =new cityRec('GT','GUA','グアテマラシティ');
cityList[i++] =new cityRec('HA','HNL','ホノルル(オアフ島)');
cityList[i++] =new cityRec('HA','HNM','ハナ(マウイ島)');
cityList[i++] =new cityRec('HA','HPV','カウアイ(カウアイ島)');
cityList[i++] =new cityRec('HA','ITO','ヒロ(ハワイ島)');
cityList[i++] =new cityRec('HA','JHM','カパルア(マウイ島)');
cityList[i++] =new cityRec('HA','KOA','コナ(ハワイ島)');
cityList[i++] =new cityRec('HA','LIH','リフエ(カウアイ島)');
cityList[i++] =new cityRec('HA','OGG','カフルイ(マウイ島)');
cityList[i++] =new cityRec('HR','ZAG','ザグレブ');
cityList[i++] =new cityRec('HR','SPU','スプリット');
cityList[i++] =new cityRec('HR','DBV','ドブロヴニク');
cityList[i++] =new cityRec('HU','BUD','ブダペスト');
cityList[i++] =new cityRec('ID','JKT','ジャカルタ');
cityList[i++] =new cityRec('ID','JOG','ジョグジャカルタ');
cityList[i++] =new cityRec('ID','DPS','デンパサール');
cityList[i++] =new cityRec('IE','DUB','ダブリン');
cityList[i++] =new cityRec('IE','GWY','ゴルウェイ');
cityList[i++] =new cityRec('IE','LMK','リムロック');
cityList[i++] =new cityRec('IN','AGR','アグラ');
cityList[i++] =new cityRec('IN','HJR','カジュラホ');
cityList[i++] =new cityRec('IN','JAI','ジャイプール');
cityList[i++] =new cityRec('IN','DEL','デリー');
cityList[i++] =new cityRec('IN','BOM','ムンバイ');
cityList[i++] =new cityRec('IS','AEY','アクレイリ');
cityList[i++] =new cityRec('IS','REK','レイキャビック');
cityList[i++] =new cityRec('IT','QAO','アグリジェント');
cityList[i++] =new cityRec('IT','AOI','アンコナ');
cityList[i++] =new cityRec('IT','CTA','カタニア');
cityList[i++] =new cityRec('IT','PRJ','カプリ');
cityList[i++] =new cityRec('IT','QCM','コモ');
cityList[i++] =new cityRec('IT','GOA','ジェノバ');
cityList[i++] =new cityRec('IT','RRO','ソレント');
cityList[i++] =new cityRec('IT','TSF','トエヴィーゾ');
cityList[i++] =new cityRec('IT','TPS','トラパニ');
cityList[i++] =new cityRec('IT','TRN','トリノ');
cityList[i++] =new cityRec('IT','NAP','ナポリ');
cityList[i++] =new cityRec('IT','BRI','バリ');
cityList[i++] =new cityRec('IT','PMF','パルマ');
cityList[i++] =new cityRec('IT','PMO','パレルモ');
cityList[i++] =new cityRec('IT','PSA','ピサ');
cityList[i++] =new cityRec('IT','FLR','フィレンツェ');
cityList[i++] =new cityRec('IT','VCE','ベニス');
cityList[i++] =new cityRec('IT','PEG','ペルージア');
cityList[i++] =new cityRec('IT','BGY','ベルガモ');
cityList[i++] =new cityRec('IT','VRN','ベローナ');
cityList[i++] =new cityRec('IT','BLQ','ボローニャ');
cityList[i++] =new cityRec('IT','MIL','ミラノ');
cityList[i++] =new cityRec('IT','RAN','ラヴェンナ');
cityList[i++] =new cityRec('IT','ROM','ローマ');
cityList[i++] =new cityRec('IR','IFN','イスハファン');
cityList[i++] =new cityRec('IR','SYZ','シラーズ');
cityList[i++] =new cityRec('IR','THR','テヘラン');
cityList[i++] =new cityRec('IR','AZD','ヤズド');
cityList[i++] =new cityRec('JO','AMM','アンマン');
cityList[i++] =new cityRec('KE','ASV','アンボセリ');
cityList[i++] =new cityRec('KE','NBO','ナイロビ');
cityList[i++] =new cityRec('KE','NUU','ナクル');
cityList[i++] =new cityRec('KE','NYK','ナニュキ');
cityList[i++] =new cityRec('KH','REP','シェムリアップ');
cityList[i++] =new cityRec('KH','PNH','プノンペン');

cityList[i++] =new cityRec('KR','QDY','安東(アンドン)');
cityList[i++] =new cityRec('KR','JCN','仁川(インチョン)');
cityList[i++] =new cityRec('KR','TAE','大邸(テグ)');
cityList[i++] =new cityRec('KR','CJJ','清州(チョンジュ)');
cityList[i++] =new cityRec('KR','HIN','晋州(チンジュ)');
cityList[i++] =new cityRec('KR','CJU','済州(チェジュ)');
cityList[i++] =new cityRec('KR','SEL','ソウル');
cityList[i++] =new cityRec('KR','PUS','釜山(プサン)');

cityList[i++] =new cityRec('LA','VTE','ビエンチャン');
cityList[i++] =new cityRec('LA','LPQ','ルアンパバン');
cityList[i++] =new cityRec('LT','VNO','ヴィリニュス');
cityList[i++] =new cityRec('LT','KUN','カウナス');
cityList[i++] =new cityRec('LV','RIX','リガ');
cityList[i++] =new cityRec('MA','CAS','カサブランカ');
cityList[i++] =new cityRec('MA','FEZ','フェズ');
cityList[i++] =new cityRec('MA','RAK','マラケシュ');
cityList[i++] =new cityRec('MA','RBA','ラバト');
cityList[i++] =new cityRec('MA','OZZ','ワルザザート');
cityList[i++] =new cityRec('MC','MCM','モンテカルロ');
cityList[i++] =new cityRec('MT','GZM','ゴゾ島');
cityList[i++] =new cityRec('MM','RGN','ヤンゴン');
cityList[i++] =new cityRec('MT','MLA','バレッタ');
cityList[i++] =new cityRec('MX','ACA','アカプルコ');
cityList[i++] =new cityRec('MX','CUN','カンクン');
cityList[i++] =new cityRec('MX','CZM','コズメル');
cityList[i++] =new cityRec('MX','MEX','メキシコシティ');
cityList[i++] =new cityRec('MX','MID','メリダ');
cityList[i++] =new cityRec('MX','SJD','ロスカボス');
cityList[i++] =new cityRec('MY','KUL','クアラルンプール');
cityList[i++] =new cityRec('MY','BKI','コタキナバル');
cityList[i++] =new cityRec('MY','JHB','ジョホールバール');
cityList[i++] =new cityRec('MY','PEN','ペナン');
cityList[i++] =new cityRec('MY','MKZ','マラッカ');
cityList[i++] =new cityRec('MY','LGK','ランカウイ');
cityList[i++] =new cityRec('NA','WDH','ウィントフック');
cityList[i++] =new cityRec('NA','SWP','スワコプムント');
cityList[i++] =new cityRec('NA','SZM','セスリエム');
cityList[i++] =new cityRec('NA','WVB','ワルビスベイ');
cityList[i++] =new cityRec('NC','ILP','イルデパン島');
cityList[i++] =new cityRec('NC','UVE','ウベア');
cityList[i++] =new cityRec('NC','NOU','ヌーメア');
cityList[i++] =new cityRec('NC','MEE','マレ島');
cityList[i++] =new cityRec('NL','AMS','アムステルダム');
cityList[i++] =new cityRec('NL','HAG','ハーグ');
cityList[i++] =new cityRec('NL','RTM','ロッテルダム');
cityList[i++] =new cityRec('NO','OSL','オスロ');
cityList[i++] =new cityRec('NO','TOS','トロムソ');
cityList[i++] =new cityRec('NO','BGO','ベルゲン');
cityList[i++] =new cityRec('NP','KTM','カトマンズ');
cityList[i++] =new cityRec('NP','PKR','ポカラ');
cityList[i++] =new cityRec('NZ','WLG','ウェリントン');
cityList[i++] =new cityRec('NZ','AKL','オークランド');
cityList[i++] =new cityRec('NZ','ZQN','クイーンズタウン');
cityList[i++] =new cityRec('NZ','CHC','クライストチャーチ');
cityList[i++] =new cityRec('NZ','TUO','タウポ');
cityList[i++] =new cityRec('NZ','HLZ','ハミルトン');
cityList[i++] =new cityRec('NZ','WHO','フランツジョセフ');
cityList[i++] =new cityRec('NZ','GTN','マウントクック');
cityList[i++] =new cityRec('NZ','MFN','ミルフォードサウンド');
cityList[i++] =new cityRec('NZ','ROT','ロトルア');
cityList[i++] =new cityRec('NZ','WKA','ワナカ');
cityList[i++] =new cityRec('PE','CUZ','クスコ');
cityList[i++] =new cityRec('PE','JUL','フリアカ');
cityList[i++] =new cityRec('PE','MFT','マチュピチュ');
cityList[i++] =new cityRec('PE','LIM','リマ');
cityList[i++] =new cityRec('PF','PPT','パペーテ');
cityList[i++] =new cityRec('PF','BOB','ボラボラ');
cityList[i++] =new cityRec('PF','MOZ','ムーレア');
cityList[i++] =new cityRec('PH','CEB','セブ');
cityList[i++] =new cityRec('PH','MNL','マニラ');
cityList[i++] =new cityRec('PL','KRK','クラクフ');
cityList[i++] =new cityRec('PL','WAW','ワルシャワ');
cityList[i++] =new cityRec('PT','ZAV','アヴェイロ');
cityList[i++] =new cityRec('PT','CBP','コインブラ');
cityList[i++] =new cityRec('PT','BGZ','ブラガ');
cityList[i++] =new cityRec('PT','OPO','ポルト');
cityList[i++] =new cityRec('PT','LIS','リスボン');
cityList[i++] =new cityRec('RO','BUH','ブカレスト');
cityList[i++] =new cityRec('RU','IKT','イルクーツク');
cityList[i++] =new cityRec('RU','VVO','ウラジオストック');
cityList[i++] =new cityRec('RU','LED','サンクトペテルブルク');
cityList[i++] =new cityRec('RU','KHV','ハバロフスク');
cityList[i++] =new cityRec('RU','MOW','モスクワ');
cityList[i++] =new cityRec('SI','LJU','リュブリャーナ');
cityList[i++] =new cityRec('SE','KRN','キルナ');
cityList[i++] =new cityRec('SE','STO','ストックホルム');
cityList[i++] =new cityRec('SE','AGH','ヘルシングボリ');
cityList[i++] =new cityRec('SE','MMA','マルメー');
cityList[i++] =new cityRec('SG','SIN','シンガポール');
cityList[i++] =new cityRec('SK','BTS','ブラチスラバ');
cityList[i++] =new cityRec('TH','UTP','クラビ');
cityList[i++] =new cityRec('TH','USM','サムイ');
cityList[i++] =new cityRec('TH','THS','スコタイ');
cityList[i++] =new cityRec('TH','CNX','チェンマイ');
cityList[i++] =new cityRec('TH','CEI','チェンライ');
cityList[i++] =new cityRec('TH','NAK','ナコンラチャシマ');
cityList[i++] =new cityRec('TH','PYX','パタヤ');
cityList[i++] =new cityRec('TH','BKK','バンコク');
cityList[i++] =new cityRec('TH','PHS','ピサヌローク');
cityList[i++] =new cityRec('TH','PHZ','ピピ島');
cityList[i++] =new cityRec('TH','HKT','プーケット');
cityList[i++] =new cityRec('TN','SFA','スファックス');
cityList[i++] =new cityRec('TN','TUN','チュニス');
cityList[i++] =new cityRec('TN','TOE','トズール');
cityList[i++] =new cityRec('TR','ANK','アンカラ');
cityList[i++] =new cityRec('TR','AYT','アンタリャ');
cityList[i++] =new cityRec('TR','IST','イスタンブール');
cityList[i++] =new cityRec('TR','IZM','イズミル');
cityList[i++] =new cityRec('TR','KYA','コンヤ');
cityList[i++] =new cityRec('TR','CKZ','チャナッカレ');
cityList[i++] =new cityRec('TR','BTZ','ブルサ');
cityList[i++] =new cityRec('TR','BXN','ボドルム');
cityList[i++] =new cityRec('TW','TXG','台中');
cityList[i++] =new cityRec('TW','TNN','台南');
cityList[i++] =new cityRec('TW','TTT','台東');
cityList[i++] =new cityRec('TW','TPE','台北');
cityList[i++] =new cityRec('TW','KHH','高雄');
cityList[i++] =new cityRec('TW','SMT','日月潭');
cityList[i++] =new cityRec('TW','HUN','花蓮');
cityList[i++] =new cityRec('TZ','JRO','キリマンジャロ');
cityList[i++] =new cityRec('UA','ODS','オデッサ');
cityList[i++] =new cityRec('UA','IEV','キエフ');
cityList[i++] =new cityRec('US','ATL','アトランタ');
cityList[i++] =new cityRec('US','ANA','アナハイム');
cityList[i++] =new cityRec('US','ABQ','アルバカーキ');
cityList[i++] =new cityRec('US','ANC','アンカレッジ');
cityList[i++] =new cityRec('US','WDW','ウォルトディズニーワールド');
cityList[i++] =new cityRec('US','ORL','オーランド');
cityList[i++] =new cityRec('US','OKC','オクラホマシティ');
cityList[i++] =new cityRec('US','ONT','オンタリオ');
cityList[i++] =new cityRec('US','KCK','カンザスシティ');
cityList[i++] =new cityRec('US','FWY','キーウェスト');
cityList[i++] =new cityRec('US','GCN','グランドキャニオン');
cityList[i++] =new cityRec('US','SAC','サクラメント');
cityList[i++] =new cityRec('US','SAT','サンアントニオ');
cityList[i++] =new cityRec('US','SNA','サンタアナ');
cityList[i++] =new cityRec('US','SAN','サンディエゴ');
cityList[i++] =new cityRec('US','SJC','サンノゼ');
cityList[i++] =new cityRec('US','SFO','サンフランシスコ');
cityList[i++] =new cityRec('US','SEA','シアトル');
cityList[i++] =new cityRec('US','CHI','シカゴ');
cityList[i++] =new cityRec('US','CHI','シカゴ');
cityList[i++] =new cityRec('US','JNU','ジュノー');
cityList[i++] =new cityRec('US','PIE','セントピータースバーグ');
cityList[i++] =new cityRec('US','SLC','ソルトレイクシティ');
cityList[i++] =new cityRec('US','DFW','ダラス');
cityList[i++] =new cityRec('US','DTT','デトロイト');
cityList[i++] =new cityRec('US','DRO','デュランゴ');
cityList[i++] =new cityRec('US','MSY','ニューオーリンズ');
cityList[i++] =new cityRec('US','NYC','ニューヨーク');
cityList[i++] =new cityRec('US','PIT','ピッツバーグ');
cityList[i++] =new cityRec('US','HOU','ヒューストン');
cityList[i++] =new cityRec('US','PHL','フィラデルフィア');
cityList[i++] =new cityRec('US','FAI','フェアバンクス');
cityList[i++] =new cityRec('US','PHX','フェニックス');
cityList[i++] =new cityRec('US','FLG','フラッグスタッフ');
cityList[i++] =new cityRec('US','FAT','フレズノ');
cityList[i++] =new cityRec('US','PGA','ページ');
cityList[i++] =new cityRec('US','PSM','ポーツマス');
cityList[i++] =new cityRec('US','BOS','ボストン');
cityList[i++] =new cityRec('US','MIA','マイアミ');
cityList[i++] =new cityRec('US','MCL','マッキンリー');
cityList[i++] =new cityRec('US','CNY','モアブ');
cityList[i++] =new cityRec('US','OYS','ヨセミテ国立公園');
cityList[i++] =new cityRec('US','LAS','ラスベガス');
cityList[i++] =new cityRec('US','LAX','ロサンゼルス');
cityList[i++] =new cityRec('US','WAS','ワシントン');
cityList[i++] =new cityRec('UZ','UGC','ウルゲンチ');
cityList[i++] =new cityRec('UZ','SKD','サマルカンド');
cityList[i++] =new cityRec('UZ','TAS','タシケント');
cityList[i++] =new cityRec('UZ','BHK','ブハラ');
cityList[i++] =new cityRec('VE','CAJ','カナイマ');
cityList[i++] =new cityRec('VE','CCS','カラカス');
cityList[i++] =new cityRec('VN','DAD','ダナン');
cityList[i++] =new cityRec('VN','NHA','ニャチャン');
cityList[i++] =new cityRec('VN','HAN','ハノイ');
cityList[i++] =new cityRec('VN','HUI','フエ');
cityList[i++] =new cityRec('VN','SGN','ホーチミン');
cityList[i++] =new cityRec('ZA','KIM','キンバリー');
cityList[i++] =new cityRec('ZA','CPT','ケープタウン');
cityList[i++] =new cityRec('ZA','DUR','ダーバン');
cityList[i++] =new cityRec('ZA','PTG','ピーターズバーグ');
cityList[i++] =new cityRec('ZA','PRY','プレトリア');
cityList[i++] =new cityRec('ZA','LLE','マレラネ');
cityList[i++] =new cityRec('ZA','JNB','ヨハネスブルグ');
cityList[i++] =new cityRec('ZW','VFA','ビクトリアフォールズ');
cityList[i++] =new cityRec('SM','','サンマリノ');
cityList[i++] =new cityRec('VT','','バチカン');
cityList[i++] =new cityRec('LI','','リヒテンシュタイン');
cityList[i++] =new cityRec('LU','','ルクセンブルグ');
cityList[i++] =new cityRec('CS','','セルビアモンテネグロ');
cityList[i++] =new cityRec('BW','','ボツワナ');
cityList[i++] =new cityRec('ZM','','ザンビア');
cityList[i++] =new cityRec('SZ','','スワジランド');
cityList[i++] =new cityRec('MG','','マダガスカル');
cityList[i++] =new cityRec('HK','','香港');
cityList[i++] =new cityRec('MO','','マカオ');
cityList[i++] =new cityRec('LK','','スリランカ');
cityList[i++] =new cityRec('JM','','ジャマイカ');
cityList[i++] =new cityRec('PA','','パナマ');
cityList[i++] =new cityRec('BS','','バハマ');
cityList[i++] =new cityRec('GU','','グアム');
cityList[i++] =new cityRec('SP','','サイパン');
cityList[i++] =new cityRec('MU','','モーリシャス');
cityList[i++] =new cityRec('PW','','パラオ');
cityList[i++] =new cityRec('MV','','モルディブ');
cityList[i++] =new cityRec('BN','','ブルネイ');

cityList.length =507;

var setArray = new Array();

function setHatsuInter(dc){
	var z = 0;
	for(i=0;i<document.interForm.elements.length;i++){
		if(document.interForm.elements[i].type == 'hidden' && document.interForm.elements[i].name == 'p_hatsu'){
				setArray[z] = document.interForm.elements[i];
				z++;
		}
	}
	z = 0;
	for(i=0;i<hatsuInterList.length;i++){
		if(hatsuInterList[i].group == dc){
			setArray[z].value = hatsuInterList[i].code;
			z++;
		}
	}
}


function formSubmitInter(){


	document.interForm.submit();

}

var d = new Date();
var dy = d.getYear();
function monthmenu(){
	dy = d.getYear();
	var dm = d.getMonth();
	var mm ="";
	var mv = "";
	if ( dy < 2000 ) {
		dy = dy - 100 + 2000;
	}
	for( i=1; i<13 ; i++ ) {
		dm = dm +1;
		if ( dm >12 ) {
			dm = 1;
			dy = dy + 1;
		}
		if ( dm <10 ) {
			mm = "0" + dm;
			mv = dm + "  ";
		} else {
			mm = dm;
			mv = dm;
		}
		this.document.interForm.p_month.options[i] = new Option( mv, dy+"/"+ mm +"/01" );
	}
}

function datemenu() {
	document.interForm.p_dd.length = 1;
	document.interForm.p_dd.options[0].text = " 　";
	selMonth = eval( document.interForm.p_month.options[document.interForm.p_month.selectedIndex].text );
	if ( selMonth != "" ) { 
		mld = new Date(dy, selMonth, 1);
		mld.setDate(0);
		brk = mld.getDate();
		for ( i = 1 ; i <= brk ; i++) {
			document.interForm.p_dd.length = i +1;
			document.interForm.p_dd.options[i].text = i ;
		}
	}
}
  

