/***********************************
*  ¸Þ´º°ü·Ã ¸µÅ© ¹× Location °ü·Ã
************************************/

var menuArr = new Array();	
var m = 0;

// ÇÑÀÏ´ÜÁ¶
menuArr[m++] = new Array('00', 'Home','/eng/', '');

menuArr[m++] = new Array('0101', 'Hanil forging', ' ', '');
menuArr[m++] = new Array('010101', 'Company', ' ', '');
menuArr[m++] = new Array('01010101', 'Overview', ' ', '');
menuArr[m++] = new Array('01010102', 'History', ' ', '');
menuArr[m++] = new Array('01010103', 'Organization', ' ', '');
menuArr[m++] = new Array('01010104', 'Quality', ' ', '');
menuArr[m++] = new Array('010102', 'CEO Greetings', ' ', '');
menuArr[m++] = new Array('010103', 'Location', ' ', '');
menuArr[m++] = new Array('01010301', 'Head office', ' ', '');
menuArr[m++] = new Array('01010302', 'Jincheon factory', ' ', '');
menuArr[m++] = new Array('010104', 'E-brochure', ' ', '');

// »ý»ê¼³ºñ/Á¦Ç°
menuArr[m++] = new Array('0102', 'Product / production equipment', ' ', '');
menuArr[m++] = new Array('010201', 'Product', ' ', '');
menuArr[m++] = new Array('01020101', 'Axle Shaft', ' ', '');
menuArr[m++] = new Array('01020102', 'Spindle', ' ', '');
menuArr[m++] = new Array('01020103', 'Ring gear', ' ', '');
menuArr[m++] = new Array('01020104', 'Hammer forgings', ' ', '');
menuArr[m++] = new Array('01020105', 'Aluminum forgings', ' ', '');
menuArr[m++] = new Array('01020106', 'Defense industrial product', ' ', '');
menuArr[m++] = new Array('01020107', 'Product consultation', ' ', '');
menuArr[m++] = new Array('01020108', 'Estimate consultation', ' ', '');
menuArr[m++] = new Array('010202', 'Production equipment', ' ', '');
menuArr[m++] = new Array('01020201', 'Forging equipment', ' ', '');
menuArr[m++] = new Array('01020202', 'Machining equipment', ' ', '');
menuArr[m++] = new Array('01020203', 'Inspection equipment', ' ', '');
menuArr[m++] = new Array('01020204', 'Heat treatment equipment', ' ', '');
menuArr[m++] = new Array('010203', 'Cyber Process Tour', ' ', '');

// ÅõÀÚÁ¤º¸
menuArr[m++] = new Array('0103', 'Investment information', ' ', '');
menuArr[m++] = new Array('010301', 'Basic information', ' ', '');
menuArr[m++] = new Array('01030101', 'Company situation', ' ', '');
menuArr[m++] = new Array('01030102', 'Employee situation', ' ', '');
menuArr[m++] = new Array('01030103', 'Large stockholders situation', ' ', '');
menuArr[m++] = new Array('010302', 'Stock price information', ' ', ''); 
menuArr[m++] = new Array('010303', 'Financial information', ' ', '');
menuArr[m++] = new Array('01030301', 'Statement of profit and loss', ' ', '');
menuArr[m++] = new Array('01030302', 'Balance sheet', ' ', '');
menuArr[m++] = new Array('010304', 'Notice information', ' ', '');
menuArr[m++] = new Array('010305', 'Investment consultation', ' ', '');

// Util&Footer menu
menuArr[m++] = new Array('0201', 'Notice', ' ', '');
menuArr[m++] = new Array('0202', 'FAQ', ' ', '');
menuArr[m++] = new Array('0203', 'Online consultation', ' ', '');
menuArr[m++] = new Array('0204', 'Tie-up related questions', ' ', '');
menuArr[m++] = new Array('0205', 'Site map', ' ', '');




/******************************************
*	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("<div id=\"location\"><a href=\"/eng/\"><img src=\"../images/button/btn_home_linemap.gif\" alt=\"\" /></a>");
					c_no = c_no + 1;
				}

				if ((MenuCode!=SubCode) && (menuArr[j][2].length > 0)) 
				{
					document.write("<img src=\"../images/common/bull_linemap.gif\" alt=\"\" style=\"margin:0 4px 0 7px;\" />"+menuArr[j][1]+"");
				}
				else
				{
					document.write("<img src=\"../images/common/bull_linemap.gif\" alt=\"\" style=\"margin:0 4px 0 7px;\" /><strong>"+menuArr[j][1]+"</strong></div>");
				}
				break;
			}
		}
	}
}