// 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; dwr.engine._defaultPath = '/dwr'; if (VoteService == null) var VoteService = {}; VoteService._path = '/dwr'; VoteService.getLatestWs = function(p0, callback) { dwr.engine._execute(VoteService._path, 'VoteService', 'getLatestWs', p0, callback); } VoteService.getWsOptions = function(p0, p1, callback) { dwr.engine._execute(VoteService._path, 'VoteService', 'getWsOptions', p0, p1, callback); } VoteService.showVotes = function(p0, callback) { dwr.engine._execute(VoteService._path, 'VoteService', 'showVotes', p0, callback); } VoteService.showVoteResult = function(p0, callback) { dwr.engine._execute(VoteService._path, 'VoteService', 'showVoteResult', p0, callback); } VoteService.addVote = function(p0, p1, callback) { dwr.engine._execute(VoteService._path, 'VoteService', 'addVote', p0, p1, callback); } VoteService.getWsOption = function(p0, p1, callback) { dwr.engine._execute(VoteService._path, 'VoteService', 'getWsOption', p0, p1, callback); }