function link(type)
{   
//	var contpath = "/home";
	var contpath = "";

/* ¸ÞÀÎ------------------------------------------------------------------------------- */
	if(type==01)
	 self.location="../main/main.asp"; /* È¨À¸·Î */


/* È¸»ç¼Ò°³------------------------------------------------------------------------ */
	if(type==11)
	 self.location="../company/massage.asp?pnum=1"; /* ceoÀÎ»ç¸» */
	if(type==12)
	 self.location="../company/summary.asp?pnum=2"; /* È¸»ç°³¿ä */
	if(type==13)
	 self.location="../company/history.asp?pnum=3"; /* È¸»ç¿¬Çõ */
	if(type==14)
	 self.location="../company/organization.asp?pnum=4"; /* È¸»çÁ¶Á÷µµ */
	if(type==15)
	 self.location="../company/business.asp?pnum=5"; /* »ç¾÷ºÐ¾ß */
	if(type==16)
	 self.location="../company/map.asp?pnum=6"; /* Ã£¾Æ¿À½Ã´Â ±æ */



/* Á¦Ç°¼Ò°³------------------------------------------------------------------------ */
	if(type==21)
	 self.location="../product/connecter.asp?pnum=1"; /* ÄÁ³ØÅÍ */
	if(type==22)
	 self.location="../product/cable.asp?pnum=2"; /* Ä³ÀÌºí */
	if(type==23)
	 self.location="../product/danja.asp?pnum=3"; /* ´ÜÀÚ´ë */
	if(type==24)
	 self.location="../product/module.asp?pnum=4"; /* MODULE Á¦ÀÛ */
	if(type==25)
	 self.location="../product/harness.asp?pnum=5"; /* HARNESS */
	if(type==26)
	 self.location="../product/productlink.asp?pnum=6"; /* Á¦Ç°¸µÅ© */
	if(type==27)
	 self.location="../product/etc.asp?pnum=6"; /* ±âÅ¸ */



/* °ßÀû¿äÃ»------------------------------------------------------------------------- */
	if(type==31)
	 self.location="../order/order.asp?pnum=1"; /* °ßÀû¿äÃ» */



/* °í°´¼¾ÅÍ------------------------------------------------------------------------- */
	if(type==41)
	 self.location="../customer/qna.asp?pnum=1"; /* Á¦Ç°Q&A */
	if(type==42)
	 self.location="../customer/tech_new.asp?pnum=2"; /* ±â¼ú´º½º */
	if(type==43)
	 self.location="../customer/notice.asp?pnum=3"; /* °øÁö»çÇ× */
	if(type==44)
	 self.location="../customer/data.asp?pnum=4"; /* ÀÚ·á½Ç */
	


/*  ¼îÇÎ¸ô------------------------------------------------------------------------- */
	if(type==51)
	 self.location="http://shop.dk-tech.com?pnum=1"; /* ¼îÇÎ¸ô */ 


/*  »çÀÌÆ®¸Ê------------------------------------------------------------------------- */
	if(type==61)
	 self.location="../sitemap/sitemap.asp?pnum=1"; /* »çÀÌÆ®¸Ê */


}

function flashWrite( id, flashUri, vWidth, vHeight ) {
   var _obj_ = "";

   _obj_ = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="' + vWidth + '" height="' + vHeight + '" id="' + id + '" align="middle">';
	_obj_ += '<param name="movie" value="' + flashUri + '" />';
   _obj_ += '<param name="quality" value="high" />';
   _obj_ += '<param name="wmode" value="transparent" />    ';
   _obj_ += '<param name="bgcolor" value="#ffffff" />        ';
   _obj_ += '<embed src="' + flashUri + '" quality="high" wmode="transparent" bgcolor="#ffffff" width="' + vWidth +'" height="' + vHeight + '" id="' + id + '" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed>    ';
   _obj_ += '</object>';
   document.writeln( _obj_ );
}

function activeX (file,width,height) {
document.write ("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='"+width+"' height='"+height+"'><param name='movie' value='"+file+"'><param name='quality' value='high'><embed src='"+file+"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+width+"' height='"+height+"'></embed></object>");
}

function activeX2 (file,width,height) {
document.write ("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='"+width+"' height='"+height+"'><param name='movie' value='"+file+"'><param name='quality' value='high'><param name='wmode' value='transparent'><embed src='"+file+"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+width+"' height='"+height+"'></embed></object>");
}


<!--·¹ÀÌ¾î
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->