viewer_class = function() {}; Object.extend(viewer_class.prototype, Object.extend(new AjaxPro.AjaxClass(), { OnPaging: function(sArg) { return this.invoke("OnPaging", {"sArg":sArg}, this.OnPaging.getArguments().slice(1)); }, SendComment: function(MaBB, txtName, txtEmail, txtTitle, txtCommentContent) { return this.invoke("SendComment", {"MaBB":MaBB, "txtName":txtName, "txtEmail":txtEmail, "txtTitle":txtTitle, "txtCommentContent":txtCommentContent}, this.SendComment.getArguments().slice(5)); }, url: '/ajaxpro/viewer,App_Web_8v4b-jpk.ashx' })); viewer = new viewer_class();