<!--
function Link(num){ 
 switch (num)
 {
  case 0: document.location.href="/index.php";// home
  break;
  case 101: document.location.href="/sitemap/sitemap.php";// »çÀÌÆ®¸Ê
  break;
  case 102: document.location.href="mailto:admin@e-naru.com";// contact us
  break;

  // sub01 company(È¸»ç¼Ò°³)
  case 1: document.location.href="/company/introduction.php";//ceo ÀÎ»ç¸»
  break;
  case 11: document.location.href="/company/introduction.php";//ceo ÀÎ»ç¸»
  break;
  case 12: document.location.href="/company/organization.php";//Á¶Á÷µµ
  break;
  case 13: document.location.href="/company/history.php";//ÁÖ¿ä¿¬Çõ
  break;
  case 14: document.location.href="/company/property.php";//ÁöÀûÀç»ê±Ç
  break;
  case 15: document.location.href="/company/recruit.php";//Ã¤¿ëÁ¤º¸
  break;
  case 16: document.location.href="/company/position.php";//È¸»çÀ§Ä¡
  break;
  
  // sub02 technology(º¸À¯±â¼ú)
  case 2: document.location.href="/technology/wlan_tech1.php";//WLAN Technology01
  break;
  case 21: document.location.href="/technology/wlan_tech2.php";//WLAN Technology02
  break;
  case 22: document.location.href="/technology/wlan_tech3.php";//WLAN Technology03
  break;
  case 23: document.location.href="/technology/wlan_tech4.php";//WLAN Technology04
  break;
  case 24: document.location.href="/technology/modem4.php";//Wireless Technology04
  break;
  case 25: document.location.href="/technology/wireless bridge1.php";//Wireless bridge01
  break;
  case 26: document.location.href="/technology/wireless bridge2.php";//Wireless  bridge02
  break;
  case 27: document.location.href="/technology/wireless bridge3.php";//Wireless  bridge03
  break;
  case 28: document.location.href="/technology/embedded.php";//Wireless  bridge03
  break;
  case 29: document.location.href="/technology/plc_tech1.php";//plc technology01
  break;
  case 30: document.location.href="/technology/plc_tech2.php";//plc technology02
  break;

      // sub03 business(»ç¾÷ºÐ¾ß)
  case 3: document.location.href="/business/combination.php";//its
  break;
  case 31: document.location.href="/business/its.php";//its
  break;
  case 32: document.location.href="/business/vds.php";//vds
  break;
  case 33: document.location.href="/business/vms.php";//vms
  break;
  case 34: document.location.href="/business/pms.php";//pms
  break;
  case 35: document.location.href="/business/cctv.php";//cctv
  break;
  case 36: document.location.href="/business/utis.php";//utls
  break;
  case 37: document.location.href="/business/center.php";//¼¾ÅÍ ±¸Ãà
  break;

  // sub04¸ð¹ÙÀÏ »ç¾÷
  case 4: document.location.href="/business/mobile.php";//¼¾ÅÍ ±¸Ãà
  break;
  case 41: document.location.href="/business/mobile.php";//¼¾ÅÍ ±¸Ãà
  break;
  case 42: document.location.href="/business/system.php";//system software
  break;
  case 43: document.location.href="/business/application.php";//application software
  break;
  case 44: document.location.href="/business/smartphone.php ";//½º¸¶Æ®Æù OS
  break;
  case 45: document.location.href="/business/product.php ";//Á¦Ç°
  break;

// sub06À¯¹«¼± ÀÚ°¡¸Á »ç¾÷
  case 6: document.location.href="/business/combination.php";//°³¿ä
  break;
  case 61: document.location.href="/business/optical.php";//±¤Åë½Å¸Á ±¸Ãà
  break;
  case 62: document.location.href="/business/wireless.php";//¹«¼±¸Á ±¸Ãà
  break;

// sub07½º¸¶Æ®±×¸®µå»ç¾÷
  case 7: document.location.href="/business/smartgrid.php";//½º¸¶Æ®±×¸®µå»ç¾÷ °³¿ä
  break;
  case 71: document.location.href="/business/plc1.php";//°¡·ÎµîÁ¦¾î½Ã½ºÅÛ
  break;  
  case 72: document.location.href="/business/plc2.php";//¿ø°Ý°ËÄ§½Ã½ºÅÛ
  break;
  case 73: document.location.href="/business/plc3.php";//¸ðµ©
  break;

  // sub05 press(°Ô½ÃÆÇ)
  case 5: document.location.href="/press/list.php?boardId=news";//°Ô½ÃÆÇ
  break;
  case 51: document.location.href="/press/list.php?boardId=news";//°Ô½ÃÆÇ
  break;
  

  //¸ÞÀÎÈ­¸é ¿ÞÂÊ ½ºÅ¬·Ñ ÆË¾÷¸µÅ©
  case 120: na_open_window('win', '../company/tech.html', 0, 0, 520, 710, 0, 0, 0, 0, 0);//´ëÇÑ ¹Î±¹ ±â¼ú ´ëÀü
  break;
  case 121: na_open_window('win', '../company/kt.html', 0, 0, 500, 730, 0, 0, 0, 0, 0);//KT
  break;
  case 122: na_open_window('win', '../company/it.html', 0, 0, 525, 725, 0, 0, 0, 0, 0);//°Ô½ÃÆÇ
  break;
  case 123: na_open_window('win', '../company/usu.html', 0, 0, 510, 725, 0, 0, 0, 0, 0);//°Ô½ÃÆÇ
  break;
  case 124: na_open_window('win', '../company/0446461.html', 0, 0, 510, 730, 0, 0, 0, 0, 0);//°Ô½ÃÆÇ
  break;
  case 125: na_open_window('win', '../company/jungbo.html', 0, 0, 530, 710, 0, 0, 0, 0, 0);//°Ô½ÃÆÇ
  break;
  case 126: na_open_window('win', '../company/venture.html', 0, 0, 535, 745, 0, 0, 0, 0, 0);//°Ô½ÃÆÇ
  break;
  case 127: na_open_window('win', '../company/a.html', 0, 0, 530, 735, 0, 0, 0, 0, 0);//°Ô½ÃÆÇ
  break;
  case 128: na_open_window('win', '../company/nep.html', 0, 0, 530, 730, 0, 0, 0, 0, 0);//½Å±â¼ú½Ç¿ëÈ­´ëÈ¸
  break;
 

 }
}


