<!--
// ¸Þ´º ±¸Á¶
var Menu = new Array(
	new Array(
			new Array("1", "Company", "Company Introduction", "sub_eng_01.swf")
		,	new Array("1", "11", "Message", "Menu_Company")							// Message
		,	new Array("2", "12", "History")											// History
		,	new Array("3", "13", "Organization Chart")								// Organization Chart
		,	new Array("4", "14", "CI & Vision")										// CI & Vision
		,	new Array("5", "15", "Location")										// Location
		),
	new Array(
			new Array("2", "Business", "Business Translation", "sub_eng_02.swf")
		,	new Array("1", "21", "Paper Introduction", "Menu_Business1")			// Paper Introduction
		,	new Array("2", "22", "GLS", "Menu_Business2")							// GLS
		,	new Array("3", "23", "WinWin Eng", "Menu_Business3")					// WinWin Eng
		,	new Array("4", "24", "Factory", "Menu_Business4")						// Factory
		),
	new Array(
			new Array("3", "Pr", "PR", "sub_eng_03.swf")
		,	new Array("1", "31", "News", null)										// News
		),
	new Array(
			new Array("4", "Etc", "", "sub_eng_04.swf")
		,	new Array("1", "41", "Sitemap", null)									// Sitemap
	)
)

// È¸»ç¼Ò°³ > ÀÎ»ç¸»
var Menu_Company = new Array(
	new Array("1", "111", "Kim Sung Ho CEO", true)									// Kim Sung Ho CEO
)

// »ç¾÷¿µ¿ª > ÆäÀÌÆÛ »ç¾÷
var Menu_Business1 = new Array(
	new Array("1", "211", "Introduction", true)										// Paper Introduction
,	new Array("2", "212", "Inkjet/Lajor Paper", true)								// Inkjet/Lajor Paper
,	new Array("3", "213", "Self-Adhesive Inkjet/Lajor Paper", true)					// Self-Adhesive Inkjet/Lajor Paper
,	new Array("4", "214", "Photo Glossy Paper", true)								// Photo Glossy Paper
,	new Array("5", "215", "Copy Paper", true)										// Copy Paper
,	new Array("6", "216", "Label Product", true)									// Label Product
,	new Array("7", "217", "3F Double-Sided Tapes", true)							// 3F Double-Sided Tapes
)

// »ç¾÷¿µ¿ª > GLS
var Menu_Business2 = new Array(
	new Array("1", "221", "Introduction", true)										// GLS Introduction
,	new Array("2", "222", "Inline System", true)									// Inline System
,	new Array("3", "223", "Soldering Machine", true)								// Soldering Machine
,	new Array("4", "224", "Conveyor System", true)									// Conveyor System
,	new Array("5", "225", "Other Equipment", true)									// Other Equipment
)

// »ç¾÷¿µ¿ª > À©À© µÎ¼ÕÀÌ¿£Áö
var Menu_Business3 = new Array(
	new Array("1", "231", "Introduction", true)										// WinWin Eng Introduction
,	new Array("2", "232", "Grit Removal & Screen Facility", true)					// Grit Removal & Screen Facility
,	new Array("3", "233", "Water & Waste water Treatment Plant", true)				// Water & Waste water Treatment Plant
,	new Array("4", "234", "Tertiary Treatment Facility", true)						// Tertiary Treatment Facility
	,	new Array("5", "235", "Medical(waste incinerator) Plant", true)				// Medical(waste incinerator) Plant
	,	new Array("6", "236", "Silo System", true)									// Silo System
)

// »ç¾÷¿µ¿ª > À©À© °øÀå
var Menu_Business4 = new Array(
	new Array("1", "241", "Paper", true)											// Paper Factory
,	new Array("2", "242", "GLS", true)												// GLS Factory
,	new Array("3", "243", "WinWIn Eng", true)										// WinWIn Eng Factory
)

