/**************************************************************************
*						¸Þ´º°ü·Ã ¸µÅ© ¹× Location °ü·Ã
**************************************************************************/

var menuArr = new Array();	
var m = 0;

// Home
menuArr[m++] = new Array('00', 'Home','/');

//HRI¿¬±¸º¸°í¼­
menuArr[m++] = new Array('01', 'HRI¿¬±¸º¸°í¼­','/report/main.asp','');
menuArr[m++] = new Array('011', 'ÇÑ±¹°æÁ¦ÁÖÆò','/board/reportList.asp','?firstDepth=1&secondDepth=1');
menuArr[m++] = new Array('012', 'VIP¸®Æ÷Æ®','/board/reportList.asp','?firstDepth=1&secondDepth=2');
menuArr[m++] = new Array('016', 'ÀÌ½´¸®Æ÷Æ®','/board/reportList.asp','?firstDepth=1&secondDepth=6');
menuArr[m++] = new Array('015', 'ÁÖ°£°æÁ¦ºê¸®ÇÎ','/board/reportList.asp','?firstDepth=1&secondDepth=5');
menuArr[m++] = new Array('017', 'Ã¼¾îÆÛ½¼³ëÆ®','/board/reportList.asp','?firstDepth=1&secondDepth=7');
menuArr[m++] = new Array('014', 'ÅëÀÏ°æÁ¦','/board/reportList.asp','?firstDepth=1&secondDepth=4');
menuArr[m++] = new Array('013', 'Áö½Ä°æÁ¦','/board/reportList.asp','?firstDepth=1&secondDepth=3');
menuArr[m++] = new Array('018', '¿¬±Ý½ÃÀå¸®ºä','/board/reportList.asp','?firstDepth=1&secondDepth=8');
menuArr[m++] = new Array('019', 'µ¿ºÏ¾ÆReview','/board/reportList.asp','?firstDepth=1&secondDepth=9');
menuArr[m++] = new Array('010', '´ë³»¿Ü ÁÖ¿ä °æÁ¦ ÁöÇ¥','/report/EconomicIndicatorList.asp','?firstDepth=1&secondDepth=10');
//ÅëÀÏµ¥½ºÅ©
menuArr[m++] = new Array('02', 'ÅëÀÏµ¥½ºÅ©','/desk/main.asp','');
menuArr[m++] = new Array('021', 'Àü¹®°¡³í´Ü','/board/reportList.asp','?firstDepth=2&secondDepth=1&thirdDepth=0');
menuArr[m++] = new Array('0210', 'ÀüÃ¼','/board/reportList.asp','?firstDepth=2&secondDepth=1&thirdDepth=0');
menuArr[m++] = new Array('0211', 'ºÏÇÑ°æÁ¦','/board/reportList.asp','?firstDepth=2&secondDepth=1&thirdDepth=1');
menuArr[m++] = new Array('0212', 'ºÏÇÑÁ¤Ä¡/»çÈ¸','/board/reportList.asp','?firstDepth=2&secondDepth=1&thirdDepth=2');
menuArr[m++] = new Array('0213', 'µ¿ºÏ¾ÆÁ¤¼¼','/board/reportList.asp','?firstDepth=2&secondDepth=1&thirdDepth=3');
menuArr[m++] = new Array('0214', '³²ºÏ°æÇù','/board/reportList.asp','?firstDepth=2&secondDepth=1&thirdDepth=4');
menuArr[m++] = new Array('0215', 'ÅëÀÏ','/board/reportList.asp','?firstDepth=2&secondDepth=1&thirdDepth=5');
menuArr[m++] = new Array('0216', 'ÅëÀÏ°æÁ¦','/board/reportList.asp','?firstDepth=2&secondDepth=1&thirdDepth=6');
menuArr[m++] = new Array('022', 'ÃÖ½ÅÁ¤º¸ÀÚ·á','/board/reportList.asp','?firstDepth=2&secondDepth=2');
menuArr[m++] = new Array('023', 'ÅëÀÏ´º½º','/desk/DeskNews.asp','');
menuArr[m++] = new Array('024', 'ÅëÀÏ¼­Àç','/board/bookList.asp','?firstDepth=2&secondDepth=4');
menuArr[m++] = new Array('025', 'Reports on Korea Peninsula','/board/reportList.asp','?firstDepth=2&secondDepth=5');
menuArr[m++] = new Array('026', 'ÅëÀÏ½ºÆäÀÌ½º','/desk/DeskSpace.asp','');

