// 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 (MsgShow == null) var MsgShow = {}; MsgShow._path = '/dwr'; MsgShow.check = function(callback) { dwr.engine._execute(MsgShow._path, 'MsgShow', 'check', false, callback); } MsgShow.deleteOldMsgStream = function(callback) { dwr.engine._execute(MsgShow._path, 'MsgShow', 'deleteOldMsgStream', false, callback); } MsgShow.deleteMsgStream = function(p1, callback) { dwr.engine._execute(MsgShow._path, 'MsgShow', 'deleteMsgStream', false, p1, callback); } MsgShow.getMsgStreamofFriends = function(p1, callback) { dwr.engine._execute(MsgShow._path, 'MsgShow', 'getMsgStreamofFriends', false, p1, callback); }