
function GoMenu (P_Num, S_Num, D_Num) {
	var ServiceRoot = "";
	var url = "";
	var targetb = ""
	//alert(P_Num+"/"+S_Num+"/"+D_Num);
	if(P_Num == "0") {     //main
		url = ServiceRoot + "";
	}else if(P_Num == "1"){ //Ä·ÇÁ¼Ò°³
		if(S_Num == "0"){url = ServiceRoot + "/company/greeting.asp";}//Ä·ÇÁ¼Ò°³
		else if(S_Num == "1"){url = ServiceRoot + "/company/greeting.asp";}//ÀÎ»ç¸»
		else if(S_Num == "2"){url = ServiceRoot + "/company/bus.asp";}//¼ÅÆ²¿î¿µ°èÈ¹
		else if(S_Num == "3"){url = ServiceRoot + "/company/facilities.asp";}//½Ã¼³¾È³»
		else if(S_Num == "4"){url = ServiceRoot + "/company/menu.asp";}//Ä·ÇÁ½Ä´Ü
		else if(S_Num == "5"){url = ServiceRoot + "/company/campkorea.asp";}//Çù·Â¾÷Ã¼
		else if(S_Num == "6"){url = ServiceRoot + "/company/map.asp";}//¿À½Ã´Â±æ
		else if(S_Num == "7"){url = ServiceRoot + "/company/speaker.asp";}//¿À½Ã´Â±æ
		
	}else if(P_Num == "2"){ //ÇÁ·Î±×·¥
		if(S_Num == "0"){url = ServiceRoot + "/program/early_learner.asp";}//ÇÁ·Î±×·¥
		else if(S_Num == "1"){url = ServiceRoot + "/program/early_learner.asp";}//Early Learner
		else if(S_Num == "2"){url = ServiceRoot + "/program/kids.asp";}//KIDÇÁ·Î±×·¥
		else if(S_Num == "3"){url = ServiceRoot + "/program/intensive_1.asp";}//1:6¼Ò¼ö¿µÀç
		else if(S_Num == "4"){url = ServiceRoot + "/program/english_event.asp";}//English Event
		else if(S_Num == "5"){url = ServiceRoot + "/program/book.asp";}//Ä·ÇÁ±³Àç
	
	}else if(P_Num == "3"){ //Ä·ÇÁ½ÅÃ»
		if(S_Num == "0"){url = ServiceRoot + "/application/guide.asp";}//Ä·ÇÁ½ÅÃ»
		else if(S_Num == "1"){url = ServiceRoot + "/application/guide.asp";}//½ÅÃ»¾È³»
		else if(S_Num == "2"){url = ServiceRoot + "/application/application.asp";}//Ä·ÇÁ½ÅÃ»¼­ÀÛ¼º
		else if(S_Num == "3"){url = ServiceRoot + "/application/appliy_inquiry.asp";}//¹Ý ¹× ¼±»ý´Ô Á¶È¸

	
	}else if(P_Num == "4"){ //Ä·ÇÁ¾Ù¹ü
		if(S_Num == "0"){url = ServiceRoot + "/camp_album/album.asp?bid=koreaphoto_MWF&gno=2";}
		else if(S_Num == "1"){url = ServiceRoot + "/camp_album/album.asp";}		
	
	}else if(P_Num == "5"){ //°Ô½ÃÆÇ
		if(S_Num == "0"){url = ServiceRoot + "/freeboard/freeboard.asp";}//°Ô½ÃÆÇ
		else if(S_Num == "1"){url = ServiceRoot + "/freeboard/freeboard.asp";}//°øÁö»çÇ×
		else if(S_Num == "2"){url = ServiceRoot + "/freeboard/bbsboard.asp";}//Ä·ÇÁ¹®ÀÇ
		else if(S_Num == "3"){url = ServiceRoot + "/freeboard/letter.asp";}//Ä·ÇÁÈÄ±â
		else if(S_Num == "4"){url = ServiceRoot + "/freeboard/press.asp";}//Ä·ÇÁ°úÁ¦

	}else if(P_Num == "6"){ //¸¶ÀÌÆäÀÌÁö
		if(S_Num == "0"){url = ServiceRoot + "/mypage/modify.asp";}			//¸¶ÀÌÆäÀÌÁö
		else if(S_Num == "1"){url = ServiceRoot + "/mypage/modify.asp";}//Á¤º¸¼öÁ¤
		else if(S_Num == "2"){url = ServiceRoot + "/mypage/myalbum.asp";}//My Album
		else if(S_Num == "3"){url = ServiceRoot + "/mypage/MyLevelTest.asp";}//·¹º§Å×½ºÆ®
		else if(S_Num == "4"){url = ServiceRoot + "/mypage/camp_history.asp";}//Ä·ÇÁÀÏÁö
		
	
	}


	 if (url != ""){
		if (targetb == ""){
			window.location.href = url;
		}else{

			show(url, "1000","800");
			//window.open(url, targetb,"");
		}
    } else {
        alert("ÁØºñÁß ÀÔ´Ï´Ù. °ð ÁÁÀº ¸ð½ÀÀ¸·Î Ã£¾ÆºË°Ú½À´Ï´Ù.");
    }
    
}






function goLink(v1){


    if(v1 == "1"){   //°í·Á´ëÇÐ±³ ±¹Á¦¾îÇÐ¿ø
		location.href= "http://langtopia.korea.ac.kr/"; //°í·Á´ëÇÐ±³ ±¹Á¦¾îÇÐ¿ø
    }

	if (url != ""){
		if (targetb == ""){
			window.location.href = "http://langtopia.korea.ac.kr/";
		}else{

			show(url, "1000","800");
			window.open(url, targetb,"_blank");
		}
    } else {
        alert("ÁØºñÁß ÀÔ´Ï´Ù. °ð ÁÁÀº ¸ð½ÀÀ¸·Î Ã£¾ÆºË°Ú½À´Ï´Ù.");
    }

}
