//javascript by Gonzo(c) http://www.rado.jp
//Powerded Sysrq.co.jp

function DepArv(){

	var num=document.forms["ChangeArv"].CODE2.selectedIndex
	var shuttle=document.forms["ChangeArv"].CODE3.options
	shuttle.length=0
	if(num==0){
		shuttle[shuttle.length]=new Option("↑選択","")
	}else
	if(num==1){
		shuttle[shuttle.length]=new Option("関西発-関東（全便表示）","38")
		shuttle[shuttle.length]=new Option("片道表示","39")
	}else
	if(num==2){
		shuttle[shuttle.length]=new Option("関西発-関東（全便表示）","32")
		shuttle[shuttle.length]=new Option("大阪・京都・神戸 → 新宿・東京・ディズニー","32")
		shuttle[shuttle.length]=new Option("姫路 → 新宿・東京・ディズニー","31")
		shuttle[shuttle.length]=new Option("大阪・京都・神戸 → 横浜","30")
		shuttle[shuttle.length]=new Option("片道表示","33")
	}else
	if(num==3){
		shuttle[shuttle.length]=new Option("関西発-関東（全便表示）","32")
		shuttle[shuttle.length]=new Option("大阪・京都・神戸 → 新宿・東京・ディズニー","32")
		shuttle[shuttle.length]=new Option("姫路 → 新宿・東京・ディズニー","31")
		shuttle[shuttle.length]=new Option("大阪・京都・神戸 → 横浜","30")
		shuttle[shuttle.length]=new Option("片道表示","33")
	}else
	if(num==4){
		shuttle[shuttle.length]=new Option("関西発-関東（全便表示）","36")
		shuttle[shuttle.length]=new Option("大阪・京都・神戸 → 新宿・東京・ディズニー","36")
		shuttle[shuttle.length]=new Option("姫路 → 新宿・東京・ディズニー","35")
		shuttle[shuttle.length]=new Option("大阪・京都・神戸 → 横浜","34")
		shuttle[shuttle.length]=new Option("片道表示","37")
	}else
	if(num==5){
		shuttle[shuttle.length]=new Option("関西発-関東（全便表示）","32")
		shuttle[shuttle.length]=new Option("大阪・京都・神戸 → 新宿・東京・ディズニー","32")
		shuttle[shuttle.length]=new Option("姫路 → 新宿・東京・ディズニー","31")
		shuttle[shuttle.length]=new Option("大阪・京都・神戸 → 横浜","30")
		shuttle[shuttle.length]=new Option("片道表示","33")
	}else
	if(num==6){
		shuttle[shuttle.length]=new Option("関東発-関西（全便表示）","48")
		shuttle[shuttle.length]=new Option("片道表示","49")
	}else
	if(num==7){
		shuttle[shuttle.length]=new Option("関東発-関西（全便表示）","42")
		shuttle[shuttle.length]=new Option("新宿・ディズニー → 大阪・京都・神戸","40")
		shuttle[shuttle.length]=new Option("東京・ディズニー → 大阪・京都・神戸","42")
		shuttle[shuttle.length]=new Option("東京・ディズニー → 姫路","41")
		shuttle[shuttle.length]=new Option("横浜 → 大阪・京都・神戸","40")
		shuttle[shuttle.length]=new Option("片道表示","43")
	}else
	if(num==8){
		shuttle[shuttle.length]=new Option("関東発-関西（全便表示）","46")
		shuttle[shuttle.length]=new Option("新宿・ディズニー → 大阪・京都・神戸","44")
		shuttle[shuttle.length]=new Option("東京・ディズニー → 大阪・京都・神戸","46")
		shuttle[shuttle.length]=new Option("東京・ディズニー → 姫路","45")
		shuttle[shuttle.length]=new Option("横浜 → 大阪・京都・神戸","44")
		shuttle[shuttle.length]=new Option("片道表示","47")
	}else
	if(num==9){
		shuttle[shuttle.length]=new Option("関東発-関西（全便表示）","42")
		shuttle[shuttle.length]=new Option("新宿・ディズニー → 大阪・京都・神戸","40")
		shuttle[shuttle.length]=new Option("東京・ディズニー → 大阪・京都・神戸","42")
		shuttle[shuttle.length]=new Option("東京・ディズニー → 姫路","41")
		shuttle[shuttle.length]=new Option("横浜 → 大阪・京都・神戸","40")
		shuttle[shuttle.length]=new Option("片道表示","43")
	}else
	if(num==10){
		shuttle[shuttle.length]=new Option("名古屋 → 関東（全便表示）","01")
		shuttle[shuttle.length]=new Option("片道表示","05")
	}else
	if(num==11){
		shuttle[shuttle.length]=new Option("関東 → 名古屋（全便表示）","03")
		shuttle[shuttle.length]=new Option("片道表示","06")
	}
	if(shuttle.selectedIndex==-1)shuttle.selectedIndex=0
}
window.onload=DepArv

