if (typeof CommentBean != "function") { function CommentBean() { this.userID = 0; this.body = null; this.moderated = false; this.objectID = 0; this.email = null; this.name = null; this.commentID = 0; this.URL = null; this.objectType = 0; } } // 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 (Comment == null) var Comment = {}; Comment._path = '/home/dwr'; Comment.updateComment = function(p0, callback) { dwr.engine._execute(Comment._path, 'Comment', 'updateComment', p0, false, callback); } Comment.deleteComment = function(p0, p1, p2, callback) { dwr.engine._execute(Comment._path, 'Comment', 'deleteComment', p0, p1, p2, false, callback); } Comment.previewComment = function(p0, p1, p2, callback) { dwr.engine._execute(Comment._path, 'Comment', 'previewComment', p0, p1, p2, false, callback); }