/**
 * ログインチェック
 */
function validate() {
    var result = true;

    if (!nullCheck('user_cd')) {
        result = false
    }
    if (!nullCheck('password')) {
        result = false
    }
    return result;
}

function validate_sendPassword() {
    var result = true;

    if (nullCheck('mail')) {
        if (!mailCheck('mail')) {
            result = false
        }
    }
    else {
        result = false
    }
    return result;
}

j$(function() {
    j$("#select_product").css('display', 'none');
    j$('#chk_product').bind('click',
        function() {
            if (document.getElementById('chk_product').checked) {
                j$("#select_product").css('display', 'block');
            }
            else {
                j$("#select_product").css('display', 'none');
            }
        }
    );
});
