<!-- ³×ºñ°ÔÀÌ¼Ç ½ºÅ©¸³Æ® -->
function Menu_imgHide(t){
	x = eval("topMenuImage"+t)
	sr = '/img/bn_'+t+'off.gif';
	x.src= sr;
}

function Menu_imgview(t){
	topMenuImage1.src= '/img/bn_1off.gif';
	topMenuImage2.src= '/img/bn_2off.gif';
	topMenuImage3.src= '/img/bn_3off.gif';
	topMenuImage4.src= '/img/bn_4off.gif';
	topMenuImage5.src= '/img/bn_5off.gif';
	topMenuImage6.src= '/img/bn_6off.gif';
	topMenuImage7.src= '/img/bn_7off.gif';
	topMenuImage8.src= '/img/bn_8off.gif';
	topMenuImage9.src= '/img/bn_9off.gif';
	topMenuImage10.src= '/img/bn_10off.gif';
	topMenuImage11.src= '/img/bn_11off.gif';
	topMenuImage12.src= '/img/bn_12off.gif';
	topMenuImage13.src= '/img/bn_13off.gif';
	topMenuImage14.src= '/img/bn_14off.gif';

	x = eval("topMenuImage"+t)
	sr = '/img/bn_'+t+'on.gif';
	x.src= sr;
}

function showAreaMenuLayer(x){
	lay = eval(x);
	lay.style.visibility ="visible";
}

function hideAreaMenuLayer(x){
	lay = eval(x);
	lay.style.visibility ="hidden";
}

function mainmenu_layerview(x){
	
	mainmenu_layer1.style.display ="none";
	mainmenu_layer2.style.display ="none";
	mainmenu_layer3.style.display ="none";
	mainmenu_layer4.style.display ="none";
	mainmenu_layer5.style.display ="none";
	mainmenu_layer6.style.display ="none";
	mainmenu_layer7.style.display ="none";
	mainmenu_layer8.style.display ="none";
	mainmenu_layer9.style.display ="none";
	mainmenu_layer10.style.display ="none";
	mainmenu_layer11.style.display ="none";
	mainmenu_layer12.style.display ="none";
	mainmenu_layer13.style.display ="none";
	mainmenu_layer14.style.display ="none";

	for(i=1;i<=14;i++){
	lay = eval("mainmenu_layer"+i);
		if(i == x){
		lay.style.display ="block";		
		}else{
		lay.style.display ="none";		
		}
	}
}
<!-- ³×ºñ°ÔÀÌ¼Ç ½ºÅ©¸³Æ® -->

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);


///»õÃ¢¿­±â
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function OpenNewWin(gourl){
	if (gourl != ""){
	  window.open(gourl,"newwin","width=1020,height=760,scrollbars=yes,resizable=yes,menubar=yes,toolbar=yes,location=yes,status=yes,directories=yes");
	}
}

///Áñ°ÜÃ£±â
function favor() {
window.external.AddFavorite('http://steel.ebn.co.kr','EBN½ºÆ¿´º½º')
}

//////////////////////////////////
///ÀÌ¹ÌÁö »çÀÌÁî ÁÙÀÌ±â
function fit_imgx(orgImgc, maxWidth) {
	if (document.all)
	{
	var orgWidth, orgHeight, newWidth, newHeight;
	newImgc = new Image();    newImgc.src = orgImgc.src;
    orgWidth = newImgc.width; orgHeight = newImgc.height;

	if (orgWidth > maxWidth) { newWidth = maxWidth; newHeight = orgHeight * (maxWidth/orgWidth); } 
	else { newWidth = orgWidth; newHeight = orgHeight; }

	orgImgc.onload = null;    orgImgc.src = newImgc.src;
	orgImgc.width = newWidth; orgImgc.height = newHeight;
	}
}
function fit_imgy(orgImgc, maxHeight) {
		if (document.all)
	{
	var orgWidth, orgHeight, newWidth, newHeight;
	
	newImgc = new Image();    newImgc.src = orgImgc.src;
    orgWidth = newImgc.width; orgHeight = newImgc.height;

	if (orgHeight > maxHeight) { newWidth = orgWidth * (maxHeight/orgHeight); newHeight = maxHeight; } 
	else { newWidth = orgWidth; newHeight = orgHeight; }

	orgImgc.onload = null;    orgImgc.src = newImgc.src;
	orgImgc.width = newWidth; orgImgc.height = newHeight;
	}
}
///////////////////////////////////////

