// 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 (DWRAlertService == null) var DWRAlertService = {}; DWRAlertService._path = '/smartacare/ms'; DWRAlertService.createAlert = function(p0, callback) { dwr.engine._execute(DWRAlertService._path, 'DWRAlertService', 'createAlert', p0, callback); } DWRAlertService.markAllAlertsRead = function(callback) { dwr.engine._execute(DWRAlertService._path, 'DWRAlertService', 'markAllAlertsRead', callback); } DWRAlertService.markAlertRead = function(p0, callback) { dwr.engine._execute(DWRAlertService._path, 'DWRAlertService', 'markAlertRead', p0, callback); } DWRAlertService.getAlerts = function(callback) { dwr.engine._execute(DWRAlertService._path, 'DWRAlertService', 'getAlerts', callback); }