// 플래시 링크 *****************************************************************
function ChangeUrl(mainActive, subActive, lang_cd)
{
	var str_url				= "";
	var target				= "";

	if (mainActive == 0)
	{
		switch(subActive)
		{
			case 0:			str_url = "USR_main.asp??=LEGAL/MAIN/index"; break;
		}
	}
	else if (mainActive == 1)
	{
		switch(subActive)
		{
			case 1:
				str_url = "USR_main.asp??=LEGAL/PRACTICE/list";
				break;
			case 2:
				if (lang_cd == "en" || lang_cd == "gr")
					str_url = "USR_main.asp??=LEGAL/PRACTICE/list";
				else
					str_url = "USR_main.asp??=LEGAL/PRACTICE/list_by_group";
				break;
			case 3:
				str_url = "USR_main.asp??=LEGAL/PRACTICE/list_by_group";
				break;
		}
	}
	else if (mainActive == 2)
	{
		switch(subActive)
		{
			case 1:			str_url = "USR_main.asp??=LEGAL/MEMBER/search"; break;
		}
	}
	else if (mainActive == 3)
	{
		switch(subActive)
		{
			case 1:			str_url = "USR_main.asp??=LEGAL/NEWS/list"; break;
			case 2:			str_url = "USR_main.asp??=LEGAL/NEWS/L_AWARD/list"; break;
			case 3:			str_url = "USR_main.asp??=LEGAL/NEWS/L_PRACTICE/list"; break;
			case 4:
				if (lang_cd == "jp")
				{
					lang_cd	= "en";
					target	= "_blank";
				}
				str_url = "USR_main.asp??=LEGAL/NEWS/L_NEWS/list"; break;
			case 5:
				str_url = "USR_main.asp??=LEGAL/NEWS/L_UPDATE/list";
		}
	}
	else if (mainActive == 4)
	{
		switch(subActive)
		{
			case 1:			str_url = "USR_main.asp??=LEGAL/SETPAGE/view&menu_no=19"; break;
			case 2:			str_url = "USR_main.asp??=LEGAL/SETPAGE/view&menu_no=19"; break;
			case 3:
				if (lang_cd == "gr")
				{
					lang_cd	= "en";
					target	= "_blank";
				}

				str_url = "USR_main.asp??=LEGAL/PROBONO/L_PROBONO/list"; break;
		}
	}
	else if (mainActive == 5)
	{
		switch(subActive)
		{
			case 1:
				if (lang_cd == "gr")
				{
					lang_cd	= "en";
					target	= "_blank";
				}

				str_url = "USR_main.asp??=LEGAL/SETPAGE/view&menu_no=8"; break;
			case 2:			str_url = "USR_main.asp??=LEGAL/SETPAGE/view&menu_no=9"; break;
		}
	}
	else if (mainActive == 6)
	{
		switch(subActive)
		{
			case 1:			str_url = "USR_main.asp??=LEGAL/SETPAGE/view&menu_no=6"; break;
			case 2:			str_url = "USR_main.asp??=LEGAL/SETPAGE/view&menu_no=1"; break;
			case 3:			str_url = "USR_main.asp??=LEGAL/SETPAGE/view&menu_no=28"; break;
		}
	}

	if (target != "")
		window.open(str_url + "&lang_cd=" + lang_cd, target);
	else if (str_url != "")
		location.href = str_url + "&lang_cd=" + lang_cd;
}
