// 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 (ScrollAuthorsDWR == null) var ScrollAuthorsDWR = {}; ScrollAuthorsDWR._path = '/dwr'; ScrollAuthorsDWR.getRandomAuthorWithPhoto = function(callback) { dwr.engine._execute(ScrollAuthorsDWR._path, 'ScrollAuthorsDWR', 'getRandomAuthorWithPhoto', callback); } ScrollAuthorsDWR.getAuthorsWithPhoto = function(callback) { dwr.engine._execute(ScrollAuthorsDWR._path, 'ScrollAuthorsDWR', 'getAuthorsWithPhoto', callback); }