<!-- 
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
} 

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() { //v3.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_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

var win = null; 
function NewWindow(mypage,myname,w,h,scroll){ 
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0; 
TopPosition = (screen.height) ? (screen.height-h)/2 : 0; 
settings = 
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable' 
win = window.open(mypage,myname,settings) 
} 

function school_search(temp) {
    window.open("/bauhaus2004/a_window/school_src.php?type=id"+temp,"",
      "height=400,width=630,toolbar=no,menubar=no,scrollbars=yes,status=no");
}
  
function name_search(temp) {
    window.open("/bauhaus2004/a_window/name_src.php?type=id"+temp,"",
      "height=300,width=468,toolbar=no,menubar=no,scrollbars=yes,status=no");
} 

function post_search(temp) {
    window.open("/bauhaus2004/a_window/school_post.html?type=id"+temp,"",
      "height=400,width=468,toolbar=no,menubar=no,scrollbars=yes,status=no");
}

function search_zip() {
    result = window.open("/bauhaus2004/a_window/zipcode/input_add.php","address","width=400,height=250,left=300,top=250")
}

function search_zip2() {
    result = window.open("/bauhaus2004/a_window/zipcode2/input_add.php","address","width=400,height=250,left=300,top=250")
}

function search_zip3() {
    result = window.open("/bauhaus2004/a_window/zipcode3/input_add.php","address","width=400,height=250,left=300,top=250")
}

function money(temp) {
    window.open("/bauhaus/html/money_print.php?type=id"+temp,"",
      "height=480,width=820,resizable=yes,toolbar=no,menubar=no,scrollbars=yes,status=yes");
}
  
function class_make(temp) {
    window.open("/bauhaus2004/a_window/class_make.php?type=id"+temp,"",
      "height=400,width=450,toolbar=no,menubar=no,scrollbars=no,status=no");
}

function gumun_tell() {
   result = window.open("/bauhaus2004/work_tell/gumun_add.php","gumun","width=350,height=250,left=200,top=310")
}

function output_page() {
   result = window.open("/bauhaus2004/work_tell/output.php","print","width=800,height=600,left=50,top=50")
}

function output_mail(file_name) {
	var popwidth = 600;
	var popheight = 600;
	var x = window.screen.Width/2 - popwidth/2;
	var y = window.screen.Height/2 - popheight/2;

	window.open(file_name, "", "left="+x+",top="+y+",width="+popwidth+",height="+popheight);
}

function money_gumun(file_name) {
	var popwidth = 600;
	var popheight = 245;
	var x = window.screen.Width/2 - popwidth/2;
	var y = window.screen.Height/2 - popheight/2;

	window.open(file_name, "", "left="+x+",top="+y+",width="+popwidth+",height="+popheight);
}

function screen_print(file_name) {
	var popwidth = 800;
	var popheight = 600;
	var x = window.screen.Width/2 - popwidth/2;
	var y = window.screen.Height/2 - popheight/2;

	window.open(file_name, "", "left="+x+",top="+y+",width="+popwidth+",height="+popheight);
}

function payment_window(file_name) {
	var popwidth = 400;
	var popheight = 500;
	var x = window.screen.Width/2 - popwidth/2;
	var y = window.screen.Height/2 - popheight/2;

	window.open(file_name, "", "left="+x+",top="+y+",width="+popwidth+",height="+popheight);
}

function open_window(file_name) {
	var popwidth = 450;
	var popheight = 400;
	var x = window.screen.Width/2 - popwidth/2;
	var y = window.screen.Height/2 - popheight/2;

	window.open(file_name, "", "left="+x+",top="+y+",width="+popwidth+",height="+popheight);
}

function open_board(file_name) {
	var popwidth = 800;
	var popheight = 600;
	var x = window.screen.Width/2 - popwidth/2;
	var y = window.screen.Height/2 - popheight/2;

	window.open(file_name, "", "left="+x+",top="+y+",width="+popwidth+",height="+popheight);
}

function open_imgview(file_name) {
	var popwidth = 800;
	var popheight = 600;
	var x = window.screen.Width/2 - popwidth/2;
	var y = window.screen.Height/2 - popheight/2;

	window.open(file_name, "", "left="+x+",top="+y+",width="+popwidth+",height="+popheight);
}

function group_book() {
   result = window.open("/bauhaus2004/work_bookmark/group_add.php","bookmark","width=1,height=1")
}
  
function message_error() {
       alert("ÁË¼ÛÇÕ´Ï´Ù. ¾÷±×·¹ÀÌµåÁßÀÔ´Ï´Ù.");
}  
  
function infor_error() {
       alert("´ëÇÐÁ¤º¸Á¦°ø ¼­ºñ½º¸¦ ÀÌ¿ëÇÏ½Ç¼ö ¾ø½À´Ï´Ù.");
}  

function photo_error() {
       alert("ÇöÀç Á¸ÀçÇÏ´Â °³ÀÎ»çÁøÀÌ ¾ø½À´Ï´Ù.");
}

function open_pay(objMenu) {
	if(objMenu.style.display == "none") {
		objMenu.style.display = "";
	} else {
		objMenu.style.display = "none";
	}	
}

function open_memo(objMenu) {
	if(objMenu.style.display == "none") {
		objMenu.style.display = "";
	} else {
		objMenu.style.display = "none";
	}	
} 

function DelFile(intChkNum)
{
	if (document.all("del"+intChkNum).innerText=="°¡¸®±â")
		document.all("del"+intChkNum).innerText="º¸±â"
	else
		document.all("del"+intChkNum).innerText="°¡¸®±â";
}

function Del_File(intChkNum)
{
	if (document.all("del"+intChkNum).innerText=="Á¦°Å")
		document.all("del"+intChkNum).innerText=""
	else
		document.all("del"+intChkNum).innerText="Á¦°Å";
}

function checkLogout(location) {
   var flag = false;
   flag = window.confirm("¸ðµçÀÛ¾÷À» Á¾·áÇÏ°í ·Î±×¾Æ¿ô ÇÏ½Ã°Ú½À´Ï±î?");
   if(flag) {
      var tURL = location + "a_include/logout.php";
      window.open(tURL, '_top');
   }
   else {
   }
}

function send(type) {

       	switch (type)
    	{
    	
    	case "submit":
    	 if (document.aform.school.value.length==0) {
          alert("ÇÐ¿øIDÀ» ÀÔ·ÂÇÏ¼¼¿ä."); 
          document.aform.school.focus(); 
          return;
        }
        
        if (document.aform.passwd.value.length==0) {
          alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇÏ¼¼¿ä."); 
          document.aform.passwd.focus(); 
          return;
        }

        }
    document.aform.type.value = type;
    document.aform.submit();
}

function frmLogin_finish(IsKbd)
{
    if (IsKbd) event.returnValue = false;
    if (document.aform.school.value.length == 0 ||
        document.aform.passwd.value.length == 0)
    {
        alert("¾ÆÀÌµð¿Í ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
    }
    else
    {
        document.aform.submit();
    }
}

function openDiv(id) {
	document.getElementById(id).style.display='block';
}

function closeDiv(id) {
	document.getElementById(id).style.display='none';
}

function init()
{  	
}
-->

