// 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 (GalleryService == null) var GalleryService = {}; GalleryService._path = '/dwr'; GalleryService.voteForGallery = function(p1, p2, callback) { dwr.engine._execute(GalleryService._path, 'GalleryService', 'voteForGallery', false, p1, p2, callback); } GalleryService.updateGalleryObjectTitle = function(p1, p2, callback) { dwr.engine._execute(GalleryService._path, 'GalleryService', 'updateGalleryObjectTitle', false, p1, p2, callback); } GalleryService.updateGalleryObjectGallery = function(p1, p2, callback) { dwr.engine._execute(GalleryService._path, 'GalleryService', 'updateGalleryObjectGallery', false, p1, p2, callback); } GalleryService.deleteGalleryComment = function(p1, p2, callback) { dwr.engine._execute(GalleryService._path, 'GalleryService', 'deleteGalleryComment', false, p1, p2, callback); } GalleryService.setClassificationOnGalleryObject = function(p1, p2, callback) { dwr.engine._execute(GalleryService._path, 'GalleryService', 'setClassificationOnGalleryObject', false, p1, p2, callback); } GalleryService.updateGalleryTitleAndDescription = function(p1, p2, p3, callback) { dwr.engine._execute(GalleryService._path, 'GalleryService', 'updateGalleryTitleAndDescription', false, p1, p2, p3, callback); }