// ¸Þ´º ÇÃ·¡½¬ Ãâ·Â
function SetNaviFlash(Idx, Now) {
	var menu = Menu[Idx];

	flashWrite('/fla/eng_winwin_menu.swf?localnum=' + menu[0][0] + '&subnum=' + Now,692,66,'winwin_menu','#ffffff','transparent');
}

// ¼­ºê ÇÃ·¡½¬ Ãâ·Â
function SetSubFalsh(Idx) {
	var menu = Menu[Idx];

	flashWrite('/fla/' + menu[0][3],934,169,'winwin_menu','#ffffff','transparent');
}

// ¸Þ´º Ãâ·Â
function SetMenu(Idx, Now, SubNow) {
	var menu = Menu[Idx];

	document.write("\n"
				+ "<tr>\n"
				+ "	<td><img src=\"/eng/images/lnb_" + menu[0][1] + ".gif\"></td>\n"
				+ "</tr>\n"
				+ "<tr>\n");

	for (var i = 1; i < menu.length; i++) {
		if (menu[i][0] == Now) {
			// ÆäÀÌÁö ·Î±×µî·Ï Ãß°¡, È«ÁÖÇö, 2007³â 7¿ù 11ÀÏ ¼ö¿äÀÏ
			if (menu[i][4] != null) {
				PageLog(menu[i][4]);
			}

			document.write("\n"
						+ "<tr>\n"
						+ "	<td><a href=\"javascript:Link(" + menu[i][1] + ");\" onfocus=\"blur();\" onmouseover=\"javascript:document.all.s" + i + ".src='/eng/images/" + menu[0][1] + "_submenu0" + i + "a.gif';\" onmouseout=\"javascript:document.all.s" + i + ".src='/eng/images/" + menu[0][1] + "_submenu0" + i + "a.gif';\"><img src=\"/eng/images/" + menu[0][1] + "_submenu0" + i + "a.gif\" border=\"0\" name=\"s" + i + "\"></a></td>\n"
						+ "</tr>");
			// ¶óÀÎÃâ·Â
			document.write("\n"
						+ "<tr>\n"
						+ "	<td class=\"line1\" height=\"1\"></td>\n"
						+ "</tr>");

			// ¼­ºê¸Þ´ºÀÖÀ» °æ¿ì Ãâ·Â
			if (menu[i][3] != null) {
				var subMenu = eval(menu[i][3]);

				document.write("\n"
							+ "<tr>"
							+ "<td>"
							+ "<table cellpadding=\"0\" cellspacing=\"0\" style=\"margin:5 0 5 0\">");

				for (var j = 0; j < subMenu.length; j++){
					if (subMenu[j][0] == SubNow) {
						document.write("\n"
									+ "<tr>\n"
									+ "	<td class=\"space\"><a href=\"javascript:Link(" + subMenu[j][1] + ");\" onfocus=\"blur();\" onmouseover=\"javascript:document.all.sm" + (j + 1) + ".src='/eng/images/" + menu[0][1] + "_submenu0" + i + "_" + (j + 1) + "a.gif';\" onmouseout=\"javascript:document.all.sm" + (j + 1) + ".src='/eng/images/" + menu[0][1] + "_submenu0" + i + "_" + (j + 1) + "a.gif';\"><img src=\"/eng/images/" + menu[0][1] + "_submenu0" + i + "_" + (j + 1) + "a.gif\" border=\"0\" name=\"sm" + (j + 1) + "\"></a></td>\n"
									+ "</tr>");
					} else {
						if (subMenu[j][3] == true) {
							document.write("\n"
										+ "<tr>\n"
										+ "	<td class=\"space\"><a href=\"javascript:Link(" + subMenu[j][1] + ");\" onfocus=\"blur();\" onmouseover=\"javascript:document.all.sm" + (j + 1) + ".src='/eng/images/" + menu[0][1] + "_submenu0" + i + "_" + (j + 1) + "a.gif';\" onmouseout=\"javascript:document.all.sm" + (j + 1) + ".src='/eng/images/" + menu[0][1] + "_submenu0" + i + "_" + (j + 1) + ".gif';\"><img src=\"/eng/images/" + menu[0][1] + "_submenu0" + i + "_" + (j + 1) + ".gif\" border=\"0\" name=\"sm" + (j + 1) + "\"></a></td>\n"
										+ "</tr>");
						}
					}
				}
				document.write("\n"
							+ "</table>");
				// ¶óÀÎÃâ·Â
				document.write("\n"
							+ "<tr>\n"
							+ "	<td class=\"line1\" height=\"1\"></td>\n"
							+ "</tr>");
			}
		} else {
			document.write("\n"
						+ "<tr>\n"
						+ "	<td><a href=\"javascript:Link(" + menu[i][1] + ");\" onfocus=\"blur();\" onmouseover=\"javascript:document.all.s" + i + ".src='/eng/images/" + menu[0][1] + "_submenu0" + i + "a.gif';\" onmouseout=\"javascript:document.all.s" + i + ".src='/eng/images/" + menu[0][1] + "_submenu0" + i + ".gif';\"><img src=\"/eng/images/" + menu[0][1] + "_submenu0" + i + ".gif\" border=\"0\" name=\"s" + i + "\"></a></td>\n"
						+ "</tr>");
			// ¶óÀÎÃâ·Â
			document.write("\n"
						+ "<tr>\n"
						+ "	<td class=\"line1\" height=\"1\"></td>\n"
						+ "</tr>");
		}
	}
}

