<!--
var old_menu = '';
function menuclick( submenu ){
if( old_menu != submenu ) {
if( old_menu !='' ) {
old_menu.style.display = 'none';
}
submenu.style.display = 'block';
old_menu = submenu;
} else {
submenu.style.display = 'none';
old_menu = '';
}
}


//이미지롤오버관련
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  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 && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


//플래시
function setEmbed() 
{ 
  var obj = new String; 
  var parameter = new String; 
  var embed = new String; 
  var html = new String; 
  var allParameter = new String; 
  var clsid = new String; 
  var codebase = new String; 
  var pluginspace = new String; 
  var embedType = new String; 
  var src = new String; 
  var width = new String; 
  var height = new String; 
    
  this.init = function( getType , s ,w , h ) { 
      if ( getType == "flash") 
      { 
        clsid = "D27CDB6E-AE6D-11cf-96B8-444553540000";        
        codebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"; 
        pluginspage = "http://www.macromedia.com/go/getflashplayer"; 
        embedType = "application/x-shockwave-flash"; 
      } 
      /* type 추가 
      else if ( ) 
      { 
      } */ 
            
      parameter += "<param name='movie' value='"+ s + "'>\n";  
      parameter += "<param name='quality' value='high'>\n";    
      
      src = s; 
      width = w; 
      height = h; 
  } 
  
  this.parameter = function( parm , value ) {      
      parameter += "<param name='"+parm +"' value='"+ value + "'>\n";        
      allParameter += " "+parm + "='"+ value+"'"; 
  }  
  
  this.show = function() { 
      if ( clsid ) 
      { 
        obj = "<object classid=\"clsid:"+ clsid +"\" codebase=\""+ codebase +"\" width='"+ width +"' height='"+ height +"'>\n"; 
      }       
      embed = "<embed src='" + src + "' pluginspage='"+ pluginspage + "' type='"+ embedType + "' width='"+ width + "' height='"+ height +"'"+ allParameter +" ></embed>\n"; 
      if ( obj ) 
      { 
        embed += "</object>\n";
      }       
      html = obj + parameter + embed;
      document.write( html );
  }
}

//
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->

<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->


function t_stop() {
    if(navigator.appName == 'Netscape')
        document.MnetPlayer.getControls.stop();
    else
        document.MnetPlayer.Stop();
} 

function t_play() {
    if(navigator.appName == 'Netscape')
        document.MnetPlayer.getControls.play();
    else
        document.MnetPlayer.play();
} 


 function showObject(object) { 
        document.getElementById(object).style.display ='block'; 
		
    } 
    /* Hide an object */ 
    function hideObject(object,object2,object3) { 
        document.getElementById(object).style.display ='none'; 
		document.getElementById(object2).style.display ='none'; 
		document.getElementById(object3).style.display ='none'; 
    }

function flash(s,w,h,type,wm,id,autostart) 
{ 
  var obj = new String; 
  var parameter = new String; 
  var embed = new String; 
  var html = new String; 
  var allParameter = new String; 
  var clsid = new String; 
  var codebase = new String; 
  var pluginspage = new String; 
  var embedType = new String; 
  var src = new String; 
  var width = new String; 
  var height = new String; 


src = s; 
width = w; 
height = h; 

var typ = type ? type : "f"; 

if(typ=="f")//플래시 
{ 
clsid = "D27CDB6E-AE6D-11cf-96B8-444553540000";        
codebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"; 
pluginspage = "http://www.macromedia.com/go/getflashplayer"; 
embedType = "application/x-shockwave-flash"; 
} else if(typ=="m") {//미디어 
clsid="22D6F312-B0F6-11D0-94AB-0080C74C7E95"; 
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"; 
embedType="application/x-oleobject"; 
parameter += "<param name='FileName' value='"+ src + "'>\n"; 
var auto = autostart ? "1" : "0"; 
parameter += "<param name='AutoStart' value='"+auto+"'>\n";  
} 
parameter += "<param name='movie' value='"+ src + "'>\n";  
parameter += "<param name='quality' value='high'>\n"; 
if(wm) 
{ 
parameter += "<param name='wmode' value='transparent'>\n"; 
} 
if ( clsid ) 
{ 
obj = "<object classid=\"clsid:"+ clsid +"\" codebase=\""+ codebase +"\" width='"+ width +"' height='"+ height +"'>\n"; 
} 
embed = "<embed src='" + src + "' pluginspage='"+ pluginspage + "' type='"+ embedType + "' width='"+ width + "' height='"+ height +"'"+ allParameter +" ></embed>\n"; 
if ( obj ) 
{ 
embed += "</object>\n"; 
} 
html = obj + parameter + embed; 
document.write( html ); 
} 

