<!--
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.0
  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 && document.getElementById) x=document.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 MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function clickHandler(div) {
  var targetId, srcElement, targetElement;
  srcElement = window.event.srcElement;
  if (srcElement.className == "Outline") {
   for(i=1;i<=div;i++)
  {
     targetId = srcElement.id + "_"+i+"d";
     targetElement = document.all(targetId);
     if (targetElement.style.display == "none") {
        targetElement.style.display = "";
        srcElement.src = "images/folder2.gif";
     } else {
        targetElement.style.display = "none";
        srcElement.src = "images/folder1.gif";
     }
  }
  }
}







function reSize()
{
  try
  {
    var objBody = menu_view_i.document.body;
    var objFrame = document.all['menu_view_i'];
    ifrmHeight = objBody.scrollHeight + (objBody.offsetHeight - objBody.clientHeight);

//    ifrmWidth = objBody.scrollWidth + (objBody.offsetWidth - objBody.clientWidth);

    objFrame.style.height = ifrmHeight

//    objFrame.style.width = ifrmWidth

  }
  catch(e)
  {
  }
}

function init_iframe()
{
  reSize();
  setTimeout('init_iframe()',200)
}
init_iframe();


url_list = new Array();
newwin_list = new Array();
window_list = new Array()
fullwin_list = new Array()




// ¸µÅ©¸Þ´º
   url_list[1] = '/gold/gold.do';         //DR°ñµå
   url_list[11] = '/gold/gold.do';         //¿£ÅÍÇÁ¶óÀÌÁî
   url_list[12] = '/gold/gold_02.do';      //½ºÅÙ´Ùµå
   url_list[13] = '/gold/gold_03.do';      //ºÎ°¡¼­ºñ½º
   url_list[14] = '/gold/gold_04.do';      //µµ¸Å¿£ÅÍÇÁ¶óÀÌÁî


   url_list[2] = '/herb/herb.do';         //DRÇãºê
   url_list[21] = '/herb/herb.do';         //ÇÑ¾àÀç
   url_list[22] = '/herb/herb_02.do';      //SCM



   url_list[3] = '/board/kojuList.do?code=internetNews';         //ºÎ°¡¼­ºñ½º
   url_list[31] = '/board/kojuList.do?code=internetNews';         //ÁÖ¾ó¸®½Å¹®
   url_list[32] = '/board/list.do?code=shopinfo';                 //¸ÅÀå°æ¿µÁ¤º¸
   url_list[33] = '/service/service_03.do';                       //ÁÖ¾ó¸®Á¤º¸



   url_list[4] = '/board/list.do?code=counsel';   	//°í°´¼¾Å¸
   url_list[41] = '/board/list.do?code=counsel';     //1:1»ó´ã
   url_list[42] = '/center/center_02.do';            //¿Â¶óÀÎ½ÅÃ»
   url_list[43] = '/board/list.do?code=faq';         //FAQ
   url_list[44] = '/center/center_04.do';            //¿ø°ÝÁö¿ø¼­ºñ½º
   url_list[45] = '/board/list.do?code=morgue';      //ÀÚ·á½Ç
   url_list[46] = '/center/login.do';                //¹«·áÃ¼Çè¼­ºñ½º
   url_list[47] = '/board/list.do?code=notice';      //°øÁö»çÇ×



   url_list[5] = '/ubshop/ubshop.do';         //À¯ºñ¼¥¼Ò°³
   url_list[51] = '/ubshop/ubshop.do';         //ÀÎ»ç¸»
   url_list[52] = '/ubshop/ubshop_02.do';      //ºñÁ¯
   url_list[53] = '/ubshop/ubshop_03.do';      //¿¬Çõ
   url_list[54] = '/board/list.do?code=news';      //¾ð·Ðº¸µµ
   url_list[55] = '/ubshop/ubshop_04.do';      //Á¶Á÷µµ
   url_list[56] = '/ubshop/ubshop_05.do';      //ÆÄÆ®³Ê
   url_list[57] = '/ubshop/ubshop_06.do';      //¿À½Ã´Â±æ
   url_list[58] = '/ubshop/ubshop_07.do';      //Ã¤¿ëÁ¤º¸
   
   
   url_list[6] = '/mall/mall.do';         //À¯ºñ¼¥¸ô
   url_list[61] = '/mall/mall_02.do';      //Z4Mplus
   url_list[62] = '/mall/mall_03.do';      //TLP3844-Z
   url_list[63] = '/mall/mall_04.do';      //3800g
   url_list[64] = '/mall/mall_05.do';      //3200
   url_list[65] = '/mall/mall_06.do';      //IT3800
   url_list[66] = '/mall/mall_07.do';      //TSK-800
   url_list[67] = '/mall/mall_08.do';      //¶óº§Áö

   url_list[8] = '/center/center_04.do';  //¿ø°ÝÁö¿ø¼­ºñ½º(¼­ºñ½º½ÅÃ»)
   url_list[81] = '/gold/gold.do';         //DR.°ñµå(¿£ÅÍÇÁ¶óÀÌÁî,½ºÅÄ´Ùµå)
   url_list[82] = '/mall/mall.do';         //À¯ºñ¼¥¸ô(¹ÙÄÚµå,¸®´õ±â,¶óº§Áö)
   url_list[83] = '/herb/herb.do';         //DR.Çãºê(ÇÑ¾àÀç,SCM)
   url_list[84] = '/gold/gold.do';         //DR.°ñµå,DR.Çãºê

   url_list[9] = '/board/list.do?code=shopinfo';         //¸ÅÀå°æ¿µÁ¤º¸
   url_list[91] = '/ubshop/ubshop_03.do';                 //¾ð·Ðº¸µµ
   url_list[92] = '/ubshop/ubshop.do';   			      //À¯ºñ¼¥¼Ò°³
   url_list[93] = '/gold/gold.do';       				  //DR.°ñµå
   url_list[94] = '/herb/herb.do';       				  //DR.Çãºê
   url_list[95] = '/mall/mall.do';       				  //À¯ºñ¼¥¸ô

