// 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 (RemoteFunctions == null) var RemoteFunctions = {}; RemoteFunctions._path = '/dwr'; RemoteFunctions.userStarted8WeekProgram = function(p0, callback) { dwr.engine._execute(RemoteFunctions._path, 'RemoteFunctions', 'userStarted8WeekProgram', p0, false, callback); } RemoteFunctions.userExists = function(p0, callback) { dwr.engine._execute(RemoteFunctions._path, 'RemoteFunctions', 'userExists', p0, false, callback); } RemoteFunctions.start2WeekProgram = function(callback) { dwr.engine._execute(RemoteFunctions._path, 'RemoteFunctions', 'start2WeekProgram', false, false, callback); } RemoteFunctions.restartCurrentProgram = function(callback) { dwr.engine._execute(RemoteFunctions._path, 'RemoteFunctions', 'restartCurrentProgram', false, false, callback); } RemoteFunctions.changeChartTab = function(p0, callback) { dwr.engine._execute(RemoteFunctions._path, 'RemoteFunctions', 'changeChartTab', p0, false, callback); } RemoteFunctions.retrieveWirelessPedometerData = function(callback) { dwr.engine._execute(RemoteFunctions._path, 'RemoteFunctions', 'retrieveWirelessPedometerData', false, false, callback); }