// 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 (PopStoryService == null) var PopStoryService = {}; PopStoryService._path = '/dwr'; PopStoryService.getAvailablePopStories = function(callback) { dwr.engine._execute(PopStoryService._path, 'PopStoryService', 'getAvailablePopStories', callback); }