////////////////////////// //////////////////////////////////////


function main(){window.document.location.href="/index.html";}

//////////////// ////////////
function sub0101(){window.document.location.href="/sub01/01_01.php?chk_on=m1";}
function sub0102(){window.document.location.href="/sub01/01_02.php?chk_on=m2";}
function sub0103(){window.document.location.href="/sub01/01_03.php?chk_on=m3";}
function sub0104(){window.document.location.href="/sub01/01_04.php?chk_on=m4";}
function sub0105(){window.document.location.href="/sub01/01_05.php?chk_on=m5";}
function sub0106(){window.document.location.href="/sub01/01_06.php?chk_on=m6";}
function sub0107(){window.document.location.href="/sub01/01_07.php?chk_on=m7";}
function sub0108(){window.document.location.href="/sub01/01_08.php?chk_on=m8";}

/////////////////ÇÁ·Î±×·¥¾È³»//////////////
function sub0201(){window.document.location.href="/sub02/02_01.php?chk_on=m1";}
function sub0202(){window.document.location.href="/sub02/02_02.php?chk_on=m2";}
function sub0203(){window.document.location.href="/sub02/02_03.php?chk_on=m3";}
function sub0204(){window.document.location.href="/sub02/02_04.php?chk_on=m4";}
function sub0205(){window.document.location.href="/sub02/02_05.php?chk_on=m5";}
function sub0206(){window.document.location.href="/sub02/02_06.php?chk_on=m6";}
function sub0207(){window.document.location.href="/sub02/02_07.php?chk_on=m7";}
function sub0208(){window.document.location.href="/sub02/02_08.php?chk_on=m8";}
function sub0209(){window.document.location.href="/sub02/02_09.php?chk_on=m9";}
function sub0210(){window.document.location.href="/sub02/02_10.php?chk_on=m10";}
function sub0211(){window.document.location.href="/sub02/02_11.php?chk_on=m11";}
function sub0212(){window.document.location.href="/sub02/02_12.php?chk_on=m12";}
function sub0213(){window.document.location.href="/sub02/02_13.php?chk_on=m13";}
function sub0214(){window.document.location.href="/sub02/02_14.php?chk_on=m14";}
function sub0215(){window.document.location.href="/sub02/02_15.php?chk_on=m15";}
function sub0216(){window.document.location.href="/sub02/02_16.php?chk_on=m16";}
function sub0217(){window.document.location.href="/sub02/02_17.php?chk_on=m17";}
function sub0218(){window.document.location.href="/sub02/02_18.php?chk_on=m18";}
function sub0219(){window.document.location.href="/sub02/02_19.php?chk_on=m19";}
function sub0220(){window.document.location.href="/sub02/02_20.php?chk_on=m20";}
function sub0221(){window.document.location.href="/sub02/02_21.php?chk_on=m21";}
function sub0222(){window.document.location.href="/sub02/02_22.php?chk_on=m22";}
function sub0223(){window.document.location.href="/sub02/02_23.php?chk_on=m23";}


/////////////////Æ÷Åä°¶·¯¸®//////////////
function sub0301(){window.document.location.href="/sub03/03_01.php?chk_on=m1";}
function sub0302(){window.document.location.href="/sub03/03_02.php?chk_on=m2";}
function sub0303(){window.document.location.href="/sub03/03_03.php?chk_on=m3";}

///////////////¿­¸°¸¶´ç//////////////
function sub0401(){window.document.location.href="/sub04/04_01.php?chk_on=m1";}
function sub0402(){window.document.location.href="/sub04/04_02.php?chk_on=m2";}
function sub0403(){window.document.location.href="/sub04/04_03.php?chk_on=m3";}
function sub0404(){window.document.location.href="/sub04/04_04.php?chk_on=m4";}
function sub0405(){window.document.location.href="/sub04/04_05.php?chk_on=m5";}

//////////////Á¤º¸¸¶´ç///////////
function sub0501(){window.document.location.href="/sub05/05_01.php?chk_on=m1";}
function sub0502(){window.document.location.href="/sub05/05_02.php?chk_on=m2";}

