// 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 (userProfileService == null) var userProfileService = {}; userProfileService._path = '/at/dwr'; userProfileService.subscribeToNewsletter = function(callback) { dwr.engine._execute(userProfileService._path, 'userProfileService', 'subscribeToNewsletter', callback); } userProfileService.unSubscribeToNewsletter = function(callback) { dwr.engine._execute(userProfileService._path, 'userProfileService', 'unSubscribeToNewsletter', callback); } userProfileService.subscribeToEmails = function(callback) { dwr.engine._execute(userProfileService._path, 'userProfileService', 'subscribeToEmails', callback); } userProfileService.unSubscribeToEmails = function(callback) { dwr.engine._execute(userProfileService._path, 'userProfileService', 'unSubscribeToEmails', callback); } userProfileService.loginUser = function(p0, p1, callback) { dwr.engine._execute(userProfileService._path, 'userProfileService', 'loginUser', p0, p1, callback); } userProfileService.generateAcUserTOModel = function(p0, callback) { dwr.engine._execute(userProfileService._path, 'userProfileService', 'generateAcUserTOModel', p0, callback); }