/**************************************************************************
*						메뉴관련 링크 및 Location 관련
**************************************************************************/

var menuArr = new Array();	
var m = 0;


// Home
menuArr[m++] = new Array('00', 'Home','/main/k_main.html', '');

// 행사안내
menuArr[m++] = new Array('01', '행사안내','/info/info_01.html', '');

menuArr[m++] = new Array('0101', '행사개요','/info/info_01.html', '');
menuArr[m++] = new Array('0102', '행사특징','/info/info_02.html', '');
menuArr[m++] = new Array('0103', '기대효과','/info/info_03.html', '');
menuArr[m++] = new Array('0104', '홍보계획','/info/info_04.html', '');
menuArr[m++] = new Array('0105', '지난행사보기','/info/info_05.html', '');
menuArr[m++] = new Array('0106', '포토갤러리','/info/info_08.html', '');

// 전시회
menuArr[m++] = new Array('02', '전시회','/exhibition/exhibition_01.html', '');

menuArr[m++] = new Array('0201', '개요','/exhibition/exhibition_01.html', '');
menuArr[m++] = new Array('0202', '참가혜택','/exhibition/exhibition_02.html', '');
menuArr[m++] = new Array('0203', '참가신청','/exhibition/exhibition_03.html', '');
menuArr[m++] = new Array('0204', '참가규정','/exhibition/exhibition_04.html', '');
menuArr[m++] = new Array('0205', '부대시설신청','/exhibition/exhibition_05.html', '');
menuArr[m++] = new Array('0206', '서비스메뉴얼','/exhibition/exhibition_06.html', '');
menuArr[m++] = new Array('0207', '참가업체리스트','/exhibition/exhibition_07.html', '');
menuArr[m++] = new Array('0208', '전시장도면','/exhibition/exhibition_08.html', '');
menuArr[m++] = new Array('0209', '전시참관신청','/exhibition/exhibition_09.html', '');


// 컨퍼런스
menuArr[m++] = new Array('03', '컨퍼런스','/conference/conference_01.html', '');

menuArr[m++] = new Array('0301', '컨퍼런스 개요','/conference/conference_01.html', '');
menuArr[m++] = new Array('0302', '컨퍼런스 일정표','/conference/conference_02.html', '');
menuArr[m++] = new Array('0303', '컨퍼런스 프로그램','/conference/conference_06.html', '');
menuArr[m++] = new Array('0304', '연사 소개','/conference/conference_03.html', '');
menuArr[m++] = new Array('0305', '컨퍼런스 사전등록','/conference/conference_04.html', '');
menuArr[m++] = new Array('0306', '기조연설 & 특별강연','/conference/conference_05.html', '');



// 비즈니스포럼
menuArr[m++] = new Array('04', '비즈니스포럼','/ir_partnering/ir_partnering_01.html', '');

menuArr[m++] = new Array('0401', '행사개요','/ir_partnering/ir_partnering_01.html', '');
menuArr[m++] = new Array('0402', '참가신청','/ir_partnering/ir_partnering_04.html', '');
menuArr[m++] = new Array('0403', '기업설명회 일정표','/ir_partnering/ir_partnering_02.html', '');
menuArr[m++] = new Array('0404', '참가기업/기관 리스트','/ir_partnering/ir_partnering_03.html', '');


// 부대행사
menuArr[m++] = new Array('05', '부대행사','/event/event_01.html', '');

menuArr[m++] = new Array('0501', '환영만찬','/event/event_01.html', '');
menuArr[m++] = new Array('0502', '스폰서 이벤트','/event/event_02.html', '');



// 스폰서링프로그램
menuArr[m++] = new Array('06', '스폰서링 프로그램','/sponsor/sponsor_02.html', '');

menuArr[m++] = new Array('0601', '스폰서링 프로그램','/sponsor/sponsor_01.html', '');
menuArr[m++] = new Array('0602', '스폰서링 리스트','/sponsor/sponsor_02.html', '');


// 게시판
menuArr[m++] = new Array('07', '게시판','/board/board_01.php', '');

menuArr[m++] = new Array('0701', '공지사항','/board/board_01.php', '');
menuArr[m++] = new Array('0702', '보도자료','/board/board_02.php', '');
menuArr[m++] = new Array('0703', '바이오 뉴스','/board/board_03.php', '');
menuArr[m++] = new Array('0704', 'FAQ','/board/board_04.php', '');


// 참관안내
menuArr[m++] = new Array('08', '참관안내','/visitor/visitor_01.html', '');

menuArr[m++] = new Array('0801', '전시관람','/visitor/visitor_01.html', '');
menuArr[m++] = new Array('0802', '숙박안내','/visitor/visitor_02.html', '');
menuArr[m++] = new Array('0803', '교통안내','/visitor/visitor_03.html', '');


// Util
menuArr[m++] = new Array('09', 'sitemap','/util/sitemap.html', '');
menuArr[m++] = new Array('10', 'english','/main/e_main.html', '');
menuArr[m++] = new Array('11', 'contactus','/util/contactus.html', '');






/**************************************************************************
*	Location
**************************************************************************/
function dispLinemap(MenuCode)
{
	var c_no = 0;

	for (i=0; i<MenuCode.length; i=i+2)
	{
		SubCode = MenuCode.substring(0, i+2);
		for (j=0; j<menuArr.length; j++)
		{
			if (menuArr[j][0]==SubCode)
			{
				if (c_no == 0)
				{
					document.write("<a HREF='"+menuArr[i][2]+"' class='a_linemap'>Home</a>");
					c_no = c_no + 1;
				}

				if ((MenuCode!=SubCode) && (menuArr[j][2].length > 0)) 
				{
					document.write(" > ");
					document.write("<a href='"+menuArr[j][2]+"' class='a_linemap'>"+menuArr[j][1]+"</a>");
				}
				else
				{
					document.write(" > ");
					document.write("<span class='linemap_here'>"+menuArr[j][1]+"</span>");
				}
				break;
			}
		}
	}
}

/**************************************************************************
*	메뉴 링크
**************************************************************************/
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][3] + menuArr[j][2];
					break;
				}
			}
		}
	}
} 



