/************************ »ó´Ü¸Þ´º¸µÅ© ****************************/

//HOME
function home(){window.location.href="/index.html"}

//Inquiry
function inquiry(){window.open('http://www.gobizkorea.com/popup/newhm_pop_inquiry_eng.jsp?co_code=2006-00234&co_lang=2')}

//°íºñÁî»çÀÌÆ®
function gobiz(){window.open('http://gobizkorea.com')}

//»ó´ÜÀ¸·Î°¡±â
function top(){window.location.href="#top"}

/********************** È¸»ç¼Ò°³ ***************************/
// menu01 : ´ë¸Þ´º
// menu01_01 : ¸Þ´º1
// menu01_02 : ¸Þ´º2
// menu01_03 : ¸Þ´º3
// menu01_04 : ¸Þ´º4
function menu01(){window.location.href="/sub01_01.html"}
function menu01_01(){window.location.href="/sub01_01.html"}

/********************** Á¦Ç°¼Ò°³ ***************************/
// menu02 : ´ë¸Þ´º
// menu02_01 : ¸Þ´º1
// menu02_02 : ¸Þ´º2
// menu02_03 : ¸Þ´º3
// menu02_04 : ¸Þ´º4
// menu02_05 : ¸Þ´º5
function menu02(){window.location.href="/sub02_0101.html"}
function menu02_01(){window.location.href="/sub02_0101.html"}
function menu02_0101(){window.location.href="/sub02_0101.html"}
function menu02_0102(){window.location.href="/sub02_0102.html"}
function menu02_0103(){window.location.href="/sub02_0103.html"}
function menu02_0104(){window.location.href="/sub02_0104.html"}
function menu02_0105(){window.location.href="/sub02_0105.html"}
function menu02_0106(){window.location.href="/sub02_0106.html"}
function menu02_0107(){window.location.href="/sub02_0107.html"}
function menu02_0107a(){window.location.href="/sub02_0107a.html"}
function menu02_02(){window.location.href="/sub02_0201.html"}
function menu02_0201(){window.location.href="/sub02_0201.html"}
function menu02_0202(){window.location.href="/sub02_0202.html"}
function menu02_0203(){window.location.href="/sub02_0203.html"}
function menu02_0204(){window.location.href="/sub02_0204.html"}
function menu02_0205(){window.location.href="/sub02_0205.html"}
function menu02_0206(){window.location.href="/sub02_0206.html"}
function menu02_03(){window.location.href="/sub02_0301.html"}
function menu02_0301(){window.location.href="/sub02_0301.html"}
function menu02_0302(){window.location.href="/sub02_0302.html"}

/********************** Contact us ***************************/
// menu03 : ´ë¸Þ´º
// menu03_01 : ¸Þ´º1
function menu03(){window.location.href="mailto:okf@okf.kr?bcc=webmaster@smipc.or.kr"}
function menu03_01(){window.location.href="mailto:okf@okf.kr?bcc=webmaster@smipc.or.kr"}

/********************** News ***************************/
// menu04 : ´ë¸Þ´º
function menu04(){window.location.href="http://okfcorp.co.kr/fsbClient/ezboard.jsp?bm_seq=7459"}
function menu04_01(){window.location.href="http://okfcorp.co.kr/fsbClient/ezboard.jsp?bm_seq=7459"}


//---- flash view -----//
function ShowFlash(url, width, height){
  document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="' + width + '" height="' + height + '" VIEWASTEXT>');
  document.write('<param name="allowScriptAccess" value="always">');
  document.write('<param name="movie" value="' + url + '">');
  document.write('<param name="quality" value="high">');
  document.write('<param name="menu" value="false">');
  document.write('<PARAM NAME=wmode VALUE=transparent>');
  document.write('<embed src="' + url + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" allowScriptAccess="always" type="application/x-shockwave-flash" width="' + width + '" height="' + height + '"></embed>');
  document.write('</object>');
}








//POPUP
<!--

    var imgObj = new Image();

    function showImgWin(imgName) {
    imgObj.src = imgName;
    setTimeout("createImgWin(imgObj)", 100);
    }

    function createImgWin(imgObj) {
    if (! imgObj.complete) {
        setTimeout("createImgWin(imgObj)", 100);
        return;
    }

    var pop_left = parseInt((screen.availWidth/2) - (imgObj.width/2));
    var pop_top = parseInt((screen.availHeight/2) - (imgObj.height/2));

    imageWin = window.open("", "_blank","width=717,height=600,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no");
    imageWin.document.writeln("<html>");
    imageWin.document.writeln("<head>");
    imageWin.document.writeln("<title>OKF Products</title>");
    imageWin.document.writeln("</head>");
    imageWin.document.writeln("<body leftmargin='0' marginwidth='0' topmargin='0' marginheight='0' onDragStart='return false' onSelectStart='return false' style='margin:0;'>");
    imageWin.document.writeln("<img src='" + imgObj.src + "' border='0' onClick='window.close();'>");
    imageWin.document.writeln("</body>");
    imageWin.document.writeln("<html>");
//    imageWin.document.title = imgObj.src; //

    }