
//ÆË¾÷»õÃ¢
function MM_openBrWindow(theURL,winName,features) { //v2.0
		window.open(theURL,winName,features);
	}

    function inquiry_k()
	{		
	window.open('http://kr.gobizkorea.com/popup/newhm_pop_inquiry.jsp?co_code=2007-00310&co_lang=1','Inquiry_k','width=750,height=500,scrollbars=yes');
	}
	
	function inquiry_e()
	{		
	window.open('http://kr.gobizkorea.com/popup/newhm_pop_inquiry.jsp?co_code=2007-00310&co_lang=2','Inquiry_e','width=750,height=500,scrollbars=yes');
	}
	


	//¹Ú½ºÆ÷Àå±â
	function pro01_07_01()
	{		
	window.open('/big_product/pro01_07_01.html','pro01','width=500,height=375,scrollbars=no');
	}
	
	function pro01_07_02()
	{		
	window.open('/big_product/pro01_07_02.html','pro01','width=500,height=375,scrollbars=no');
	}
	
//ÆË¾÷




//·Ñ¿À¹ö
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];}
}
//·Ñ¿À¹ö




/******************************************************************************
Description	: À¥Á¢±Ù¼º Ãß°¡ 
Author		: 
Date		: 2009-5-11
******************************************************************************/

		function dEI(elementID){
			return document.getElementById(elementID);
		}

		function showResv(num) {
			
			for (i = 1; i < 5; i++) {
				try{
				if (num == i) {
					document.getElementById('menu'+i+'').src = "/images/menu/top/resv_menu"+i+"_on.gif"
					document.getElementById('menu'+i+'').onmouseout = function() {
						window.onload();
					}
				} 
				else {
				   document.getElementById('menu'+i+'').src = "/images/menu/top/resv_menu"+i+"_off.gif"
				   document.getElementById('menu'+i+'').onmouseout = function() {
						window.onload();
					}
				}
				}catch(e){}
			}

		}

		
		function showLayer(num) {
			
			for (i = 1; i < 6; i++) {
				try{
				if (num == i) {
					document.getElementById('sub'+i+'').style.display='block';
					document.getElementById('menu'+i+'').src = "/images/menu/top/topnavi_arex0"+i+"_on.gif"
				} 
				else {
				   document.getElementById('sub'+i+'').style.display='none';
				   document.getElementById('menu'+i+'').src = "/images/menu/top/topnavi_arex0"+i+".gif"
				}
				}catch(e){}
			}

		}
		
		function showLayerM(num) {
			
			for (i = 1; i < 6; i++) {
				try{
				if (num == i) {
					document.getElementById('sub'+i+'').style.display='block';
					document.getElementById('menu'+i+'').src = "/images/menu/main_top/topnavi_arex0"+i+"_on.gif"
				} 
				else {
				   document.getElementById('sub'+i+'').style.display='none';
				   document.getElementById('menu'+i+'').src = "/images/menu/main_top/topnavi_arex0"+i+".gif"
				}
				}catch(e){}
			}

		}

		function imgTourRollover(imgBoxID, num, loc){
			var MenuCounts = dEI(imgBoxID).getElementsByTagName("img");

			for (i = 1; i < 99; i++){
				if (num == i) {
					document.getElementById('roll'+i+'').src = "/images/menu/left/"+loc+"/smnavi_arex0"+i+"_on.gif"
				}
			}

			for (i=0;i<MenuCounts.length;i++) {
		
				var numImg=MenuCounts.item(i);
				var ImgCheck = numImg.src.substring(numImg.src.length-7,numImg.src.length);
				if (ImgCheck!="_on.gif") {
					numImg.onmouseover = function () {
						this.src = this.src.replace(".gif", "_on.gif");
					}
					numImg.onmouseout = function () {
						this.src = this.src.replace("_on.gif", ".gif");
					}
				}
				else {
					numImg.onmouseover = function () {
						this.src;
					}
					numImg.onmouseout = function () {
						this.src;
					}
				}
			}
		}

		function MM_showHideLayers() { 
		  var i,p,v,obj,args=MM_showHideLayers.arguments;
		 for (i=0; i<(args.length-2); i+=3) 
			with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
			if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
		obj.visibility=v; }
		}
		