<!--

//------------------------------------------------------------------------------
//  »õÃ¢ ¶ç¿ì±â
//------------------------------------------------------------------------------
function MM_openBrWindow(theURL,winName,features){
    window.open(theURL,winName,features);
}

//------------------------------------------------------------------------------
//  1Â÷ ¸Þ´º °ü¸®
//------------------------------------------------------------------------------
var tShowTab = null;
var objShowTab = null;

function clearShowTabTimeInterval() {
	clearTimeout(tShowTab);
}

function show_menu_tab(obj, n, bNow) {
	clearTimeout(tShowTab);
	if(!bNow) {
		objShowTab = obj;
		obj.onmouseout = clearShowTabTimeInterval;
		objN = n;
		tShowTab = setTimeout('show_menu_tab(objShowTab, objN, true);', 300);
		return;
	}
    
    for(var i = 1; i < 6; i++) {
        obj = document.getElementById('menu_tab_'+i);
        img = document.getElementById('menu_tab_btn_'+i);
        if ( n == i ) {
            obj.style.display = "block";
            img.src = "../imgs/top/menu_tab_on_"+i+".gif";
        } else {
            obj.style.display = "none";
            img.src = "../imgs/top/menu_tab_off_"+i+".gif";
        }
    }
}

//------------------------------------------------------------------------------
//  2Â÷ ¸Þ´º °ü¸®
//------------------------------------------------------------------------------
function MM_showHideLayers() {
    var i,p,v,obj,args=MM_showHideLayers.arguments;
    for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
        if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
        obj.visibility=v; 
    }
}

function MM_findObj(n, d) {
    var p,i,x;  
    if(!d) d=document; 
    if((p=n.indexOf("?"))>0&&parent.frames.length) {    
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);
    }
    if(!(x=d[n])&&d.all) x=d.all[n]; 
    for(i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
    for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
    if(!x && document.getElementById) x=document.getElementById(n); 

    return x;
}

//------------------------------------------------------------------------------
//  ÇÃ·¡½ÃÆÄÀÏ º¸ÀÌ±â
//------------------------------------------------------------------------------
function show_flash(c,d,e) {
	var flash_tag = "";
	flash_tag = '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';
	flash_tag +='codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" ';
	flash_tag +='WIDTH="'+c+'" HEIGHT="'+d+'" >';
	//ÀÌºÎºÐÀº ÇÃ·¡½¬ ¹è°æÀ» Åõ¸íÀ¸·Î ¼³Á¤ÇÏ´Â ºÎºÐÀ¸·Î ÇÊ¿ä¾ø´Ù¸é »èÁ¦ÇØµµ ¹«¹æÇÔ
	//flash_tag +='<param name="wmode" value="transparent">'; 
	flash_tag +='<param name="movie" value="'+e+'">';
	flash_tag +='<param name="quality" value="high">';
	flash_tag +='<embed src="'+e+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" ';
	flash_tag +='type="application/x-shockwave-flash"  WIDTH="'+c+'" HEIGHT="'+d+'"></embed></object>'
	document.write(flash_tag);
}

function show_flash_ssl(c,d,e) {
	var flash_tag = "";
	flash_tag = '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';
	flash_tag +='WIDTH="'+c+'" HEIGHT="'+d+'" >';
	flash_tag +='<param name="movie" value="'+e+'">';
	flash_tag +='<param name="quality" value="high">';
	flash_tag +='<embed src="'+e+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" ';
	flash_tag +='type="application/x-shockwave-flash"  WIDTH="'+c+'" HEIGHT="'+d+'"></embed></object>'
	document.write(flash_tag);
}


//-->
