﻿history.pushState(null, null, location.href);
window.onpopstate = function (event) {
    history.go(1);
}
 

$(document).ready( function () {
    // 로그아웃 클릭
    $(".spanLogout").click(
        function () {
            $.displayLoadingBar();
            BaseClass.LogOutPro(new Date().valueOf());
            window.location.href = "/"; 
        }
    ); 
     
    //alert("pLoginUSER_NO ::: " + pLoginUSER_NO); 
    try { 
        if (pLoginUSER_NO == "") {
            $(".divLoginBtn").css("display", "");
            $(".divLogoutBtn").css("display", "none");
        } else {
            $(".divLoginBtn").css("display", "none");
            $(".divLogoutBtn").css("display", "");
            $("#lblUSER_NM").html(pLoginUSER_NM == null ? "" : pLoginUSER_NM);
        }
    } catch (e) {
        $(".divLoginBtn").css("display", "");
        $(".divLogoutBtn").css("display", "none");
        //$("#lblUSER_NM").html("~~~");
    }


});


