// 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 (alloyDao == null) var alloyDao = {}; alloyDao._path = '/dwr'; alloyDao.getAlloys = function(callback) { dwr.engine._execute(alloyDao._path, 'alloyDao', 'getAlloys', callback); } alloyDao.getAlloysByForm = function(p0, callback) { dwr.engine._execute(alloyDao._path, 'alloyDao', 'getAlloysByForm', p0, callback); }