	document.writeln("<script language=\"JScript\" src=\"/include/js/common.js\"></script>");

  	function hideBMenu(){
		if (strCurrentMode == 'View'){
			hideView(intViewIndex);
		}
	}

   top_menu_01on = new Image();
   top_menu_01on.src = "/home/kor/img/GlobalNav/GlobalNav_01_off.gif";
   top_menu_02on = new Image();
   top_menu_02on.src = "/home/kor/img/GlobalNav/GlobalNav_02_off.gif";
   top_menu_03on = new Image();
   top_menu_03on.src = "/home/kor/img/GlobalNav/GlobalNav_03_off.gif";
   top_menu_04on = new Image();
   top_menu_04on.src = "/home/kor/img/GlobalNav/GlobalNav_04_off.gif";
   top_menu_05on = new Image();
   top_menu_05on.src = "/home/kor/img/GlobalNav/GlobalNav_05_off.gif";
   top_menu_06on = new Image();
   top_menu_06on.src = "/home/kor/img/GlobalNav/GlobalNav_06_off.gif";
   top_menu_07on = new Image();
   top_menu_07on.src = "/home/kor/img/GlobalNav/GlobalNav_07_off.gif";
   top_menu_08on = new Image();
   top_menu_08on.src = "/home/kor/img/GlobalNav/GlobalNav_08_off.gif";


	top_menu_01off = new Image();
   top_menu_01off.src = "/home/kor/img/GlobalNav/GlobalNav_01_on.gif";
   top_menu_02off = new Image();
   top_menu_02off.src = "/home/kor/img/GlobalNav/GlobalNav_02_on.gif";
   top_menu_03off = new Image();
   top_menu_03off.src = "/home/kor/img/GlobalNav/GlobalNav_03_on.gif";
   top_menu_04off = new Image();
   top_menu_04off.src = "/home/kor/img/GlobalNav/GlobalNav_04_on.gif";
   top_menu_05off = new Image();
   top_menu_05off.src = "/home/kor/img/GlobalNav/GlobalNav_05_on.gif";
   top_menu_06off = new Image();
   top_menu_06off.src = "/home/kor/img/GlobalNav/GlobalNav_06_on.gif";
   top_menu_07off = new Image();
   top_menu_07off.src = "/home/kor/img/GlobalNav/GlobalNav_07_on.gif";
   top_menu_08off = new Image();
   top_menu_08off.src = "/home/kor/img/GlobalNav/GlobalNav_08_on.gif";


   function IMG_ENABLE(imgName, type) {
   	if(type=="off"){
      	imgOn = eval(imgName + "on.src");
       	document[imgName].src = imgOn;
      }
   }

   function IMG_DISABLE(imgName) {
		imgOff = eval(imgName + "off.src");
	   document[imgName].src = imgOff;
   }

   var strCurrentMode = "notView";
	var intViewIndex;

	function hideView(menuNum){
		var OElementLayer;

		OElementLayer= document.getElementById("bmenu" + menuNum);
		OElementLayer.style.display = "none";

		intViewIndex = 0;
		strCurrentMode = "notView"
	}

	function viewBmenu(menuNum,oBox){
		var intLeft = oBox.firstChild.offsetLeft;
		var intTop = oBox.firstChild.offsetTop;

		//¸Þ´º¹öÆ°°ú bmenu¿ÍÀÇ ³ôÀÌ°£°Ý º¯¼ö.
		var topHeight = 81;
		var intLeft = 0;

		if (strCurrentMode == "notView"){
			OElementLayer = document.getElementById("bmenu" + menuNum);
			OElementLayer.style.pixelLeft = intLeft;
			OElementLayer.style.pixelTop = intTop + topHeight;
			OElementLayer.style.display = "block";
			intViewIndex = menuNum;
			strCurrentMode = "View";
		}
		else if (strCurrentMode == "View"){

			OElementLayerHide = document.getElementById("bmenu" + intViewIndex);
			OElementLayerHide.style.display = "none";

			OElementLayer = document.getElementById("bmenu" + menuNum);
			OElementLayer.style.pixelLeft = intLeft;
			OElementLayer.style.pixelTop = intTop + topHeight;
			OElementLayer.style.display = "block";

			intViewIndex = menuNum;
			strCurrentMode = "View";
		}
	}

	//  ³Ñ°Ü¿Â ÅÂ±× ¹øÈ£¸¦ »ç¿ëÇÏ¿© ±× ÅÂ±×¸¦ ¼û±â°í º¸ÀÎ´Ù.
	function ShowHideTag(idx) {
		var currentDisplayStyle
		currentDisplayStyle = document.all(idx).style.display ;

		if (currentDisplayStyle == 'none') {
			document.all(idx).style.display = 'block';
		}
		else {
			document.all(idx).style.display = 'none';
		}
	}

	//  ³Ñ°Ü¿Â±× ¹øÈ£¸¦ »ç¿ëÇÏ¿© ±× ÅÂ±×¸¦ ¼û±â°í º¸ÀÎ´Ù.
	// ¶ÇÇÑ ÀÌ¹ÌÁöµµ »óÅÂ¿¡ µû¶ó º¯°æÇÑ´Ù.
	function OnClickShowHideIcon(idx1,idx2,imagename1, imagename2) {
		var currentImageSrc
		currentImageSrc = document.all(idx1).src ;

		// ÅÂ±× ¼û±â±â º¸ÀÌ±â ÇÔ¼ö È£Ãâ
		ShowHideTag(idx2) ;


		currentImageSrc = currentImageSrc.substr(currentImageSrc.indexOf("/",currentImageSrc.indexOf("/",currentImageSrc.indexOf("/",0)+1)+1));

		if (currentImageSrc == imagename1) {
			document.all(idx1).src = imagename2;
		}
		else {
			document.all(idx1).src = imagename1;
		}
	}

	var currentidx = '';
	
	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_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_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];}
	}