///½½¶óÀÌµå¸Þ´º
    function ViewData(user) { 
        if(user == 1) { 
            if(example1.style.display == "block") {        // ÇÏÀ§ ¸Þ´º°¡ ¿­¸° »óÅÂ¶ó¸é 
                example1.style.display = "none";        // ÇÏÀ§ ¸Þ´º¸¦ ´Ý´Â´Ù. 
            } else {                                    // ÇÏÀ§ ¸Þ´º°¡ ¿­¸° »óÅÂ°¡ ¾Æ´Ï¶ó¸é 
                example1.style.display = "block";        // ÇÏÀ§ ¸Þ´º¸¦ ¿¬´Ù. 
                example2.style.display = "none";        // ´Ù¸¥ ¸Þ´ºÀÇ ÇÏÀ§ ¸Þ´º¸¦ ´Ý´Â´Ù. 
                example3.style.display = "none";
                example4.style.display = "none";
                example5.style.display = "none";
                example6.style.display = "none";
                example7.style.display = "none";
            } 
        } 
        if(user == 2) { 
            if(example2.style.display == "block") { 
                example2.style.display = "none"; 
            } else { 
                example2.style.display = "block"; 
                example1.style.display = "none"; 
                example3.style.display = "none";
                example4.style.display = "none";
                example5.style.display = "none";
                example6.style.display = "none";
                example7.style.display = "none";
            }
        }
        if(user == 3) { 
            if(example3.style.display == "block") { 
                example3.style.display = "none"; 
            } else { 
                example3.style.display = "block"; 
                example2.style.display = "none";
                example1.style.display = "none"; 
                example4.style.display = "none";
                example5.style.display = "none";
                example6.style.display = "none";
                example7.style.display = "none";
            }
        }
        if(user == 4) { 
            if(example4.style.display == "block") { 
                example4.style.display = "none"; 
            } else { 
                example4.style.display = "block"; 
                example3.style.display = "none";
                example2.style.display = "none"; 
                example1.style.display = "none";
                example5.style.display = "none";
                example6.style.display = "none";
                example7.style.display = "none";
            }
        }
        if(user == 5) { 
            if(example5.style.display == "block") { 
                example5.style.display = "none"; 
            } else { 
                example5.style.display = "block"; 
                example4.style.display = "none";
                example3.style.display = "none";
                example2.style.display = "none"; 
                example1.style.display = "none";
                example6.style.display = "none";
                example7.style.display = "none";
            }
        }
        if(user == 6) { 
            if(example6.style.display == "block") { 
                example6.style.display = "none"; 
            } else { 
                example6.style.display = "block"; 
                example5.style.display = "none";
                example4.style.display = "none";
                example3.style.display = "none";
                example2.style.display = "none"; 
                example1.style.display = "none";
                example7.style.display = "none";
            }
        }
        if(user == 7) { 
            if(example7.style.display == "block") { 
                example7.style.display = "none"; 
            } else { 
                example7.style.display = "block"; 
                example6.style.display = "none";
                example5.style.display = "none";
                example4.style.display = "none";
                example3.style.display = "none";
                example2.style.display = "none"; 
                example1.style.display = "none";
            }
        }
    }
///////////////////////////////////////
//»óÅÂÃ¢ ÁÖ·Î À¯Ãâ ¹æÁö //
/*var boodschap = '¾È³çÇÏ¼¼¿ä. EBN½ºÆ¿´º½º¸¦ ¹æ¹®ÇØ ÁÖ¼Å¼­ °¨»çÇÕ´Ï´Ù.'; 
function dgstatus()
{
      window.status = boodschap;
	timerID= setTimeout("dgstatus()", 30);
}
dgstatus();*/



// ÇÃ·¡½Ã È°¼ºÈ­
function showFlash(flaFile, widths, heights, btrans)
{ 
  var strings = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="' + widths + '"  height="' + heights + '"><param name="movie" value="' + flaFile + '"><param name="quality" value="high">';
  strings += '<embed src="' + flaFile + '" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="' + widths + '" height="' + heights + '"></embed> </object>';
  document.write(strings);
  return;
}



// ½ºÅ©·Ñ ¹è³Ê
self.onError=null;
currentX = currentY = 0;
whichIt = null;
lastScrollX = 0; lastScrollY = 0;
NS = (document.layers) ? 1: 0;
IE = (document.all) ? 1: 0;
<!-- STALKER CODE -->
function heartBeat() {
	if(IE) {
		diffY = document.body.scrollTop;
		diffX = 0;
	}
	if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; }
	if(diffY != lastScrollY) {
		percent = .1 * (diffY - lastScrollY);
		if(percent > 0) percent = Math.ceil(percent);
		else percent = Math.floor(percent);
		if(IE) document.all.floater.style.pixelTop += percent;
		if(NS) document.all.floater.top += percent;
		lastScrollY = lastScrollY + percent;
	}
	if(diffX != lastScrollX) {
		percent = .1 * (diffX - lastScrollX);
		if(percent > 0) percent = Math.ceil(percent);
		else percent = Math.floor(percent);
		if(IE) document.all.floater.style.pixelLeft += percent;
		if(NS) document.floater.top += percent;
		lastScrollY = lastScrollY + percent;
	}
}
//if(NS || IE) action = window.setInterval('heartBeat()',1);


///»óÅÂÃ¢ ÁÖ¼Ò ¼û±â±â
var msg = '¿Ï·á'; 
function hideURL() {
    window.status = msg;
        timerID= setTimeout("hideURL()", 0);
}
hideURL();

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}