// 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 (IMTTransEngine == null) var IMTTransEngine = {}; IMTTransEngine._path = '/newNotii/dwr'; IMTTransEngine.requestTrans = function(p0, p1, p2, p3, callback) { dwr.engine._execute(IMTTransEngine._path, 'IMTTransEngine', 'requestTrans', p0, p1, p2, p3, false, callback); } IMTTransEngine.requestTransKE = function(p0, p1, p2, p3, callback) { dwr.engine._execute(IMTTransEngine._path, 'IMTTransEngine', 'requestTransKE', p0, p1, p2, p3, false, callback); } IMTTransEngine.requestTransPDF = function(p0, p1, callback) { dwr.engine._execute(IMTTransEngine._path, 'IMTTransEngine', 'requestTransPDF', p0, p1, false, callback); } IMTTransEngine.getParphList = function(callback) { dwr.engine._execute(IMTTransEngine._path, 'IMTTransEngine', 'getParphList', callback); } IMTTransEngine.setSavePDFFileName = function(p0, callback) { dwr.engine._execute(IMTTransEngine._path, 'IMTTransEngine', 'setSavePDFFileName', p0, callback); } IMTTransEngine.getSavePDFFileName = function(callback) { dwr.engine._execute(IMTTransEngine._path, 'IMTTransEngine', 'getSavePDFFileName', callback); } IMTTransEngine.setAllOption = function(p0, callback) { dwr.engine._execute(IMTTransEngine._path, 'IMTTransEngine', 'setAllOption', p0, callback); } IMTTransEngine.getSelectIndex = function(callback) { dwr.engine._execute(IMTTransEngine._path, 'IMTTransEngine', 'getSelectIndex', callback); } IMTTransEngine.setIsTrans = function(p0, callback) { dwr.engine._execute(IMTTransEngine._path, 'IMTTransEngine', 'setIsTrans', p0, callback); } IMTTransEngine.setIsTransByID = function(p0, p1, p2, callback) { dwr.engine._execute(IMTTransEngine._path, 'IMTTransEngine', 'setIsTransByID', p0, p1, p2, callback); } IMTTransEngine.getIsTrans = function(callback) { dwr.engine._execute(IMTTransEngine._path, 'IMTTransEngine', 'getIsTrans', callback); } IMTTransEngine.clear = function(callback) { dwr.engine._execute(IMTTransEngine._path, 'IMTTransEngine', 'clear', callback); } IMTTransEngine.save = function(p0, p1, callback) { dwr.engine._execute(IMTTransEngine._path, 'IMTTransEngine', 'save', p0, p1, false, false, callback); } IMTTransEngine.open = function(p0, p1, callback) { dwr.engine._execute(IMTTransEngine._path, 'IMTTransEngine', 'open', p0, p1, callback); } IMTTransEngine.exists = function(p0, p1, callback) { dwr.engine._execute(IMTTransEngine._path, 'IMTTransEngine', 'exists', p0, p1, callback); } IMTTransEngine.update = function(callback) { dwr.engine._execute(IMTTransEngine._path, 'IMTTransEngine', 'update', callback); } IMTTransEngine.getOption = function(callback) { dwr.engine._execute(IMTTransEngine._path, 'IMTTransEngine', 'getOption', callback); } IMTTransEngine.setOption = function(p0, p1, callback) { dwr.engine._execute(IMTTransEngine._path, 'IMTTransEngine', 'setOption', p0, p1, callback); }