//Design js
<!-- 
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];}
}
//-->
<!--
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);

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 check() {
  if(!order_form.se_branch.value) {
     alert("ºÐ·ù¸¦ ¼±ÅÃÇØÁÖ½Ê½Ã¿ä.");
	 order_form.se_branch.focus();
	 return false;
   }
  if(!order_form.code.value) {
     alert("Ç°¸ñÀ» ¼±ÅÃÇØÁÖ½Ê½Ã¿ä.");
	 order_form.code.focus();
	 return false;
   }
  if(!order_form.ea.value) {
     alert("¼ö·®À» ¼±ÅÃÇØÁÖ½Ê½Ã¿ä.");
	 order_form.ea.focus();
	 return false;
   }
  if(!order_form.name.value) { 
      alert("¼º¸íÀ» ÀÔ·ÂÇØÁÖ½Ê½Ã¿À."); 
	  order_form.name.focus();
	  return false; 
	}
  if(!order_form.addr2.value) { 
      alert("ÁÖ¼Ò¸¦ ÀÔ·ÂÇØÁÖ½Ê½Ã¿À."); 
	  order_form.addr2.focus();
	  return false; 
	}
  if(!order_form.tel.value && !order_form.hp.value) { 
      alert("¿¬¶ôÃ³´Â ÇÏ³ª ÀÌ»ó ÀÔ·ÂÇØÁÖ½Ê½Ã¿À."); 
      order_form.tel.focus(); 
      return false; 
    }
  if(!order_form.subject.value) { 
      alert("»ó´ã±Û Á¦¸ñÀ» ÀÔ·ÂÇØÁÖ½Ê½Ã¿À."); 
      order_form.subject.focus(); 
      return false; 
    }
  if(!order_form.content.value) { 
      alert("³»¿ëÀ» ÀÔ·ÂÇØÁÖ½Ê½Ã¿À."); 
      order_form.content.focus(); 
      return false; 
    }
  if(!order_form.access_time.value) { 
      alert("¿¬¶ô°¡´ÉÇÑ ½Ã°£À» ÀÔ·ÂÇØÁÖ½Ê½Ã¿À."); 
      order_form.access_time.focus(); 
      return false; 
    }
  if(!confirm("µî·ÏÇÏ½Ã°Ú½À´Ï±î?")) { 
      return false; 
    }
  }
  
function order_reset() {
  order_form.reset(); 
  order_form.name.focus();
  }

  function go_calendar() {
    year = form.year.value;
    month = form.month.value;
    location.href="calendar.html?year="+year+"&month="+month+"&day=1";
    }
  
  function open_schedule(y,m,d) {
    window.open("sche.html?y="+y+"&m="+m+"&d="+d,"","width=320 height=300 scrollbars=yes left=300 top=50");
    }

  function open_img(code,width,height) {
	  window.open("award_pop.html?code="+code,"", "width="+width+",height="+height,"scrollbars=yes, left=300, top=50");
      }

  function open_pro(code,width,height,list) {
//	  if(page == '1') {
	      window.open("p_pop.html?code="+code+"&list="+list,"","width="+width+",height="+height,"scrollbars=yes, left=300, top=50");
//	   } if(page =='2') {
//	      window.open("p_pop_2.html?code="+code+"&list="+list,"","width="+width+",height="+height,"scrollbars=yes, left=300, top=50");
//	   }
      }

function open_pro2(code,width,height,list) {
	      window.open("p_pop2.html?code="+code+"&list="+list,"","width="+width+",height="+height,"scrollbars=yes, left=300, top=50");
      }

  function MM_openBrWindow(theURL,winName,features) { //v2.0
     window.open(theURL,winName,features);
     }

//ÁÖ¼ÒÃ£±â
function addr_find(formname){
	url="../html/post.html?form="+formname;
	window.open(url,"win1",'scrollbars=yes,width=417,height=220,left=400,top=300');
}
function addr_find1(formname){
	alert('\'¿ìÆí¹øÈ£°Ë»ö\'À¸·Î ÁÖ¼Ò¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.');
	url="../html/post.html?form="+formname;
	window.open(url,"win1",'scrollbars=yes,width=417,height=220,left=400,top=300');
}

var isNav, isIE, isIE5, isIE50;
var coll = "";
var styleObj = "";

if (parseInt(navigator.appVersion) >= 4) {
  if (navigator.appName == "Netscape") {
    isNav = true;
  }
  else {
    isIE = true;
    coll = "all.";
    styleObj = ".style";
    if ((navigator.userAgent.indexOf("MSIE 5") != -1) ||
        (navigator.userAgent.indexOf("MSIE 6") != -1) ) {
      isIE5 = true;
      if (navigator.userAgent.indexOf("MSIE 5.0") != -1) {
        isIE50 = true;
      }
    }
  }
}


function getObject(obj) {
	return "document."+coll+obj+styleObj;
}

function show(obj) {
	var theObj = getObject(obj);
	eval(theObj + '.position = "relative";');
	eval(theObj + '.visibility = "visible";');
}

function hide(obj) {
	var theObj = getObject(obj);
	eval(theObj + '.position = "absolute";');
	eval(theObj + '.visibility = "hidden";');
}

function EMcheck() {
	if (document.order_form["email_0"].value == "etc") {
		document.order_form["email_2"].value = "";
		show('div_email');
	} else {
		hide('div_email');
		document.order_form["email_2"].value = document.order_form["email_0"].value;
	}
}
/*
function EMfocus() {
	if (document.order_form["em"][1].checked)
		document.order_form["email_1"].focus();
}
*/
function autoEMAIL() {
	document.order_form["email_0"].value = "etc";
}

//  function open_pro_2(code,width,height,list) {
//	  window.open("p_pop_2.html?code="+code+"&list="+list,"","width="+width+",height="+height,"scrollbars=yes, left=300, top=50");
//      }

function falsh_obj(obj,width,height) { 
	htmlstr="<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+"\">";
	
	htmlstr+="<param name=\"movie\" value=\""+obj+"\">";
	
	htmlstr+="<param name=\"quality\" value=\"high\">";
	
	htmlstr+="<param name=\"wmode\" value=\"transparent\">";
	
	htmlstr+="<embed src=\""+obj+"\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\""+width+"\" height=\""+height+"\"></embed>";
	
	htmlstr+="</object>";

	document.write(htmlstr);
}

//image view//
function pop(title,image,width,height){
	window.open("./pop.html?title="+title+"&image="+image,"win2","width="+width+",height="+height);
}
//-->