<!--


function main() {location.href="../index/index.php?mode=0201";}
function eng() {location.href="/eng/index/index.php?mode=0201";}
function kor() {location.href="/kor/index/index.php?mode=0201";}

function sub01_01() {location.href="../sub01/sub01.php?mode=0101";}
function sub01_02() {location.href="../sub01/sub02.php?mode=0102";}
function sub01_03() {location.href="../sub01/sub03.php?mode=0103";}
function sub01_04() {location.href="../sub01/sub04.php?mode=0104";}


function sub02_01() {location.href="../sub02/sub01.php?mode=0201";}
function sub02_02() {location.href="../sub02/sub02.php?mode=0202";}
function sub02_03() {location.href="../sub02/sub03.php?mode=0203";}
function sub02_04() {location.href="../sub02/sub04.php?mode=0204";}
function sub02_05() {location.href="../sub02/sub05.php?mode=0205";}
function sub02_06() {location.href="../sub02/sub06.php?mode=0206";}
function sub02_07() {location.href="../sub02/sub07.php?mode=0207";}
function sub02_08() {location.href="../sub02/sub08.php?mode=0208";}

function sub03_01() {location.href="../bbs/bbs_list.php?code=faq_eng";}
function sub03_02() {location.href="../bbs/bbs_list.php?code=download_eng";}
function sub03_03() {location.href="../sub03/sub03.php?mode=0303";}


function sub04_01() {location.href="../sub04/sub01.php?mode=0401";}


function Request(valuename)

{

    var rtnval;

    var nowAddress = unescape(location.href); //ÇöÀç urlÁÖ¼Ò°ª °¡Á®¿À±â

    var parameters = new Array();

    parameters = (nowAddress.slice(nowAddress.indexOf("?")+1,nowAddress.length)).split("&");

    for(var i = 0 ; i < parameters.length ; i++){

        if(parameters[i].indexOf(valuename) != -1){

            rtnval = parameters[i].split("=")[1];

            if(rtnval == undefined || rtnval == null){

                rtnval = "";

            }

            return rtnval;

        }

    }

}

// ½ºÅ©·Ñ µû¶ó´Ù´Ï´Â ¹è³Ê
function fix(){
     var a=document.body.scrollTop+190
     bar.style.top = a
}

// ·¹ÀÌ¾î Ã³¸®
function viewscript(p){
if(span[p].style.display!="none"){        
span[p].style.display="none";
}else{
for(var i=0;i<span.length;i++){
span[i].style.display="none";
}span[p].style.display="";                
}
} 

//  ÇÃ·¡½¬
function object_tag(url, width, height){
	var tag_str;
	tag_str="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0'";
	tag_str+=" width='"+width+"' height='"+height+"'>";
	tag_str+="<param name=movie value='"+url+"'>";
	tag_str+="<param name=quality value=high>";
	tag_str+='<param name="wmode" value="transparent" >';
	tag_str+="<embed src='"+url+"' quality=high pluginsp;age='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'";
	tag_str+="type='application/x-shockwave-flash' width='"+width+"' height='"+height+"'>";
    tag_str+="</embed>"; 
    tag_str+="</object>";
	document.write(tag_str);
}

//¾ÆÀÌÇÁ·¹ÀÓ ¸®»çÀÌÁî
function reSize() {
    try {
        var objBody = auto_iframe.document.body;
        var objFrame = document.all["auto_iframe"];
        ifrmHeight = objBody.scrollHeight + (objBody.offsetHeight - objBody.clientHeight);
        objFrame.style.height = ifrmHeight;
    }
        catch(e) {}
}

function init_iframe() {
    reSize();
    setTimeout('init_iframe()',1)
}

init_iframe();

function setSelectBox(selName){
	sel = eval("document.all."+selName);

	borderColor = sel.bordercolor;
	selWidth = parseInt(sel.width);
	bgColor = sel.bgcolor;
	rectLeft = selWidth-2;
	spanWidth = selWidth;

	//span tag
	header  = "<span style='position:relative;margin-right:0px;";
	header += "width:"+spanWidth+";height:20px;border:1px solid "+borderColor+";background-color:"+bgColor+";'>\n";
	header += "<span style='position: absolute;left:-1px;top:-1px;";
	header += "width:"+selWidth+";height:17px;clip:rect(2,"+rectLeft+",18,2);'>\n";
	footer = "</span></span>";

	sel.style.backgroundColor = bgColor;
	sel.style.width = selWidth;

	sel.outerHTML = header+sel.outerHTML+footer;
}

function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
