// 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 (MyScrapService == null) var MyScrapService = {}; MyScrapService._path = '/dwr'; MyScrapService.saveByUserAjax = function(p1, p2, p3, p4, p5, callback) { dwr.engine._execute(MyScrapService._path, 'MyScrapService', 'saveByUserAjax', false, p1, p2, p3, p4, p5, callback); }