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_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 pushbutton() { 
alert("ÁØºñÁßÀÔ´Ï´Ù.");  // n Àº ÁÙÀ» ¹Ù²Ü¶§ »ç¿ëÇÕ´Ï´Ù
} 

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}



function CheckUIElements() {
  var yMenu1From, yMenu1To, yOffset, timeoutNextCheck;
  var wndWidth = parseInt(document.body.clientWidth);
  yMenu1From   = parseInt (qLayer.style.top, 10);
  yMenu1To     = document.body.scrollTop + 229; // À§ÂÊ À§Ä¡
  timeoutNextCheck = 500;

  if ( yMenu1From != yMenu1To ) {
    yOffset = Math.ceil( Math.abs( yMenu1To - yMenu1From ) / 20 );
    if ( yMenu1To < yMenu1From )
      yOffset = -yOffset;

    qLayer.style.top = parseInt (qLayer.style.top, 10) + yOffset;

    timeoutNextCheck = 10;
  }
  qLayer.style.left = 830;
  setTimeout ("CheckUIElements()", timeoutNextCheck);
}

function MovePosition() {
  var wndWidth = parseInt(document.body.clientWidth);

  // Æä¿¡Áö ·Îµù½Ã Æ÷Áö¼Ç
  qLayer.style.top = 229;
  qLayer.style.left = 830;
  qLayer.style.visibility = "visible";

  // initializing UI update timer
  CheckUIElements();
  return true;
}


function go_site(frm){
	var list=frm.selectedIndex;
	url=frm.options[list].value;
	if(url != ""){
	window.open(url,"","")
	}
}

// Æú´Ù¿î¸Þ´º
function viewSlip() {
	jsPopupNoScroll("/slip/Slip.jsp?flag=recvlist",770,400,50,50);
}
function sendSlip(userid) {
	jsPopup("/slip/Slip.jsp?boxtype=send&toUser="+userid,770,400,50,50);
}
function goList() {
    document.frmList.submit();
}
function doResize() { 
  container.height = ifrmResize.document.body.scrollHeight; 
  container.width = ifrmResize.document.body.scrollWidth;
}
  
<!------ 
var old_show = '';
function Show1(submenu)
{
	if( old_show != submenu ) {
		if( old_show !='' ) {
			old_show.style.display = 'none';
		}
		submenu.style.display = 'block';
		old_show = submenu;
	}
	else {
		submenu.style.display = 'none';

		old_show = '';
	}
}
function JS_viewObj(objhtml) { 
	document.write(objhtml); 
}
//-------> 
