function saveInput1() { if(check_comm()) { docunemt.commt.submit(); } } function check_comm() { if(docunemt.commt.cont.value "") { alert("내용을 입력하세요."); docunemt.commt.cont.focus(); return false; } return true; } function login() { if(check_login()) docunemt.commt.submit(); } function check_login() { if(docunemt.commt.id.value "") { alert("아이디를 입력하세요."); docunemt.commt.id.focus(); return false; } if(docunemt.commt.passwd.value "") { alert("비밀번호를 입력하세요."); docunemt.commt.passwd.focus(); return false; } return true; } function openPrint() { var url = "/brd/bemil_print.html"; winopen = (url, 'bemil_pop_print','toolbar=no,=no,directories=no,status=no,menubar=no,resizable=yes,scrollbars=yes,width=700,height=550'); }