/** ½º¸¶Æ®Æù Á¢¼Ó½Ã ÀÌµ¿ ÄÚµå 2011.11.04 **/
var mobileKeyWords = new Array('iPhone', 'iPod', 'BlackBerry', 'Android', 'Windows CE', 'LG', 'MOT', 'SAMSUNG', 'SonyEricsson');

for (var word in mobileKeyWords){
    if (navigator.userAgent.match(mobileKeyWords[word]) != null){
        location.href = "http://m.leeseunghan.pe.kr";         // ÀÌµ¿ÇÒ °æ·Î ÁÖ¼Ò
        break;
    }
}
/** ½º¸¶Æ®Æù Á¢¼Ó½Ã ÀÌµ¿ ÄÚµå 2011.11.04 **/


//
function EmbededFlash(sourceUrl,objWidth,objHeight){
	document.write("<OBJECT codeBase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0'");
	document.write("height='"+objHeight+"' width='"+objWidth+"' align='middle' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'>");
	document.write("<PARAM NAME='FlashVars' VALUE=''>");
	document.write("<PARAM NAME='Movie' VALUE='"+sourceUrl+"'>");
	document.write("<PARAM NAME='Src' VALUE='"+sourceUrl+"'>");
	document.write("<PARAM NAME='WMode' VALUE='Transparent'>");
	document.write("<PARAM NAME='Play' VALUE='-1'>");
	document.write("<PARAM NAME='Loop' VALUE='-1'>");
	document.write("<PARAM NAME='Quality' VALUE='High'>");
	document.write("<PARAM NAME='SAlign' VALUE=''>");
	document.write("<PARAM NAME='Menu' VALUE='-1'>");
	document.write("<PARAM NAME='Base' VALUE=''>");
	document.write("<PARAM NAME='AllowScriptAccess' VALUE='sameDomain'>");
	document.write("<PARAM NAME='Scale' VALUE='ShowAll'>");
	document.write("<PARAM NAME='DeviceFont' VALUE='0'>");
	document.write("<PARAM NAME='EmbedMovie' VALUE='0'>");
	document.write("<PARAM NAME='BGColor' VALUE=''>");
	document.write("<PARAM NAME='SWRemote' VALUE=''>");
	document.write("<PARAM NAME='MovieData' VALUE=''>");
	document.write("<PARAM NAME='SeamlessTabbing' VALUE='1'>");
	document.write("<PARAM NAME='Profile' VALUE='0'>");
	document.write("<PARAM NAME='ProfileAddress' VALUE=''>");
	document.write("<PARAM NAME='ProfilePort' VALUE='0'>");
	document.write("<embed src='"+sourceUrl+"' quality='high' WMode='Transparent' width='"+objWidth+"' height='"+objHeight+"' align='middle' allowScriptAccess='sameDomain'");
	document.write("type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'>");
	document.write("</OBJECT>");
}

function goHome()
{
		document.location = '/index.asp';
}

// Personal Gallery
function go1(chk)
{
		if (chk==0) {
			document.location = '../personal/keyword.aspx'; // ¸ÞÀÎ
		} else if (chk==1) {
			document.location = '../personal/keyword.aspx'; // Personal Identity
		} else if (chk==11) {
			document.location = '../personal/keyword.aspx'; // ³ª¸¦ ¸»ÇÏ´Â Å°¿öµå
		} else if (chk==12) {
			document.location = '../personal/hobby.aspx'; // Ãë¹Ì¿Í ¿©°¡È°µ¿
		} else if (chk==13) {
			document.location = '../personal/escapade.aspx'; // ³ªÀÇ ¾û¶×ÇÑ ¸ð½À
		} else if (chk==2) {
			document.location = '../personal/steering_wheel.aspx'; // Steering Wheel
		} else if (chk==3) {
			document.location = '../personal/family.aspx'; // ³ªÀÇ »ç¶û ³ªÀÇ °¡Á·
		} else if (chk==31) {
			document.location = '../personal/family.aspx'; // ²ÞÀïÀÌ °¡Á·
		} else if (chk==32) {
			document.location = '../personal/family02.aspx'; // ³ªÀÇ °¡Á· ¼Ò°³
		} else if (chk==33) {
			document.location = '../personal/family_treasure.aspx'; // °¡Á·ÀÇ 3°¡Áö º¸¹°
		} else if (chk==35) {
			document.location = '../personal/letter.aspx'; // °¡Á· ÆíÁö
		} else if (chk==36) {
			document.location = '../personal/book.aspx'; // °¡Á¤ÀÇ Ã¥
		} else if (chk==4) {
			document.location = '../personal/profile.aspx'; // HS' Story
		} else if (chk==41) {
			document.location = '../personal/profile.aspx'; // ÇÁ·ÎÇÊ
		} else if (chk==42) {
			document.location = '../personal/history.aspx'; // ¿¬´ë±â
		} else if (chk==5) {
			document.location = '../personal/people_review.aspx'; // ÁöÀÎµéÀÌ º¸´Â ³ªÀÇº¸½¿
		}
}

// Management GAllery

