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