if(typeof Butler == "undefined") Butler={};
if(typeof Butler.Web == "undefined") Butler.Web={};
if(typeof Butler.Web.Controls == "undefined") Butler.Web.Controls={};
Butler.Web.Controls.Comments_class = function() {};
Object.extend(Butler.Web.Controls.Comments_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	AddComment: function(contentId, typeId, comment) {
		return this.invoke("AddComment", {"contentId":contentId, "typeId":typeId, "comment":comment}, this.AddComment.getArguments().slice(3));
	},
	GetComment: function(commentId) {
		return this.invoke("GetComment", {"commentId":commentId}, this.GetComment.getArguments().slice(1));
	},
	Rate: function(commentId) {
		return this.invoke("Rate", {"commentId":commentId}, this.Rate.getArguments().slice(1));
	},
	RemoveComment: function(commentId) {
		return this.invoke("RemoveComment", {"commentId":commentId}, this.RemoveComment.getArguments().slice(1));
	},
	ReportComment: function(commentId) {
		return this.invoke("ReportComment", {"commentId":commentId}, this.ReportComment.getArguments().slice(1));
	},
	url: '/ajaxpro/Butler.Web.Controls.Comments,Butler.Web.ashx'
}));
Butler.Web.Controls.Comments = new Butler.Web.Controls.Comments_class();