//네비게이션 링크정보입력
function go_url(ss)
{
	switch(ss)
	{
		case"01":
		location.replace('/company/introduce.htm');
		break;
		case"01_1":
		location.replace('/company/introduce.htm');
		break;
		case"01_2":
		location.replace('/company/rockplace.htm');
		break;
		case"01_3":
		location.replace('/company/history.htm');
		break;
		case"01_4":
		location.replace('/company/partner.htm');
		break;
		case"01_5":
		location.replace('/company/customer.htm');
		break;
		case"01_6":
		location.replace('/company/location.htm');
		break;
        case"01_7":
        location.replace('/bbs/bbs/board.php?bo_table=news');
        break;

		case"02":
		location.replace('/linux/01.htm');
		break;
		case"02_1":
		location.replace('/linux/01.htm');
		break;
		case"02_2":
		location.replace('/linux/02.htm');
		break;
		case"02_3":
		location.replace('/linux/03.htm');
		break;
		case"02_4":
		location.replace('/linux/04.htm');
		break;
		case"02_5":
		location.replace('/linux/05.htm');
		break;
		case"02_6":
		location.replace('/linux/06.htm');
		break;
		/*case"02_7":
		location.replace('/linux/07.htm');
		break;*/

		case"03":
		location.replace('/jboss/01.htm');
		break;
		case"03_1":
		location.replace('/jboss/01.htm');
		break;
		case"03_2":
		location.replace('/jboss/02.htm');
		break;
		case"03_3":
		location.replace('/jboss/03.htm');
		break;
		case"03_4":
		location.replace('/jboss/04.htm');
		break;
		case"03_5":
		location.replace('/jboss/05.htm');
		break;
		case"03_6":
		location.replace('/jboss/06.htm');
		break;
		case"03_7":
		location.replace('/jboss/07.htm');
		break;
		case"03_8":
		location.replace('/jboss/08.htm');
		break;
		case"03_9":
		location.replace('/jboss/09.htm');
		break;
		case"03_10":
		location.replace('/jboss/10.htm');
		break;

		case"04":
		location.replace('/solution/01.htm');
		break;
		case"04_1":
		location.replace('/solution/01.htm');
		break;
		case"04_2":
		location.replace('/solution/02.htm');
		break;
		case"04_3":
		location.replace('/solution/03.htm');
		break;
		case"04_4":
		location.replace('/solution/04.htm');
		break;
		case"04_5":
		location.replace('/solution/05.htm');
		break;

		case"05":
		location.replace('/bbs/bbs/board.php?bo_table=notice');
		break;
		case"05_1":
		location.replace('/bbs/bbs/board.php?bo_table=notice');
		break;
		case"05_2":
		location.replace('/bbs/bbs/board.php?bo_table=faq');
		break;
		case"05_3":
		location.replace('/custom/03.htm');
		break;
		case"05_4":
		location.replace('/custom/04.htm');
		break;
		case"05_5":
		location.replace('/custom/05.htm');
		break;
		case"05_6":
		location.replace('/custom/06.htm');
		break;
		case"05_7":
		location.replace('/custom/07.htm');
		break;
		case"05_8":
		location.replace('/bbs/bbs/board.php?bo_table=qna');
		break;
		case"05_9":
		location.replace('/bbs/bbs/write.php?bo_table=estimate');
		break;
        case"05_10":
		location.replace('/custom/10.htm');
		break;
	}
}


// 각 서브페이지 좌측 메뉴 롤오버 상태를 고정시키는 함수 
var basic_img = ""; 
function lock_menu(Menu, cate) { 
if (Menu) { 
var target_menu = eval("document.all."+Menu); 
target_menu.src = (cate) ? "/" + cate + "/image/"+Menu+"_ov.gif" : "image/"+Menu+"_ov.gif"; 
basic_img = Menu; 
} 
} 
function inact(imgName) 
    {   if (document.image && basic_img != imgName) 
        document[imgName].src = eval(imgName + '.src') 
     } 

function act(imgName) 
    {   if (document.image && basic_img != imgName) 
        document[imgName].src = eval(imgName + 'a.src') 
     } 

// -->