﻿$(document).ajaxComplete(function(event, request, settings) {
    try {
        var the_object = JSON.parse(request.responseText);
        if (the_object.IsAnonymous != null) {
            window.location = the_object.Url;
        }
    } catch (e) {
    }
});
