// 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 (KeepSessionAlive == null) var KeepSessionAlive = {}; KeepSessionAlive._path = '/simulate/dwr'; KeepSessionAlive.pollServer = function(callback) { dwr.engine._execute(KeepSessionAlive._path, 'KeepSessionAlive', 'pollServer', callback); } KeepSessionAlive.isSessionAlive = function(p0, callback) { dwr.engine._execute(KeepSessionAlive._path, 'KeepSessionAlive', 'isSessionAlive', p0, callback); }