// 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 (CoolPlaces == null) var CoolPlaces = {}; CoolPlaces._path = '/dwr'; CoolPlaces.addPlace = function(p0, callback) { dwr.engine._execute(CoolPlaces._path, 'CoolPlaces', 'addPlace', p0, callback); } CoolPlaces.getNewId = function(callback) { dwr.engine._execute(CoolPlaces._path, 'CoolPlaces', 'getNewId', callback); } CoolPlaces.incViews = function(p0, callback) { dwr.engine._execute(CoolPlaces._path, 'CoolPlaces', 'incViews', p0, callback); } CoolPlaces.getViews = function(p0, callback) { dwr.engine._execute(CoolPlaces._path, 'CoolPlaces', 'getViews', p0, callback); } CoolPlaces.getPlaces = function(callback) { dwr.engine._execute(CoolPlaces._path, 'CoolPlaces', 'getPlaces', callback); } CoolPlaces.init = function(callback) { dwr.engine._execute(CoolPlaces._path, 'CoolPlaces', 'init', callback); }