// JavaScript Document
function sitelink(code) {
        var LinkCode = code
                // È¨
        if (LinkCode == "home") {
                document.location.href = "/"

// Left ===========================================================================================
		//È¸»ç¼Ò°³
        } else if (LinkCode == "company01") { 
                document.location.href = "/html/company/intro.asp"

		//¸ÞÀÎÇÃ·¡½Ã
                // main01
        } else if (LinkCode == "main01") {
                document.location.href = "/Html/ProView/proList.asp?cateNo=108&sortLev=2&groupNo1=82&groupNo2=108&groupNo3=0"
                // main02
        } else if (LinkCode == "main02") {
                document.location.href = "/Html/ProView/proList.asp?cateNo=138&sortLev=1&groupNo1=138&groupNo2=0&groupNo3=0"
                // main03
        } else if (LinkCode == "main03") {
                document.location.href = "/Html/ProView/proList.asp?cateNo=137&sortLev=1&groupNo1=137&groupNo2=0&groupNo3=0"
                // main04
        } else if (LinkCode == "main04") {
                document.location.href = "/Html/ProView/proList.asp?cateNo=79&sortLev=1&groupNo1=79&groupNo2=0&groupNo3=0"
                // main05
        } else if (LinkCode == "main05") {
                document.location.href = "/Html/ProView/proList.asp?cateNo=118&sortLev=2&groupNo1=79&groupNo2=118&groupNo3=0"

		//·Î°í/¿ø´Ü/»çÀÌÁî
                // ¼ÒÀç/°¡°ø¹æ¹ý
        } else if (LinkCode == "guide01") {
                document.location.href = "/html/guide/guide01.asp"
                // ³ª¿°/ÀÚ¼ö
        } else if (LinkCode == "guide02") {
                document.location.href = "/html/guide/guide02.asp"
                // ·Î°íÀ§Ä¡/°¡°Ý
        } else if (LinkCode == "guide03") {
                document.location.href = "/html/guide/guide03.asp"
                // »çÀÌÁî¾È³»
        } else if (LinkCode == "guide04") {
                document.location.href = "/html/guide/guide04.asp"

		//ÀÌ¿ë¾È³»
                // È¸¿ø°¡ÀÔ¾È³»
        } else if (LinkCode == "info01") {
                document.location.href = "/Html/company/guide.asp"
                // ÁÖ¹®¾È³»
        } else if (LinkCode == "info02") {
                document.location.href = "/Html/company/guide.asp#info02"
                // °áÁ¦¾È³»
        } else if (LinkCode == "info03") {
                document.location.href = "/Html/company/guide.asp#info03"
                // ¹è¼Û¾È³»
        } else if (LinkCode == "info04") {
                document.location.href = "/Html/company/guide.asp#info04"
                // ±³È¯/¹ÝÇ°¾È³»
        } else if (LinkCode == "info05") {
                document.location.href = "/Html/company/guide.asp#info05"
                // ±âÅ¸¾È³»
        } else if (LinkCode == "info06") {
                document.location.href = "/Html/company/guide.asp#info06"

		//³³Ç°»ç·Ê
        } else if (LinkCode == "gallery") {
                document.location.href = "/html/gallery/defaultAll.asp"
                // ÇÐ±³
        } else if (LinkCode == "gallery01") {
                document.location.href = "/html/gallery/default.asp?checkT=gallery01"
                // ÀÏ¹ÝÈ¸»ç
        } else if (LinkCode == "gallery02") {
                document.location.href = "/html/gallery/default.asp?checkT=gallery02"
                // µ¿È£È¸,µ¿¾Æ¸®
        } else if (LinkCode == "gallery03") {
                document.location.href = "/html/gallery/default.asp?checkT=gallery03"
                // Á¾±³±â°ü
        } else if (LinkCode == "gallery04") {
                document.location.href = "/html/gallery/default.asp?checkT=gallery04"
                // ±âÅ¸
        } else if (LinkCode == "gallery05") {
                document.location.href = "/html/gallery/default.asp?checkT=gallery05"

		//ÁÖ¹®¼­ÀÛ¼º
                // ºü¸¥ÁÖ¹®¿äÃ»
        } else if (LinkCode == "order01") {
                document.location.href = "/html/order/order_list.asp"
                // FAXÁÖ¹®¼­
        } else if (LinkCode == "order02") {
                javascript:window.open('/html/order/pop_fax.asp','','width=100,height=100,top=50,left=50,scrollbars=yes,resizable=no');
                // °í°´ÆÄÀÏÃ·ºÎ¹æ
        } else if (LinkCode == "order03") {
                document.location.href = "/html/order/default.asp?checkT=order03"
                // ·Î°í½Ã¾Èº¸±â
        } else if (LinkCode == "order04") {
                document.location.href = "/html/order/confirm_list.asp"

		//°í°´¼¾ÅÍ
                // °øÁö&ÀÌº¥Æ®
        } else if (LinkCode == "customer01") {
                document.location.href = "/Html/Board/board.asp?id=kongi"
                // ¹¯°í´äÇÏ±â
        } else if (LinkCode == "customer02") {
                document.location.href = "/html/Board/board.asp?id=qna"
                // ÀÔ±ÝÈ®ÀÎ¿äÃ»
        } else if (LinkCode == "customer03") {
                document.location.href = "/html/Board/board.asp?id=bank"
		        // °¶·¯¸®
        } else if (LinkCode == "customer04") {
                document.location.href = "/html/Board/board.asp?id=gallery"
		        // Á¤º¸°Ô½ÃÆÇ
        } else if (LinkCode == "customer05") {
                document.location.href = "/html/Board/board.asp?id=info"

		//Ä¿¹Â´ÏÆ¼
                // ÀÌ¿ëÈÄ±â°¶·¯¸®
        } else if (LinkCode == "community01") {
                document.location.href = "/Html/Board/Default02.asp?checkT=62"
                // º£½ºÆ®½Ã¾È°¶·¯¸®
        } else if (LinkCode == "community02") {
                document.location.href = "/Html/Board/Default02.asp?checkT=63"
		}
}

//ÇÃ·¡½Ã
function ShowFlash(obj,strMediaURL,obj_width,obj_height)  {
	var sTag = ''
		+ '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="' + obj_width + '" height="' + obj_height + '">'
		+ '<param name="movie" value="' + strMediaURL + '">'
		+ '<param name="quality" value="best">'
		+ '<param name="WMode" value="Transparent">'
		+ '<embed src="' + strMediaURL + '" quality="best" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + obj_width + '" height="' + obj_height + '"></embed>'
		+ '</object>'
		+ '';
	document.write (sTag);
}

//onfocus='blur();' ¸¦ ÇÑ¹ø¿¡
function bluring(){
	if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
	}
	document.onfocusin=bluring;