// 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 (profileService == null) var profileService = {}; profileService._path = '/dwr'; profileService.getUserId = function(p0, p1, p2, p3, p4, callback) { dwr.engine._execute(profileService._path, 'profileService', 'getUserId', p0, p1, p2, p3, p4, callback); } profileService.updateNewsletter = function(p0, p1, p2, p3, callback) { dwr.engine._execute(profileService._path, 'profileService', 'updateNewsletter', p0, p1, p2, p3, callback); }