function na_restore_img_src(name, nsdoc) {
  var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
  if (name == '')
    return;
  if (img && img.altsrc) {
    img.src    = img.altsrc;
    img.altsrc = null;
  } 
}

function na_preload_img() { 
  var img_list = na_preload_img.arguments;
  if (document.preloadlist == null) 
    document.preloadlist = new Array();
  var top = document.preloadlist.length;
  for (var i=0; i < img_list.length; i++) {
    document.preloadlist[top+i]     = new Image;
    document.preloadlist[top+i].src = img_list[i+1];
  } 
}

function na_change_img_src(name, nsdoc, rpath, preload) { 
  var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
  if (name == '')
    return;
  if (img) {
    img.altsrc = img.src;
    img.src    = rpath;
  } 
}

function menuinfo(mainmenu){
		menufrm = document.menu;
		menufrm.mainmenu.value=mainmenu;
		menufrm.submit();
	}
	
function MM_showHideLayers() {
  		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_findObj(n, d) {
  		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); return x;
	}
	
<!--onfocus-->
function bluring(){ 
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus(); 
} 
document.onfocusin=bluring; 

<!--ÇÃ·¡½Ã-->
function flashCM(strFile, width, height, wmode, salign) {
 document.write("<!--[if IE]><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='" + width + "' height='" + height + "' id='flash_movie' align='middle'><param name='movie' value='" + strFile + "'><param name='wmode' value='" + wmode + "'><param name='menu' value='false'><param name='scale' value='noscale'><param name='salign' value='" + salign + "'></object><![endif]--><!--[if !IE]> <--><object type='application/x-shockwave-flash' data='" + strFile + "' width='" + width + "' height='" + height + "'><param name='wmode' value='" + wmode + "'><param name='menu' value='false'><param name='scale' value='noscale'><param name='salign' value='" + salign + "'></object><!--> <![endif]-->");
}


<!-- °Ô½ÃÆÇ¿ë ÀÚ¹Ù -->

function na_restore_img_src(name, nsdoc) {
  var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
  if (name == '')
    return;
  if (img && img.altsrc) {
    img.src    = img.altsrc;
    img.altsrc = null;
  } 
}

function na_preload_img() { 
  var img_list = na_preload_img.arguments;
  if (document.preloadlist == null) 
    document.preloadlist = new Array();
  var top = document.preloadlist.length;
  for (var i=0; i < img_list.length; i++) {
    document.preloadlist[top+i]     = new Image;
    document.preloadlist[top+i].src = img_list[i+1];
  } 
}

function na_change_img_src(name, nsdoc, rpath, preload) { 
  var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
  if (name == '')
    return;
  if (img) {
    img.altsrc = img.src;
    img.src    = rpath;
  } 
}

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

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  Gologin()  {
       if (document.login.userid.value=="") {
           alert("¾ÆÀÌµð¸¦ ÀÔ·ÂÇÏ¼¼¿ä!");
           document.login.userid.focus();
           return false ;
       }
       if (document.login.userpass.value=="") {
           alert("ÆÐ½º¿öµå¸¦ ÀÔ·ÂÇÏ¼¼¿ä!");
           document.login.userpass.focus();
           return false ;
       }
       document.login.submit();
    }
    function gKeyPressed() {
	
	if( event.keyCode==13 ) {
  	Gologin();
    }
  
    }
<!--È¸¿ø·Î±×ÀÎ end-->

<!-- ¾ÆÀÌµð ±â¾ïÇÏ±â -->
function saveid(form) {
  var expdate = new Date();
  // ±âº»ÀûÀ¸·Î 30ÀÏµ¿¾È ±â¾ïÇÏ°Ô ÇÔ. ÀÏ¼ö¸¦ Á¶ÀýÇÏ·Á¸é * 30¿¡¼­ ¼ýÀÚ¸¦ Á¶ÀýÇÏ¸é µÊ
  if (form.save_id.checked)
    expdate.setTime(expdate.getTime() + 1000 * 3600 * 24 * 30); // 30ÀÏ
  else
    expdate.setTime(expdate.getTime() - 1); // ÄíÅ° »èÁ¦Á¶°Ç
  setCookie("saveid", form.id.value, expdate);
}
function getid(form) {
  form.save_id.checked = ((form.id.value = getCookie("saveid")) != "");
}

<!-- ¾ÆÀÌµð ±â¾ïÇÏ±â end -->

function goURL(theUrl) {
	document.location.href = theUrl;
} // ¹öÆ°  URL ÀÌµ¿

//ÁÖ¼Ò°Ë»ö ÆË¾÷
function findAddress(){

	hwin_addr = window.open('findaddress.html','findaddr','top=280,left=350,width=570,height=280,scrollbars');
	hwin_addr.focus();

}

//ÁÖ¼Ò°Ë»ö ÆË¾÷
function findAddress2(){

	hwin_addr = window.open('findaddress2.html','findaddr','top=280,left=350,width=570,height=280,scrollbars');
	hwin_addr.focus();

}

//ÁÖ¼Ò°Ë»ö ÆË¾÷
function findAddress3(){

	hwin_addr = window.open('./hospital/findaddress3.html','findaddr','top=280,left=350,width=570,height=280,scrollbars');
	hwin_addr.focus();

}

//°ü¸®ÀÚÈ®ÀÎ
  function admin_popup()
{
window.open('admin_check.htm', '°ü¸®ÀÚÈ®ÀÎ' ,'scrollbars=no,resizable=no,history=no,left='+(screen.width/3)+',top='+(screen.height/3)+',width=300,height=150');
}

  function admin_popup2()
{
window.open('../admin_check.htm', '°ü¸®ÀÚÈ®ÀÎ' ,'scrollbars=no,resizable=no,history=no,left='+(screen.width/3)+',top='+(screen.height/3)+',width=300,height=150');
}

<!--onfocus-->
function bluring(){ 
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus(); 
} 
document.onfocusin=bluring; 

<!--¸µÅ© »óÅÂÃ¢ ¼û±â±â ¹× ¿À¸¥ÂÊ ¸¶¿ì½º ¹öÆ° Ã³¸® ½ÃÀÛ-->

function status_non_true() {
 window.status='';
 return true;
}

function status_non_false() {
 window.status='';
 return false;
}
 
var isNS = (navigator.appName == "Netscape") ? 1 : 0;
var EnableRightClick = 0;
if(isNS) 
document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);

function mischandler(){
  if(EnableRightClick==1){ return true; }
  else {return false; }
}

function mousehandler(e){
  if(EnableRightClick==1){ return true; }
  var myevent = (isNS) ? e : event;
  var eventbutton = (isNS) ? myevent.which : myevent.button;
  if((eventbutton==2)||(eventbutton==3)) return false;
}

function keyhandler(e) {
  var myevent = (isNS) ? e : window.event;
  if (myevent.keyCode==96)
    EnableRightClick = 1;
  return;
}

setInterval("x()",1);
function x(){window.status=""}

document.oncontextmenu = mischandler;
document.onkeypress = keyhandler;
document.onmousedown = mousehandler;
document.onmouseup = mousehandler;
document.onmouseover=status_non_true;
document.onmouseout=status_non_true;
//document.onselectstart=status_non_false;
//document.oncontextmenu=status_non_false;
