// Provide a default path to dwr.engine if (dwr == null) var dwr = {}; if (dwr.engine == null) dwr.engine = {}; if (DWREngine == null) var DWREngine = dwr.engine; if (DocumentService == null) var DocumentService = {}; DocumentService._path = '/dwr'; DocumentService.isCurrentUserAuthorized = function(p0, callback) { dwr.engine._execute(DocumentService._path, 'DocumentService', 'isCurrentUserAuthorized', p0, callback); }