// Å¸ÀÌÆ² ÀÌ¹ÌÁö Ãâ·Â
function SetTitleImage(Idx, Now, SubNow) {
	var menu = Menu[Idx];

	document.write("<img src=\"/eng/images/" + menu[0][1] + "_title0" + Now + "_" + SubNow + ".gif\">");
}

// ¸Þ´º¿¡ µû¸¥ ÀÌ¹ÌÁö Ãâ·Â Ãß°¡ (2007³â 10¿ù 9ÀÏ ±èµ¿±Õ)
function SetImage(Idx) {
	var menu = Menu[Idx];

	document.write("<img src=\"/eng/images/" + menu[0][1] + "_vizual01.gif\">");
}

// Å¸ÀÌÆ² Ãâ·Â
function SetTitle(Idx, Now, SubNow) {
	var menu = Menu[Idx];

	for (var i = 1; i < menu.length; i++) {
		if (menu[i][0] == Now) {
			if (menu[i][3] != null && SubNow !="") {
				var subMenu = eval(menu[i][3]);

				document.write("\n"
							+ "HOME > "
							+ ((menu[0][2] == "") ? "" : menu[0][2] + " > ")
							+ "" + menu[i][2] + " > \n");

				for (var j = 0; j < subMenu.length; j++){
					if (subMenu[j][0] == SubNow) {
						document.write("\n" + subMenu[j][2] + "");
					}
				}
			} else {
				document.write("\n"
							+ "HOME > "
							+ ((menu[0][2] == "") ? "" : menu[0][2] + " > ")
							+ "" + menu[i][2] + "\n"
							+ "");
			}
		}
	}
}

// ·Î±×¾Æ¿ô ¸µÅ©
function GoLogOut() {
    var cfm = confirm("·Î±×¾Æ¿ôÇÏ½Ã°Ú½À´Ï±î?");

    if (cfm == true) {
        document.location.replace("/member/logout.asp");
    }
}

