//swf 파일 이동 함수
function CallAction(strID)
{
	switch (strID.toLowerCase())
	{
		case "home":
			location.href = "home.asp";
			break;
		case "index":
			PlayBgm();
			location.href = "home.asp";
			break;
		case "profile":
			location.href = "profile.asp";
			break;
		case "albuminfo" :
			location.href = "albuminfo.asp";
			break;
		case "album" :
			location.href = "albuminfo.asp";
			break;
		case "gallery" :
			location.href = "gallery.asp";
			break;
		case "fanboard" :
			strfile = "/4th/forum/forum_index.asp?f_id=4&cateid=8&subid=";
			window.open (strfile,"fanboard");
			break;
		case "noticenews" :
			strfile = "/pages/_common/board/List.asp?bno=101";
			window.open (strfile,"newboard","toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,width=798,height=720");
			break;
		case "notice" :
			strfile = "/pages/_common/board/List.asp?bno=101";
			window.open (strfile,"newboard","toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,width=798,height=720");
			break;
		case "schedule" :
			strfile = "/pages/_common/board/schedule_list.asp";
			window.open (strfile,"schedule","toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,width=798,height=720");
			break;
		case "videoclip" :
			location.href = "/pages/superjunior/videoclip.sm";
			break;
		case "extras" :
			location.href = "/pages/superjunior/extras.sm";
			break;
		case "play" :
			PlayBgm();
			break;
		case "stop" :
			StopBgm();
			break;
		case "kor" :
			SetLanguage("kor");
			break;
		case "eng" :
			SetLanguage("eng");
			break;
		case "jpn" :
			SetLanguage("jpn");
			break;
		case "chn" :
			SetLanguage("chn");
			break;
		default :
			alert(strID);
			if (!isNaN((strID)))
			{
				StopBgm();
				//mpOpen(strID);
				openMovie(strID);
				return;
			}
			location.href = "/pages/superjunior/main.sm";
	}
}

function openMovie(id)
{
	strUrl = "/pages/superjunior/player.sm?id=" + id;
	window.open(strUrl,"MoviePlayer","toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,width=400,height=360");
}
