//======================================================
// ÇÐ¿ø24 °ü·Ã ÀÚ¹Ù ½ºÅ©¸³Æ® ¸ðÀ½ ^^*
// ÀÛ¼ºÀÚ : ¾ÈÀÎÁÖ
// ÀÛ¼ºÀÏ : 2000.12.05
//======================================================


//======================================================
// ºê¶ó¿ìÁ® ¹öÁ¯È®ÀÎ
//======================================================

var NS4 = (document.layers) ? 1 : 0;
var IE4 = (document.all) ? 1 : 0;
var ver4 = (document.layers || document.all) ? 1 : 0;
var timerSubMenu;


//======================================================
// ¸Þ´º ·¹ÀÌ¾î ´Ù·ç±â
//======================================================

function SubMenuOut(hohomam)
{
	timerSubMenu = setTimeout("MM_showHideLayers('" + hohomam + "','hide')",200);
}

function SubMenuOver(hohomam)
{
	clearTimeout(timerSubMenu);
	MM_showHideLayers(hohomam,'show');
}

function hideLayer(obj)
{			
	if (NS4)
	{
		obj = eval("document.layers['"+obj+"']")
		obj.visibility = "hide";
	}
	else if (IE4)
	{
		obj = eval("document.all['"+obj+"']")
		obj.style.visibility = "hidden";
	}
}

function MM_showHideLayers()
{ 
   var i, visStr, args, theObj;
   args = MM_showHideLayers.arguments;

   for (i=0; i<(args.length-1); i+=2)
   { 	
    	visStr = args[i+1];

    	if (navigator.appName == 'Netscape' && document.layers != null)		//NS4
    	{
      		theObj = eval('document.layers[\'' + args[i] + '\']');
      		if (theObj) theObj.visibility = visStr;

	}
	else if (document.all != null)						//IE4
	{ 	
      		if (visStr == 'show') visStr = 'visible';
      		if (visStr == 'hide') visStr = 'hidden';
      		
      		theObj = eval("document.all[\'' + args[i] +'\']");
      		if (theObj) theObj.style.visibility = visStr;
  	}
   }
}




// ÀÌ¿Ã¶ó½º ÆÐÄ¡°ü·Ã (2006-04-13)
function showEmbed(EmbID) 
{ 
    document.write(document.getElementById(EmbID).value); 
}