/****** ¸Þ´º ½ºÅ©¸³Æ® ******/

var old_menu = '';
var old_cell = '';

function menuclick(submenu, cellbar) {
	if(old_menu != submenu) {
		if(old_menu !='') {
			old_menu.style.display = 'none';
		}

		submenu.style.display = 'block';
		old_menu = submenu;
		old_cell = cellbar;

	} else {
		submenu.style.display = 'none';
		old_menu = '';
		old_cell = '';
	}
}

/****** µå·Ó´Ù¿î ¸Þ´º ÀÌµ¿ ******/
function openBoard(targ,selObj,restore) {
	eval(targ+".location.href='"+selObj.options[selObj.selectedIndex].value+"'");
}

/****** ÇïÇÁ µ¥½ºÅ© ÆË¾÷ ******/
function helpdesk(url){
	LeftPosition = (screen.width) ? (screen.width-555) : 0;
	popwin=window.open(url, 'helpdesk', 'left='+LeftPosition+', top=5, width=540, height=400, toolbar=no, menubar=no, status=no, scrollbars=no, resizable=no');
	popwin.focus();
}

/****** ÀÚ¼¼È÷ ¼³¸í ÆË¾÷ ******/
function detail(url){
	LeftPosition = (screen.width) ? (screen.width-415) : 0;
	popwin=window.open(url, 'helpdesk', 'left='+LeftPosition+', top=5, width=400, height=400, toolbar=no, menubar=no, status=no, scrollbars=yes, resizable=no');
	popwin.focus();
}

/****** ÀÓ½Ã ¸Þ´º ÆË¾÷ ******/
function popup_menu(url)
{
	LeftPosition = (screen.width) ? (screen.width-790) : 0;
	popwin=window.open(url, 'popwin', 'left='+LeftPosition+', top=20, width=760, height=550, toolbar=no, menubar=no, status=yes, scrollbars=yes, resizable=no');
	popwin.focus();
}

/****** ÀÓ½Ã °¡ÀÌµå ÆË¾÷ ******/
function popup_guide(url)
{
	LeftPosition = (screen.width) ? (screen.width-840) : 0;
	popwin=window.open(url, 'guide', 'left='+LeftPosition+', top=10, width=820, height=600, toolbar=no, menubar=no, status=yes, scrollbars=yes, resizable=no');
	popwin.focus();
}

/****** »óÅÂ Ç¥½ÃÁÙ ½ºÅ©¸³Æ® ******/
var message='¿Ï·á | ÄÚµð¿£¿¡½º´åÄÄ'
window.status=message

function hidestatus() { 
window.status=message;
return true;
} 

if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT);
document.onmouseover=hidestatus;
document.onmouseout=hidestatus;