//HRI Æ÷·³
menuArr[m++] = new Array('03', 'HRIÆ÷·³','/forum/main.asp','');
menuArr[m++] = new Array('031', '¹Ð·¹´Ï¾öÆ÷·³','/board/reportList.asp','?firstDepth=3&secondDepth=1');
menuArr[m++] = new Array('032', '³ì»ý¼ºÀåÆ÷·³','/board/reportList.asp','?firstDepth=3&secondDepth=2');
menuArr[m++] = new Array('033', 'µ¿ºÏ¾Æ¹Ì·¡Æ÷·³','/board/reportList.asp','?firstDepth=3&secondDepth=3');
menuArr[m++] = new Array('034', 'Áö»ó¼¼¹Ì³ª','/board/reportList.asp','?firstDepth=3&secondDepth=4');
menuArr[m++] = new Array('035', 'Áö¼Ó°¡´É¼¼¹Ì³ª','/board/reportList.asp','?firstDepth=3&secondDepth=5');

//HRI ºÏ
menuArr[m++] = new Array('04', 'HRIºÏ','/board/bookList.asp','?firstDepth=4&secondDepth=1');
menuArr[m++] = new Array('041', 'HRIºÏ','/board/bookList.asp','?firstDepth=4&secondDepth=1');
menuArr[m++] = new Array('042', 'VIDEOºÏ','/board/videoList.asp','?firstDepth=4&secondDepth=2');
menuArr[m++] = new Array('043', 'HRIÃßÃµºÏ','/board/bookList.asp','?firstDepth=4&secondDepth=3');
menuArr[m++] = new Array('044', 'HRIÃÑ¼­','/board/bookList.asp','?firstDepth=4&secondDepth=4');
//¿­¸°Áö½ÄÄ«Æä
menuArr[m++] = new Array('05', '¿­¸°Áö½ÄÄ«Æä','/cafe/main.asp','');
menuArr[m++] = new Array('051', '¸®¼­Ä¡ON','/cafe/researchPoll.asp','?firstDepth=5&secondDepth=1');
menuArr[m++] = new Array('052', 'Åä·Ð100¸¶ÀÏ','/cafe/milePoll.asp','?firstDepth=5&secondDepth=2','');
menuArr[m++] = new Array('053', '¸®¼­Ä¡Á¦¾È','/cafe/researchWrite.asp','?firstDepth=5&secondDepth=3');
menuArr[m++] = new Array('054', 'Áö½Ä°øÀ¯Á¸','/cafe/knowledgeList.asp','?firstDepth=5&secondDepth=4');
menuArr[m++] = new Array('055', 'Ã¤¿ëÁ¤º¸','/onair/recruitList.asp','?firstDepth=5&secondDepth=5');
menuArr[m++] = new Array('056', 'ÁÖ¿ä±â°üº¸°í¼­','/board/reportList.asp','?firstDepth=5&secondDepth=6');

//HRI¿Â¿¡¾î
menuArr[m++] = new Array('06', 'HRI¿Â¿¡¾î','/onair/main.asp','');
//menuArr[m++] = new Array('061', 'ÁÖ¿ä±â°üº¸°í¼­','/board/reportList.asp','?firstDepth=6&secondDepth=1');
menuArr[m++] = new Array('061', 'HRI in ´º½º','/board/reportList.asp','?firstDepth=6&secondDepth=1');
menuArr[m++] = new Array('062', 'HRI ¾Ë¸®¹Ì','/board/commonList.asp','?firstDepth=6&secondDepth=2');
//menuArr[m++] = new Array('064', 'Ã¤¿ëÁ¤º¸','/onair/recruitList.asp','?firstDepth=6&secondDepth=4');
menuArr[m++] = new Array('063', 'U-TIMES','/onair/utimes.asp','?firstDepth=6&secondDepth=3');

