// 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 (AjaxMotive == null) var AjaxMotive = {}; AjaxMotive._path = '/eAppointment/dwr'; AjaxMotive.isEnteredMotiveExceedConfigMax = function(p1, callback) { dwr.engine._execute(AjaxMotive._path, 'AjaxMotive', 'isEnteredMotiveExceedConfigMax', false, p1, callback); } AjaxMotive.loadMotives = function(p1, callback) { dwr.engine._execute(AjaxMotive._path, 'AjaxMotive', 'loadMotives', false, p1, callback); } AjaxMotive.motiveMultiSiteSubmit = function(p1, callback) { dwr.engine._execute(AjaxMotive._path, 'AjaxMotive', 'motiveMultiSiteSubmit', false, p1, callback); }