//swf 

function CallAction(strID)
{
	//alert(strID);

	switch (strID.toLowerCase())
	{
		case "home":
			location.href = "main.htm";
			break;
		case "index":
			PlayBgm();
			location.href = "/pages/superjunior/version03/index.sm";
			break;
		
		case "albuminfo" :
			location.href = "albuminfo.htm";
			break;
		case "albumreview" :
			location.href = "albumreview.htm";
			break;
		case "tracklist" :
			location.href = "tracklist.htm";
			break;	
		case "videoclip" :
			location.href = "videoclip.htm";
			break;
		case "forum" :
			strfile = "/4th/forum/forum_index.asp?f_id=4&cateid=8&subid=";
			window.open (strfile,"fanboard");
			break;	

		

		case "play" :
			try{
				PlayBgm();
			}catch(e){}
			break;
		case "stop" :
			try{
				StopBgm();
			}catch(e){}
			break;
		case "videostart" :
			try{
				StopBgm();
			}catch(e){}
			break;
		case "song1" :
			location.href = "mms://wmt5.hihit.net/avex2/KPOP/SUPERK/AVKCD80228A/AVKCD80228A_001.asf";
			StopBgm();
			break;
		case "song2" :
			location.href = "mms://wmt5.hihit.net/avex2/KPOP/SUPERK/AVKCD80228C/AVKCD80228C_002.asf";
			StopBgm();
			break;
		case "song3" :
			location.href = "mms://wmt5.hihit.net/avex2/KPOP/SUPERK/AVKCD80228C/AVKCD80228C_003.asf";
			StopBgm();
			break;
		case "song4" :
			location.href = "mms://wmt5.hihit.net/avex2/KPOP/SUPERK/AVKCD80228C/AVKCD80228C_004.asf";
			StopBgm();
			break;
		case "song5" :
			location.href = "mms://wmt5.hihit.net/avex2/KPOP/SUPERK/AVKCD80228C/AVKCD80228C_005.asf";
			StopBgm();
			break;
		case "song6" :
			location.href = "mms://wmt5.hihit.net/avex2/KPOP/SUPERK/AVKCD80228A/AVKCD80228A_002.asf";
			StopBgm();
			break;
		case "song7" :
			location.href = "mms://wmt5.hihit.net/avex2/KPOP/SUPERK/AVKCD80228A/AVKCD80228A_003.asf";
			StopBgm();
			break;
		case "song8" :
			location.href = "mms://wmt5.hihit.net/avex2/KPOP/SUPERK/AVKCD80228A/AVKCD80228A_004.asf";
			StopBgm();
			break;
		case "song9" :
			location.href = "mms://wmt5.hihit.net/avex2/KPOP/SUPERK/AVKCD80228A/AVKCD80228A_005.asf";
			StopBgm();
			break;
		case "song10" :
			location.href = "mms://wmt5.hihit.net/avex2/KPOP/SUPERK/AVKCD80228A/AVKCD80228A_006.asf";
			StopBgm();
			break;
		case "song11" :
			location.href = "mms://wmt5.hihit.net/avex2/KPOP/SUPERK/AVKCD80228A/AVKCD80228A_007.asf";
			StopBgm();
			break;
		case "song12" :
			location.href = "mms://wmt5.hihit.net/avex2/KPOP/SUPERK/AVKCD80228A/AVKCD80228A_008.asf";
			StopBgm();
			break;
			case "song13" :
			location.href = "mms://wmt5.hihit.net/avex2/KPOP/SUPERK/AVKCD80228A/AVKCD80228A_009.asf";
			StopBgm();
			break;
		case "song14" :
			location.href = "mms://wmt5.hihit.net/avex2/KPOP/SUPERK/AVKCD80228A/AVKCD80228A_010.asf";
			StopBgm();
			break;
		case "song15" :
			location.href = "mms://wmt5.hihit.net/avex2/KPOP/SUPERK/AVKCD80228A/AVKCD80228A_011.asf";
			StopBgm();
			break;
		case "song16" :
			location.href = "mms://wmt5.hihit.net/avex2/KPOP/SUPERK/AVKCD80228A/AVKCD80228A_012.asf";
			StopBgm();
			break;
		default :
			//alert(strID);
			if (!isNaN((strID)))
			{
				StopBgm();
				//mpOpen(strID);
				openMovie(strID);
				break;
			}
			location.href = "/pages/superjunior/version03/index.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");
}

