//ÁÂÃø ³×ºñ°ÔÀÌ¼Ç¹Ù
function changeMenu( index )
{
  var tempType;

  // È®ÀåµÈ Æ®¸® ¼±ÅÃ ½Ã Æ®¸®¸¦ ÁÙÀÎ´Ù.
  if( eval( "MenuExpand_" + index ).style.display == "block" )
  {
    eval( "MenuExpand_" + index ).style.display = "none";
    eval( "MenuShrink_" + index ).style.display = "block";
  } else
  {
    //È®ÀåµÈ Æ®¸®¸¦ ¸ðµÎ ´Ý°í ¼±ÅÃÇÑ Æ®¸®¸¦ È®ÀåÇÑ´Ù.
    for( var i = 1; i < 24; i++ )
    {
      eval( "tempType = typeof( MenuExpand_" + i + " );" );
      if( tempType == "object" )
      {
        eval( "MenuExpand_" + i ).style.display = "none";
        eval( "MenuShrink_" + i ).style.display = "block";
      }
    }
    eval( "MenuExpand_" + index ).style.display = "block";
    eval( "MenuShrink_" + index ).style.display = "none";
  }
}

//ÁÂÃø ÇÏÀ§ ³×ºñ°ÔÀÌ¼Ç¹Ù
function changeMenuSub( index )
{
  var tempType;

  // È®ÀåµÈ Æ®¸® ¼±ÅÃ ½Ã Æ®¸®¸¦ ÁÙÀÎ´Ù.
  if( eval( "MenuExpand_" + index ).style.display == "block" )
  {
    eval( "MenuExpand_" + index ).style.display = "none";
    eval( "MenuShrink_" + index ).style.display = "block";
  } else
  {
    //È®ÀåµÈ Æ®¸®¸¦ ¸ðµÎ ´Ý°í ¼±ÅÃÇÑ Æ®¸®¸¦ È®ÀåÇÑ´Ù.
    for( var i = 100; i < 200; i++ )
    {
      eval( "tempType = typeof( MenuExpand_" + i + " );" );
      if( tempType == "object" )
      {
        eval( "MenuExpand_" + i ).style.display = "none";
        eval( "MenuShrink_" + i ).style.display = "block";
      }
    }
    eval( "MenuExpand_" + index ).style.display = "block";
    eval( "MenuShrink_" + index ).style.display = "none";
  }
}

//¿î¿µÀÚ ¸Þ´º ¸µÅ©
function go_SubMenu( code1,code2,code3 )
{
	var homeURL = "http://www.bitec.or.kr";

/*  switch( destWord.toLowerCase() )
  {
  case "111":
	parent.main.location.href = "/manage/code/index.asp";
	document.location.href = "/manage/enduser/edu_list.asp";
    break;


  case "000":
    alert( "¼­ºñ½º ÁØºñÁßÀÔ´Ï´Ù." );
    break;

  default :
    document.location.href = '/';//homeURL;
    parent.main.location.href = '/';//homeURL;
  }
*/
	document.location.href = "./course_sublist.asp?cate_code1="+code1+"&cate_code2="+code2+"&cate_code3="+code3;
}



