// 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 (mycount == null) var mycount = {}; mycount._path = '/gtapp/dwr'; mycount.getCountservice = function(callback) { dwr.engine._execute(mycount._path, 'mycount', 'getCountservice', callback); } mycount.setCountservice = function(p0, callback) { dwr.engine._execute(mycount._path, 'mycount', 'setCountservice', p0, callback); } mycount.Count = function(p0, callback) { dwr.engine._execute(mycount._path, 'mycount', 'Count', p0, false, callback); }