function go2(chk)
{
		if (chk==0) {
			document.location = '../management/co_summary.aspx'; // ¸ÞÀÎ
		} else if (chk==1) {
			document.location = '../management/co_summary.aspx'; // »ï¼ºÅ×½ºÄÚ´Â - °³¿ä
		} else if (chk==12) {
			document.location = '../management/co_summary.aspx'; // »ï¼ºÅ×½ºÄÚ´Â - °³¿ä	
		} else if (chk==13) {
			document.location = '../management/co_history.aspx'; // »ï¼ºÅ×½ºÄÚ´Â - ¿¬Çõ
		} else if (chk==14) {
			document.location = '../management/co_shop.aspx'; // »ï¼ºÅ×½ºÄÚ´Â - Á¡Æ÷ÇöÈ²
		} else if (chk==15) {
			document.location = '../management/co_result.aspx'; // »ï¼ºÅ×½ºÄÚ´Â - °æ¿µ¼º°ú	
		} else if (chk==16) {
			document.location = '../management/co_prize.aspx'; // »ï¼ºÅ×½ºÄÚ´Â - ¿ÜºÎÆò°¡
		} else if (chk==17) {
			document.location = '../management/co_guinness.aspx'; // »ï¼ºÅ×½ºÄÚ´Â - È¨ÇÃ·¯½º Áø±â·Ï		
		} else if (chk==2) {
			document.location = '../management/vh_vision.aspx'; // VISION HOUSE °æ¿µÃ¼°è
		} else if (chk==21) {
			document.location = '../management/vh_vision.aspx'; // VISION HOUSE °æ¿µÃ¼°è - ºñÀü
		} else if (chk==22) {
			document.location = '../management/vh_business.aspx'; // VISION HOUSE °æ¿µÃ¼°è - »ç¾÷±º
		} else if (chk==23) {
			document.location = '../management/vh_manage.aspx'; // VISION HOUSE °æ¿µÃ¼°è - °æ¿µÀü·«
		} else if (chk==24) {
			document.location = '../management/vh_target.aspx'; // VISION HOUSE °æ¿µÃ¼°è - ¸ñÇ¥°ü¸®
		} else if (chk==25) {
			document.location = '../management/vh_policy.aspx'; // VISION HOUSE °æ¿µÃ¼°è - °æ¿µ¹æÄ§
		} else if (chk==26) {
			document.location = '../management/vh_rule.aspx'; // VISION HOUSE °æ¿µÃ¼°è - °æ¿µ¿øÄ¢
		} else if (chk==27) {
			document.location = '../management/vh_culture.aspx'; // VISION HOUSE °æ¿µÃ¼°è - ±â¾÷¹®È­
		} else if (chk==28) {
			document.location = '../management/vh_value.aspx'; // VISION HOUSE °æ¿µÃ¼°è - ÇÙ½É°¡Ä¡
		} else if (chk==3) {
			document.location = '../management/art_art.aspx'; // °æ¿µµµ ¿¹¼úÃ³·³
		} else if (chk==31) {
			document.location = '../management/art_art.aspx'; // °æ¿µµµ ¿¹¼úÃ³·³ - ¿¹¼ú°æ¿µ
		} else if (chk==32) {
			document.location = '../management/art_screen.aspx'; // °æ¿µµµ ¿¹¼úÃ³·³ - º´Ç³°æ¿µ
		} else if (chk==33) {
			document.location = '../management/art_value.aspx'; // °æ¿µµµ ¿¹¼úÃ³·³ - °¡Ä¡°æ¿µ
		} else if (chk==34) {
			document.location = '../management/art_10.aspx'; // °æ¿µµµ ¿¹¼úÃ³·³ - È¨ÇÃ·¯½º 10°è¸í
		} else if (chk==4) {
			document.location = '../management/hexa_index.aspx'; // ÇÙ»ç°ï °æ¿µ
		} else if (chk==41) {
			document.location = '../management/hexa_create.aspx'; // ÇÙ»ç°ï °æ¿µ - Ã¢Á¶
		} else if (chk==42) {
			document.location = '../management/hexa_different.aspx'; // ÇÙ»ç°ï °æ¿µ - Â÷º°È­
		} else if (chk==43) {
			document.location = '../management/hexa_reform.aspx'; // ÇÙ»ç°ï °æ¿µ - Çõ½Å
		} else if (chk==44) {
			document.location = '../management/hexa_ability.aspx'; // ÇÙ»ç°ï °æ¿µ - ¿ª·®
		} else if (chk==45) {
			document.location = '../management/hexa_cooperate.aspx'; // ÇÙ»ç°ï °æ¿µ - Çù·Â
		} else if (chk==46) {
			document.location = '../management/hexa_contribute.aspx'; // ÇÙ»ç°ï °æ¿µ - °øÇå
		} else if (chk==5) {
			document.location = '../management/behindstory01.aspx'; // BEHIND STORY
		} else if (chk==51) {
			document.location = '../management/behindstory01.aspx'; // BEHIND STORY - ÇÕÀÛ½ºÅä¸®
		} else if (chk==52) {
			document.location = '../management/behindstory02.aspx'; // BEHIND STORY - °æ¿µÈ°µ¿ ÀÏÈ­
		}
}

