// JavaScript Document
function sitelink(code) {
        var LinkCode = code
                // È¨
        if (LinkCode == "home") {
                document.location.href = "/"

// Left ===========================================================================================
		//È¸»ç¼Ò°³
                // ÀÎ»ç¸»
        } else if (LinkCode == "company01") { 
                document.location.href = "/html/company/company01.asp"
                // Ã£¾Æ¿À½Ã´Â±æ
        } else if (LinkCode == "company02") {
                document.location.href = "/html/company/company02.asp"
		//Á¦Ç°¼Ò°³
             // ÆÄ·¿Æ®
				 // ÇÚµåÄ«¿ë
        } else if (LinkCode == "product01") {
                document.location.href = "/html/product/product01.asp"
				 // Áö°ÔÂ÷¿ë
        } else if (LinkCode == "product02") {
                document.location.href = "/html/product/product02.asp"
				 // ¼öÃâ ¹× ÀÏÈ¸¿ë
        } else if (LinkCode == "product03") {
                document.location.href = "/html/product/product03.asp"
				 // ´Ü¸éÇü
        } else if (LinkCode == "product04") {
                document.location.href = "/html/product/product04.asp"
             // ÇÁ¶ó½ºÆ½¹Ú½º
                // ¿î¹Ý¹Ú½º
        } else if (LinkCode == "product05") {
                document.location.href = "/html/product/product05.asp"
                // °ø±¸ºÎÇ°¹Ú½º
        } else if (LinkCode == "product06") {
                document.location.href = "/html/product/product06.asp"
                // ÀÚµ¿Â÷ºÎÇ°¹Ú½º
        } else if (LinkCode == "product07") {
                document.location.href = "/html/product/product07.asp"
                // ½ÄÇ°¹Ú½º
        } else if (LinkCode == "product08") {
                document.location.href = "/html/product/product08.asp"
                // Á¡º¸¹Ú½º
        } else if (LinkCode == "product09") {
                document.location.href = "/html/product/product09.asp"
            // ´ÜÇÁ¶ó¹Ú½º
				// ´ÜÇÁ¶ó½ÃÆ®
        } else if (LinkCode == "product10") {
                document.location.href = "/html/product/product10.asp"
				// P.PÇÁ¶ó½ºÆ½ÆÇ³Ú
        } else if (LinkCode == "product11") {
                document.location.href = "/html/product/product11.asp"
                // ÆÄ¶ó¼Ö/ÀÇÀÚ
        } else if (LinkCode == "product12") {
                document.location.href = "/html/product/product12.asp"
                // È¯°æÁ¦Ç°
        } else if (LinkCode == "product13") {
                document.location.href = "/html/product/product13.asp"
		//¿Â¶óÀÎ±¸¸Å»ó´ã
                // ¿Â¶óÀÎ±¸¸Å»ó´ã
        } else if (LinkCode == "online01") {
                document.location.href = "/html/online/default.asp?checkT=online01"
		//°øÁö»çÇ×
                // °øÁö»çÇ×
        } else if (LinkCode == "board01") {
                document.location.href = "/html/board/default.asp?checkT=kongi"
		}
}

//ÇÃ·¡½Ã
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;


function openwin1(theURL){
window.open(theURL,"01","toolbar=no,location=no,status=no,munubar=no,scrollbars=no,resizable=no,width=380,height=540");
}


function openwin2(theURL){
window.open(theURL,"01","toolbar=no,location=no,status=no,munubar=no,scrollbars=no,resizable=no,width=720,height=290");
}


function openwin3(theURL){
window.open(theURL,"01","toolbar=no,location=no,status=no,munubar=no,scrollbars=no,resizable=no,width=720,height=530");
}


function openwin4(theURL){
window.open(theURL,"01","toolbar=no,location=no,status=no,munubar=no,scrollbars=no,resizable=no,width=390,height=440");
}


function openwin5(theURL){
window.open(theURL,"01","toolbar=no,location=no,status=no,munubar=no,scrollbars=no,resizable=no,width=310,height=440");
}


function openwin6(theURL){
window.open(theURL,"01","toolbar=no,location=no,status=no,munubar=no,scrollbars=no,resizable=no,width=510,height=250");
}

function openwin7(theURL){
window.open(theURL,"01","toolbar=no,location=no,status=no,munubar=no,scrollbars=no,resizable=no,width=511,height=250");
}


function openwin8(theURL){
window.open(theURL,"01","toolbar=no,location=no,status=no,munubar=no,scrollbars=no,resizable=no,width=280,height=365");
}


function openwin9(theURL){
window.open(theURL,"01","toolbar=no,location=no,status=no,munubar=no,scrollbars=no,resizable=no,width=500,height=410");
}

function openwin10(theURL){
window.open(theURL,"01","toolbar=no,location=no,status=no,munubar=no,scrollbars=no,resizable=no,width=400,height=250");
}
