/**************************************************************************
*						메뉴관련 링크 및 Location 관련 (영문)
**************************************************************************/

var menuArr = new Array();	
var m = 0;


// Home
menuArr[m++] = new Array('00', 'Home','/main/e_main.html', '');

// 행사안내
menuArr[m++] = new Array('01', 'BIO KOREA 2009','/info/bio_korea_01.html', '');

menuArr[m++] = new Array('0101', 'Invitation','/info/bio_korea_01.html', '');
menuArr[m++] = new Array('0102', 'Overview','/info/bio_korea_02.html', '');
menuArr[m++] = new Array('0103', 'Bio Industry in Korea','/info/bio_korea_03.html', '');
menuArr[m++] = new Array('0104', 'Why BIO KOREA 2009?','/info/bio_korea_04.html', '');
menuArr[m++] = new Array('0105', 'Promotion Plan','/info/bio_korea_05.html', '');
menuArr[m++] = new Array('0106', 'Previous Event Report','/info/bio_korea_06.html', '');
menuArr[m++] = new Array('0107', 'Photo Gallery','/info/bio_korea_09.html', '');

// 전시회
menuArr[m++] = new Array('02', 'Exhibition','/exhibition/bio_exhibition_01.html', '');

menuArr[m++] = new Array('0201', 'Overview','/exhibition/bio_exhibition_01.html', '');
menuArr[m++] = new Array('0202', 'Exhibitors Amenities','/exhibition/bio_exhibition_02.html', '');
menuArr[m++] = new Array('0203', 'Application','/exhibition/bio_exhibition_03.html', '');
menuArr[m++] = new Array('0204', 'Terms and Conditions','/exhibition/bio_exhibition_04.html', '');
menuArr[m++] = new Array('0205', 'Exhibitors Support','/exhibition/bio_exhibition_05.html', '');
menuArr[m++] = new Array('0206', 'Exhibitors Manual','/exhibition/bio_exhibition_06.html', '');
menuArr[m++] = new Array('0207', 'Exhibitors List','/exhibition/bio_exhibition_07.html', '');
menuArr[m++] = new Array('0208', 'Floor Plan','/exhibition/bio_exhibition_08.html', '');
menuArr[m++] = new Array('0209', 'Exhibit Access Registration','/exhibition/bio_exhibition_09.html', '');


// 컨퍼런스
menuArr[m++] = new Array('03', 'Conference','/conference/bio_conference_01.html', '');

menuArr[m++] = new Array('0301', 'Conference Overview','/conference/bio_conference_01.html', '');
menuArr[m++] = new Array('0302', 'Program at a Glance','/conference/bio_conference_02.html', '');
menuArr[m++] = new Array('0303', 'Conference Program','/conference/bio_conference_06.html', '');
menuArr[m++] = new Array('0304', 'Speakers','/conference/bio_conference_03.html', '');
menuArr[m++] = new Array('0305', 'Conference Pre-Registration','/conference/bio_conference_04.html', '');
menuArr[m++] = new Array('0306', 'Plenary Session & Special Speech','/conference/bio_conference_05.html', '');



// 비즈니스포럼
menuArr[m++] = new Array('04', 'Business Forum','/ir_partnering/bio_forum_01.html', '');

menuArr[m++] = new Array('0401', 'Overview','/ir_partnering/bio_forum_01.html', '');
menuArr[m++] = new Array('0402', 'Registration','/ir_partnering/bio_forum_03.html', '');
menuArr[m++] = new Array('0403', 'Company Presentation Program/Search','/ir_partnering/bio_forum_02.html', '');
menuArr[m++] = new Array('0404', 'Participating Company List','/ir_partnering/bio_forum_04.html', '');


// 부대행사
menuArr[m++] = new Array('05', 'Event','/event/biotech_events_01.html', '');

menuArr[m++] = new Array('0501', 'Welcoming Reception','/event/biotech_events_01.html', '');
menuArr[m++] = new Array('0502', 'Sponsor Events','/event/biotech_events_02.html', '');



// 스폰서링프로그램
menuArr[m++] = new Array('06', 'Sponsor','/sponsor/e_sponsor_01.html', '');

menuArr[m++] = new Array('0601', 'Sponsorship Program','/sponsor/e_sponsor_01.html', '');
menuArr[m++] = new Array('0602', 'Sponsors LIst','/sponsor/e_sponsor_02.html', '');

// 게시판
menuArr[m++] = new Array('07', 'Board','/board/e_board_01.php', '');

menuArr[m++] = new Array('0701', 'Notice','/board/e_board_01.php', '');
menuArr[m++] = new Array('0702', 'Press Room','/board/e_board_02.php', '');
menuArr[m++] = new Array('0703', 'Bio News','/board/e_board_03.php', '');

// 참관안내
menuArr[m++] = new Array('08', 'Visitor','/visitor/e_visitor_01.html', '');

menuArr[m++] = new Array('0801', 'Why Visit BIO KOREA 2009?','/visitor/e_visitor_01.html', '');
menuArr[m++] = new Array('0802', 'On-site Registration','/visitor/e_visitor_02.html', '');
menuArr[m++] = new Array('0803', 'Pre-Online Registration','/visitor/e_visitor_03.html', '');
menuArr[m++] = new Array('0804', 'Accommodation','/visitor/e_visitor_04.html', '');
menuArr[m++] = new Array('0805', 'Transportation','/visitor/e_visitor_05.html', '');
menuArr[m++] = new Array('0806', 'Tour Information','/visitor/e_visitor_06.html', '');




// Util
menuArr[m++] = new Array('09', 'sitemap','/util/e_sitemap.html', '');
menuArr[m++] = new Array('10', 'KOREAN','/main/k_main.html', '');
menuArr[m++] = new Array('11', 'contactus','/util/e_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("Will be announced Soon!")
					return;
				}
				else
				{
					window.location.href=menuArr[j][3] + menuArr[j][2];
					break;
				}
			}
		}
	}
} 