// Art Gallery
function go5(chk)
{
		if (chk==0) {
			document.location = '../art/nationland.aspx'; // ¸ÞÀÎ
		} else if (chk==1) {
			document.location = '../art/nationland.aspx'; // À§´ëÇÑ ±¹°¡ÀÇ ²Þ
		} else if (chk==11) {
			document.location = '../art/nationland.aspx'; // À§´ëÇÑ ±¹°¡ÀÇ ²Þ - ±¹ÅäÀÇ È¿À²ÀûÀÎ °³¹ß	
		} else if (chk==12) {
			document.location = '../art/power.aspx'; // À§´ëÇÑ ±¹°¡ÀÇ ²Þ - ±¹°¡°æÀï·Â Á¦°í¸¦ À§ÇÑ Á¦¾È
		} else if (chk==13) {
			document.location = '../art/worldfirst.aspx'; //  À§´ëÇÑ ±¹°¡ÀÇ ²Þ - ¼¼°èÀÏ·ù°¡ µÇ±â À§ÇÑ ³ë·Â
		} else if (chk==2) {
			document.location = '../art/jongnotower.aspx'; // ¾Æ¸§´Ù¿î µµ½Ã°³¹ßÀÇ ²Þ
		} else if (chk==21) {
			document.location = '../art/jongnotower.aspx'; // ¾Æ¸§´Ù¿î µµ½Ã°³¹ßÀÇ ²Þ - Á¾·ÎÅ¸¿ö
		} else if (chk==22) {
			document.location = '../art/towerpalace.aspx'; // ¾Æ¸§´Ù¿î µµ½Ã°³¹ßÀÇ ²Þ - µµ°îµ¿
		} else if (chk==24) {
			document.location = '../art/geoness_city.aspx'; // ¾Æ¸§´Ù¿î µµ½Ã°³¹ßÀÇ ²Þ - ÁöÇÏµµ½Ã
		} else if (chk==25) {
			document.location = '../art/ENC.aspx'; // ¾Æ¸§´Ù¿î µµ½Ã°³¹ßÀÇ ²Þ - CC
		} else if (chk==26) {
			document.location = '../art/identity.aspx'; // ¾Æ¸§´Ù¿î µµ½Ã°³¹ßÀÇ ²Þ - »ï¼ºÅ×½ºÄÚ
		} else if (chk==3) {
			document.location = '../art/hanamdong.aspx'; // ¹®È­¿Í ¿¹¼ú º¹ÁöÀÇ ¼±ÅÃ 	
		} else if (chk==31) {
			document.location = '../art/hanamdong.aspx'; // ¹®È­¿Í ¿¹¼ú º¹ÁöÀÇ ¼±ÅÃ - ÇÑ³²µ¿À» ¼¼°èÀûÀÎ ¹Ì¼ú°üÀ¸·Î			
		} else if (chk==33) {
			document.location = '../art/renovation.aspx'; // ¹®È­¿Í ¿¹¼ú º¹ÁöÀÇ ¼±ÅÃ - »ï¼ºº»°ü
		}
}

// Photo Gallery

function go3(chk)
{
		if (chk==0) {
			document.location = '../photo/'; // ¸ÞÀÎ
		} else if (chk==1) {
			document.location = '../photo/'; // È¨ÇÃ·¯½º¿Í ÇÔ²²
		} else if (chk==2) {
			document.location = '../photo/index.aspx?cid=2'; // ´ë¿ÜÈ°µ¿ ¼Ó¿¡¼­
		} else if (chk==3) {
			document.location = '../photo/index.aspx?cid=3'; //  °¡Á·µé°ú ÇÔ²²
		} else if (chk==4) {
			document.location = '../photo/index.aspx?cid=4'; // »çÁøÀ¸·Î º¸´Â ÀÎ»õ
		}
}


// SH Manazine
function go4(chk)
{
		if (chk==0) {
			document.location = '../magazine/'; // ¸ÞÀÎ
		} else if (chk==1) {
			document.location = '../magazine/'; // CEO ¿¡¼¼ÀÌ
		} else if (chk==2) {
			document.location = '../magazine/index.aspx?cid=2'; //  ¾ð·Ð¿¡¼­ º» CEO
		} else if (chk==3) {
			document.location = '../magazine/index.aspx?cid=3'; // CEO Ã¥²ÈÀÌ
		} else if (chk==4) {
			document.location = '../magazine/dictionary.aspx?cid=4'; // CEO Dictionary
		}
}

// Lounge
function go6(chk)
{
		if (chk==0) {
			document.location = '../lounge/main.aspx'; // ¸ÞÀÎ
		} else if (chk==1) {
			document.location = '../lounge/coffee.aspx'; // Coffee
		} else if (chk==2) {
			document.location = '../lounge/tea.aspx'; //  Tea
		} else if (chk==3) {
			document.location = '../lounge/wine.aspx'; // Wine
		} else if (chk==4) {
			document.location = '../lounge/toCEO.aspx';
		}
}


 