// »õÃ¢ÀÎ ¸Þ´º
//newwin_list[19] = 'true';
//newwin_list[21] = 'true';
//newwin_list[25] = 'true';
//newwin_list[29] = 'true';




// À©µµ¿ì·Î ¿­¸®´Â°æ¿ì
//window_list[17] = 'width=550 height=450 resizable=no';
//window_list[18] = 'scrollbars=no';
//window_list[20] = 'width=1000 height=600 scrollbars=yes';


//ÀüÃ¼È­¸éÀÎ ¸Þ´º
//fullwin_list[10] = 'true'





function go_site(num)
{
  if(url_list[num])
  {
// º»Ã¢À¸·Î ÀÌµ¿ÇÏ´Â °æ¿ì
    if(newwin_list[num] != 'true' && fullwin_list[num] != 'true' && (window_list[num] == '' || window_list[num] == null))
    {
    	location=url_list[num];
    }

// À©µµ¿ì Ã¢À¸·Î ¿­¸®´Â°æ¿ì
    if(window_list[num] != '' && window_list[num] != null)
    {
      window.open(url_list[num], 'new_win', window_list[num]);
    }


// ÀüÃ¼Ã¢À¸·Î ¿­¸®´Â °æ¿ì
    if(fullwin_list[num] == 'true')
    {
      window.open(url_list[num], 'new_win', 'width=1000 height=724 resizable=no');
    }


// »õÃ¢À¸·Î ¿­¸®´Â°æ¿ì
    if(newwin_list[num] == 'true')
    {
      window.open(url_list[num], '_blank', 'directories=yes, titlebar=yes, toolbar=yes, menubar=yes, statusbar=yes, scrollbars=yes, resizable=yes, location=yes, status=yes');
    }
  }
}


function namosw_goto_byselect(sel, targetstr)
{
  var index = sel.selectedIndex;
  if (sel.options[index].value != '') {
     if (targetstr == 'blank') {
       window.open(sel.options[index].value, 'win1');
     } else {
       var frameobj;
       if (targetstr == '') targetstr = 'self';
       if ((frameobj = eval(targetstr)) != null)
         frameobj.location = sel.options[index].value;
     }
  }
}

//-->