//ÀÌ¹ÌÁö ÆÄÀÏ »õÃ¢ ¿©´Â ½ºÅ©¸³Æ®
 winObj=null; // ÃÊ±âÈ­
 function OpenWin(sel,imgname)
 {
  img = new Image();
  img.src=sel.document[imgname].src; 
  draw();
 }

 function draw()
 {
  if(img.complete == false) 
  {
   setTimeout("draw()", "100");
   return;
  }
  
 width=img.width //+ 20; //ÀÌ¹ÌÁö ³Êºñ°ª
 height=img.height// + 25; //ÀÌ¹ÌÁö ³ôÀÌ °ª

 var attr ="width="+width + ",height="+height

 // À©µµ¿ì¸¦ ¿­°í ÀÌ¹ÌÁö Ãâ·Â.
 if(winObj != null && winObj.closed == false) 
 { winObj.close(); }
 winObj = window.open("","imgwindow",attr + ',top=160' + ',left=200, resizable=0' );
 winObj.document.open()
 winObj.document.write("<html><body leftmargin='0' topmargin='0' marginwidth='0' marginheight='0'>")
 winObj.document.write("<img alt='ÀÌ¹ÌÁö¸¦ Å¬¸¯ ÇÏ½Ã¸é ÇöÀçÃ¢À» ´Ý½À´Ï´Ù' src=" + img.src + " style='cursor: hand;'" + " onClick='self.close()'")
 winObj.document.write("<body><html>")
 winObj.document.close()
 }  


//°Ô½ÃÆÇ °Ë»ö
function checkWordSearch()
{ 
  chkForm=document.searchForm
     
  if (chkForm.SrchWord.value == "")
  {
    alert("°Ë»ö¾î¸¦ ÀÔ·Â ÇÏ¼¼¿ä");
    chkForm.SrchWord.focus();
    return;
  }
  chkForm.submit();  
}

function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';
  window.open(url, name, 
'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}

//  -->










