$(document).ajaxError(function(n,t){t.status>=500&&t.status<=599&&$("#bodyDiv").load(failActionUrl);t.status==401&&document.location.reload(!0)})