//ÇïÇÁµ¥½ºÅ©
menuArr[m++] = new Array('07', 'ÇïÇÁµ¥½ºÅ©','/member/','');
menuArr[m++] = new Array('071', '·Î±×ÀÎ','http://hri.co.kr/member/memberLogin.asp','');
menuArr[m++] = new Array('072', 'È¸¿ø°¡ÀÔ','/member/pre_agreement.asp','');
menuArr[m++] = new Array('073', '¾ÆÀÌµð/ºñ¹Ð¹øÈ£ Á¶È¸','/member/memberSignupSearch.asp','');
menuArr[m++] = new Array('074', 'Sitemap','/member/sitemap.asp','');
menuArr[m++] = new Array('075', '·Î±×¾Æ¿ô','/member/memberLoginOff.asp','');
menuArr[m++] = new Array('076', 'È¸¿øÁ¤º¸È®ÀÎ/º¯°æ','/member/memberModify.asp','');


//HRI Members
menuArr[m++] = new Array('08', 'HRI Member','/intranet/main.asp','');
menuArr[m++] = new Array('081', '°øÁö»çÇ×','/board/commonList.asp','?firstDepth=8&secondDepth=1');
menuArr[m++] = new Array('082', 'À±¸®°æ¿µ','/board/commonList.asp','?firstDepth=8&secondDepth=2&thirdDepth=1');
menuArr[m++] = new Array('0821', 'À±¸®°æ¿µÀÚ·á½Ç','/board/commonList.asp','?firstDepth=8&secondDepth=2&thirdDepth=1');
menuArr[m++] = new Array('0822', 'Á÷¹«À±¸®½Å¹®°í','/board/commonWrite.asp','?firstDepth=8&secondDepth=2&thirdDepth=2');
menuArr[m++] = new Array('0823', 'Á÷¹«À±¸®QnA','/board/commonList.asp','?firstDepth=8&secondDepth=2&thirdDepth=3');
menuArr[m++] = new Array('083', 'ÇàÁ¤¼­ºñ½º','/board/commonList.asp','?firstDepth=8&secondDepth=3&thirdDepth=1&fourthDepth=1');
menuArr[m++] = new Array('0831', 'ÇàÁ¤¾È³»','/board/commonList.asp','?firstDepth=8&secondDepth=3&thirdDepth=1&fourthDepth=1');
menuArr[m++] = new Array('08311', 'ÀÎ»ç','/board/commonList.asp','?firstDepth=8&secondDepth=3&thirdDepth=1&fourthDepth=1');
menuArr[m++] = new Array('08312', 'º¹Áö','/board/commonList.asp','?firstDepth=8&secondDepth=3&thirdDepth=1&fourthDepth=2');
menuArr[m++] = new Array('08313', 'ÃÑ¹«','/board/commonList.asp','?firstDepth=8&secondDepth=3&thirdDepth=1&fourthDepth=3');
menuArr[m++] = new Array('08314', 'È¸°è','/board/commonList.asp','?firstDepth=8&secondDepth=3&thirdDepth=1&fourthDepth=4');
menuArr[m++] = new Array('08315', '¾÷¹«ºÐÀåÇ¥','/board/commonList.asp','?firstDepth=8&secondDepth=3&thirdDepth=1&fourthDepth=5');
menuArr[m++] = new Array('0832', 'ÇàÁ¤Áö¿ø¾ç½Ä','/board/commonList.asp','?firstDepth=8&secondDepth=3&thirdDepth=2&fourthDepth=1');
menuArr[m++] = new Array('08321', 'ÀÎ»ç','/board/commonList.asp','?firstDepth=8&secondDepth=3&thirdDepth=2&fourthDepth=1');
menuArr[m++] = new Array('08322', 'ÃÑ¹«','/board/commonList.asp','?firstDepth=8&secondDepth=3&thirdDepth=2&fourthDepth=2');
menuArr[m++] = new Array('08323', 'È¸°è','/board/commonList.asp','?firstDepth=8&secondDepth=3&thirdDepth=2&fourthDepth=3');
menuArr[m++] = new Array('08324', '±âÅ¸','/board/commonList.asp','?firstDepth=8&secondDepth=3&thirdDepth=2&fourthDepth=4');
menuArr[m++] = new Array('0833', 'Ãë¾÷±ÔÄ¢Àü¹®','/board/commonList.asp','?firstDepth=8&secondDepth=3&thirdDepth=3');
menuArr[m++] = new Array('0834', 'ISO9001¾ç½Ä','/board/commonList.asp','?firstDepth=8&secondDepth=3&thirdDepth=4');
menuArr[m++] = new Array('084', '»ç³»°Ô½ÃÆÇ','/board/commonList.asp','?firstDepth=8&secondDepth=4');


