var menuLinks = {

	/* ABOUT NTL */
	"ntlGreetings":				"aboutntl/greetings",		// CEO인사말
	"ntlBusiness":				"aboutntl/business",		// 사업영역 및 비전
	"ntlProfile":				"aboutntl/profile",			// 회사개요
	"ntlHistory":				"aboutntl/history",			// 연혁
	"ntlTalent":				"aboutntl/talent",			// 인재상
	"ntlContactus":				"aboutntl/contactus",		// 오시는 길

	/*NTL GAME */
	"gameFeature":				"game/feature",				// 게임의 특징
	"gameSynopsis":				"game/synopsis",			// 시놉시스
	"gameCharacter":			"game/character",			// 캐릭터 소개
	"gameScreenshot":			"board/screenshot",			// 스크린 샷

	/* PR CENTER */
	"prcenterNews":				"board/prcenter-news",		// 뉴스
	"prcenterPR":				"board/prcenter-pr",		// PR
	
	/* NTL INCRUIT */
	"incruit":					"board/incruit",			// 채용
	
	/* NTL sitemap */
	"sitemap":					"information/sitemap",			// 사이트맵


	"sitememberPivacy":			"sitemember/pivacy",			// 개인정보보호정책
	"sitememberAgreement":		"sitemember/agreement",			// 이용약관
	"sitememberRefusal":		"sitemember/refusa",			// 이메일수집거부

	"index":					""
};

function gotoMenuLink(id) {

	if (typeof(menuLinks[id]) == 'undefined') {
		alert('메뉴코드가 존재하지 않습니다. : ' + id);
		return;
	}

	var regex=/^(http|https|ftp):\/\//i;
	if (regex.test(menuLinks[id]) == true) {
		window.open(menuLinks[id], '_blank');
	} else {
		window.open(dscopeBaseUrl+menuLinks[id], '_self');
	}
	return;
}

function setMenuLink(id, obj) {
	var href = dscopeBaseUrl+menuLinks[id];
	obj.href = href;
	window.status= href;
	obj.onmouseout = function(){window.status='';}
}