/////////////¸¶ÀÌÆäÀÌÁö//////////
function sub0601(){window.document.location.href="/sub06/06_01.php?chk_on=m1";}
function sub0602(){window.document.location.href="/sub06/06_02.php?chk_on=m2";}
function sub060202(){window.document.location.href="/sub06/06_02_02.php?chk_on=m2";}
function sub0603(){window.document.location.href="/sub06/06_03.php?chk_on=m3";}


 

// Embed

//Window Open
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);
}


function setEmbed() 
{ 
  var obj = new String; 
  var parameter = new String;
  var embed = new String; 
  var html = new String; 
  var allParameter = new String; 
  var clsid = new String; 
  var codebase = new String; 
  var pluginspace = new String; 
  var embedType = new String; 
  var src = new String; 
  var width = new String; 
  var height = new String; 

    
  this.init = function( getType , s ,w , h ) { 
      
      if ( getType == "flash") 
      { 

        clsid = "D27CDB6E-AE6D-11cf-96B8-444553540000";        
        codebase = "http://downlocd.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"; 
        pluginspage = "http://www.macromedia.com/go/getflashplayer"; 
        embedType = "application/x-shockwave-flash"; 
      } 
      /* type Ãß°¡ 
      else if ( ) 
      { 
      } 
      */ 
            
      parameter += "<param name='movie' value='"+ s + "'>\n";  
      parameter += "<param name='quality' value='high'>\n";    
      
      src = s; 
      width = w; 
      height = h; 
  } 
  
  this.parameter = function( parm , value ) {      
      parameter += "<param name='"+parm +"' value='"+ value + "'>\n";        
      allParameter += " "+parm + "='"+ value+"'"; 
  }  
  
  this.show = function() { 
      if ( clsid ) 
      { 
        obj = "<object classid=\"clsid:"+ clsid +"\" codebase=\""+ codebase +"\" width='"+ width +"' height='"+ height +"'>\n"; 
      } 
      
      embed = "<embed src='" + src + "' pluginspage='"+ pluginspage + "' type='"+ embedType + "' width='"+ width + "' height='"+ height +"'"+ allParameter +" ></embed>\n"; 
      
      if ( obj ) 
      { 
        embed += "</object>\n"; 
      } 
      
      html = obj + parameter + embed; 
      
      document.write( html );  
  } 
  
} 




 
// Image rollover
var changedImg;
function EImgChg(flag)
{	
	source=event.srcElement;
	if (source.name == "")
	{ return false;	}

	if(changedImg == source.name)
	return;

	else if (document.images && source.tagName=="IMG")	{
			imgElement = source.name;
			imgPath = source.src;

			imgPathLen = imgPath.length;
			imgPathFlag = imgPath.lastIndexOf("/");
			imgName = imgPath.substring(0,imgPathFlag+1);

			document.images[imgElement].src = imgName + imgElement + "_" + flag + ".gif";
	}
}


// Á¦Ç°»ó¼¼º¸±â ·¹ÀÌ¾î

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_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

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];}
}



/* È­¸é È®´ë Ãà¼Ò ½ÃÀÛ IE Àü¿ë */
var nowZoom = 100; // ÇöÀçºñÀ²
var maxZoom = 200; // ÃÖ´ëºñÀ²(500À¸·ÎÇÏ¸é 5¹è Ä¿Áø´Ù)
var minZoom = 80; // ÃÖ¼ÒºñÀ²

function zoomIn(){
	if(nowZoom < maxZoom){
		nowZoom += 10; //25%¾¿ Ä¿Áø´Ù.
	}else{
		return;
	}
	document.body.style.zoom = nowZoom + "%";
}

function zoomOut(){
	if(nowZoom > minZoom){
		nowZoom -= 10; //25%¾¿ ÀÛ¾ÆÁø´Ù.
	}else{
		return;
	}
	document.body.style.zoom = nowZoom + "%";
}