//ÇÃ·¡½¬ ¸µÅ©
// flashWrite(ÆÄÀÏ°æ·Î, °¡·Î, ¼¼·Î, ¾ÆÀÌµð, ¹è°æ»ö, À©µµ¿ì¸ðµå)
function flashWrite(url,w,h,id,bg,win,scale,salign){ 

 // ÇÃ·¡½Ã ÄÚµå Á¤ÀÇ
var flashStr=
"<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width='"+w+"' height='"+h+"' id='"+id+"' align='middle'>"+
"<param name='movie' value='"+url+"' />"+
"<param name='wmode' value='"+win+"'>"+
"<param name='menu' value='false'>"+
"<param name='quality' value='high'>"+
"<param name='bgcolor' value='"+bg+"' />"+
"<param name='scale' value='"+scale+"'>"+
"<param name='salign' value='"+salign+"'>"+
"<param name='allowScriptAccess' value='always'>"+
"<embed src='"+url+"' width='"+w+"' height='"+h+"' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></embed>"+
"</object>";
 
 // ÇÃ·¡½Ã ÄÚµå Ãâ·Â
 document.write(flashStr);
 
}

function Link(num){
	switch (num)
	{

		/*************** È¸»ç¼Ò°³ ***************/
		case 10: document.location.href="/eng/Company/Company_intro01.asp";					// ÀÎ»ç¸» > ÀÌÈ¸¼ö ´ëÇ¥ÀÌ»ç
			break;
		case 11: document.location.href="/eng/Company/Company_intro01.asp";					// ÀÎ»ç¸» >  ÀÌÈ¸¼ö ´ëÇ¥ÀÌ»ç
			break;
		case 111: document.location.href="/eng/Company/Company_intro01.asp";				// ÀÎ»ç¸» > ÀÌÈ¸¼ö ´ëÇ¥ÀÌ»ç
			break;
		case 112: document.location.href="/eng/Company/Company_intro02.asp";				// ±è¼ºÈ£ ceo
			break;
		case 12: document.location.href="/eng/Company/Company_history.asp";					// ¿¬Çõ
			break;
		case 13: document.location.href="/eng/Company/Company_system.asp";					// Á¶Á÷µµ
			break;
		case 14: document.location.href="/eng/Company/Company_vision.asp";					// CI & ºñÁ¯
			break;
		case 15: document.location.href="/eng/Company/Company_map.asp";						// ¾àµµ
			break;
		/*************** »ç¾÷¿µ¿ª ***************/
		case 20: document.location.href="/eng/Business/Business_Paper_intro.asp";			// ÆäÀÌÆÛ »ç¾÷ > »ç¾÷¼Ò°³
			break;
		case 21: document.location.href="/eng/Business/Business_Paper_intro.asp";			// ÆäÀÌÆÛ »ç¾÷ > »ç¾÷¼Ò°³
			break;
		case 211: document.location.href="/eng/Business/Business_Paper_intro.asp";			// ÆäÀÌÆÛ »ç¾÷ > »ç¾÷¼Ò°³
			break;
		case 212: document.location.href="/eng/Business/Business_Paper_ink.asp";			// ÆäÀÌÆÛ »ç¾÷ > À×Å©Á¬/·¹ÀÌÀúÀü¿ëÁö
			break;
		case 213: document.location.href="/eng/Business/Business_Paper_laser.asp";			// ÆäÀÌÆÛ »ç¾÷ > Å»ºÎÂøÀ×Å©Á¬ ·¹ÀÌÀú Àü¿ëÁö
			break;
		case 214: document.location.href="/eng/Business/Business_Paper_photo.asp";			// ÆäÀÌÆÛ »ç¾÷ > »çÁø ÀÎÈ­Áö
			break;
		case 215: document.location.href="/eng/Business/Business_Paper_copy.asp";			// ÆäÀÌÆÛ »ç¾÷ > º¹»ç¿ëÁö
			break;
		case 216: document.location.href="/eng/Business/Business_Paper_label.asp";			// ÆäÀÌÆÛ »ç¾÷ > ¶óº§ Á¦Ç°
			break;
		case 217: document.location.href="/eng/Business/Business_Paper_3f.asp";				// ÆäÀÌÆÛ »ç¾÷ > 3F ¾ç¸éÅ×ÀÌÇÁ
			break;


		case 22: document.location.href="/eng/Business/Business_Gls_intro.asp";				// Gls > »ç¾÷¼Ò°³
			break;
		case 221: document.location.href="/eng/Business/Business_Gls_intro.asp";			// Gls > »ç¾÷¼Ò°³
			break;
		case 222: document.location.href="/eng/Business/Business_Gls_product01.asp";		// Gls > Á¦Ç°Á¦Ç°1
			break;
		case 223: document.location.href="/eng/Business/Business_Gls_product02.asp";		// Gls > Á¦Ç°Á¦Ç°2
			break;
		case 224: document.location.href="/eng/Business/Business_Gls_product03.asp";		// Gls > Á¦Ç°Á¦Ç°3
			break;
		case 225: document.location.href="/eng/Business/Business_Gls_product04.asp";		// Gls > Á¦Ç°Á¦Ç°3
			break;

		case 23: document.location.href="/eng/Business/Business_eng_intro.asp";				// À©À© µÎ¼ÕÀÌ¿£Áö > »ç¾÷¼Ò°³
			break;
		case 231: document.location.href="/eng/Business/Business_eng_intro.asp";			// À©À© µÎ¼ÕÀÌ¿£Áö > »ç¾÷¼Ò°³
			break;
		case 232: document.location.href="/eng/Business/Business_eng_product01.asp";		// À©À© µÎ¼ÕÀÌ¿£Áö > Á¦Ç°Á¦Ç°1
			break;
		case 233: document.location.href="/eng/Business/Business_eng_product02.asp";		// À©À© µÎ¼ÕÀÌ¿£Áö > Á¦Ç°Á¦Ç°2
			break;
		case 234: document.location.href="/eng/Business/Business_eng_product03.asp";		// À©À© µÎ¼ÕÀÌ¿£Áö > Á¦Ç°Á¦Ç°3
			break;
		case 235: document.location.href="/eng/Business/Business_eng_product04.asp";		// À©À© µÎ¼ÕÀÌ¿£Áö > Á¦Ç°Á¦Ç°4
			break;
		case 236: document.location.href="/eng/Business/Business_eng_product05.asp";		// À©À© µÎ¼ÕÀÌ¿£Áö > Á¦Ç°Á¦Ç°5
			break;

		case 24: document.location.href="/eng/Business/WinwinFactory.asp";					// °øÀå > À©À©°øÀå
			break;
		case 241: document.location.href="/eng/Business/WinwinFactory.asp";					// °øÀå > À©À©°øÀå
			break;
		case 242: document.location.href="/eng/Business/GlsFactory.asp";					// °øÀå > GLS°øÀå
			break;
		case 243: document.location.href="/eng/Business/DoosonFactory.asp";					// °øÀå > µÎ¼Õ°øÀå
			break;
		/*************** PR***************/
		case 30: document.location.href="/eng/_Board/Index.asp?s=News";						// ´º½º
			break;
		case 31: document.location.href="/eng/_Board/Index.asp?s=News";						// ´º½º
			break;

				/*************** ±âÅ¸***************/
		case 40: document.location.href="/eng/Etc/SiteMap.asp";								// »çÀÌÆ®¸Ê
			break;
		case 41: document.location.href="/eng/Etc/SiteMap.asp";								// »çÀÌÆ®¸Ê
			break;
		

	}
}
function MainRoll_Link (num){
	switch (num)
	{
		case 1: document.location.href="/eng/";										// »çÀÌÆ®¸Ê
			break;
		case 2: document.location.href="/eng/";										// »çÀÌÆ®¸Ê
			break;
		case 3: document.location.href="/eng/";										// »çÀÌÆ®¸Ê
			break;
		}
}

function MainBanner_Link(num){
	switch (num)
	{
		case 1: document.location.href="/eng/Company/Company_map.asp";				// »çÀÌÆ®¸Ê
			break;
		case 2: document.location.href="/eng/_Board/Index.asp?s=News";	// »çÀÌÆ®¸Ê
			break;
		case 3: document.location.href="/eng/Business/Business_Paper_intro.asp";										// »çÀÌÆ®¸Ê
			break;
		}
}
//-->