﻿function checkForm() {
    var formObj = document.forms[0];

    if (formObj.txtUserId.value.chkBlank() == true) {
        alert("아이디를 입력해 주세요.");
        formObj.txtUserId.focus();
        return false;
    }

    if (formObj.txtPassword.value.chkBlank() == true) {
        alert("비밀번호를 입력해 주세요.");
        formObj.txtPassword.focus();
        return false;
    }

    return true;
}

function IdPassPop(sUrl) {
    var mUrl = "";
    if (sUrl == "ID") { mUrl = "/member/pop_idpwsh.aspx"; } else { mUrl = "/member/lostPass.aspx"; }
    var lossPop = window.open(mUrl, 'lossPop', 'scrollbars=auto,width=430,height=250,top=100,left=100');
    lossPop.focus();
}