//about HRI
menuArr[m++] = new Array('09', 'About HRI','#','');
menuArr[m++] = new Array('091', 'ºñÀü°ú ¹Ì¼Ç','/about/aboutVision.asp','');
menuArr[m++] = new Array('092', 'CEOÀÎ»ç¸»','/about/aboutCeo.asp','');
menuArr[m++] = new Array('093', 'HRI¸®¼­Ä¡','/about/hriResearch.asp','');
menuArr[m++] = new Array('094', 'HRIÀÎÀçÀ°¼º','/about/hriCompetent.asp','');
menuArr[m++] = new Array('095', 'HRIÄÁ¼³ÆÃ','/about/consulting.asp','');
menuArr[m++] = new Array('096', 'Usociety','/about/Usociety.asp','');
menuArr[m++] = new Array('097', '»çÈ¸°øÇåÈ°µ¿','/about/sacrifice.asp','');
menuArr[m++] = new Array('098', 'Ã£¾Æ¿À½Ã´Â±æ','/about/cantacus.asp','');
//etc
menuArr[m++] = new Array('10', 'ÀÌ¿ë¾à°ü','/about/agreement.asp','');
menuArr[m++] = new Array('11', '°³ÀÎÁ¤º¸º¸È£Á¤Ã¥','/about/personPolicy.asp','');
menuArr[m++] = new Array('12', 'cantacus','/about/cantacus.asp','');
menuArr[m++] = new Array('13', 'Áö½Ä³ëÆ®','/about/knowledgeNote.asp','');






/**************************************************************************
*	¸Þ´º ¸µÅ©
**************************************************************************/
function menuLink(str)
{
	for (i=0; i<str.length; i=i+2)
	{
		for (j=0; j<menuArr.length; j++)
		{
			if (str==menuArr[j][0]) 
			{
				if(menuArr[j][2]=="#")
				{
					alert("ÁØºñÁßÀÔ´Ï´Ù.")
					return;
				}
				else
				{
					window.location.href= menuArr[j][2] + menuArr[j][3];
					break;
				}
			}
		}
	}
} 

/**************************************************************************
*	Linemap
**************************************************************************/

function dispLinemap(MenuCode)
{

	var c_no = 0;
	for (i=0; i<MenuCode.length; i=i+1)
	{
		SubCode = MenuCode.substring(0, i+1);
		for (j=0; j<menuArr.length; j++)
		{

			if (menuArr[j][0]==SubCode)
			{
				if (c_no == 0)
				{
					document.write("<a HREF='"+menuArr[0][2]+menuArr[j][3]+"' onFocus='this.blur()'><img src='/images/common/ico_home.gif' width='11' height='10' border='0'></a>");
					c_no = c_no + 1;
				}

				if ((MenuCode!=SubCode) && (menuArr[j][2].length > 0)) 
				{					
					document.write(" <span class='s_k t_gray2 '>&gt; </span> <a href='"+menuArr[j][2]+menuArr[j][3]+"' onFocus='this.blur()'><span class='tab'>"+menuArr[j][1]+"</span></a>");
				}
				else
				{					
					document.write(" <span class='s_k t_gray2'> &gt; "+menuArr[j][1]+"</span>");
				}
				break;
			}
		}
	}
}

