location.href = url;
        }
    };
    function logout() {
        var aData = [];
        var jsonData = JSON.stringify({ aData: aData });
        $.ajax({
            type: "POST",
            url: "../Ajax.aspx/Logout",
            data: jsonData,
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            success: function (data) {
                RedirectUrl(window.location.href);
            },
            error: function () {
              