if(typeof NIU == "undefined") NIU={};
if(typeof NIU.Biip == "undefined") NIU.Biip={};
if(typeof NIU.Biip.Controls == "undefined") NIU.Biip.Controls={};
NIU.Biip.Controls.Comments_class = function() {};
Object.extend(NIU.Biip.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));
	},
	RemoveComment: function(commentId) {
		return this.invoke("RemoveComment", {"commentId":commentId}, this.RemoveComment.getArguments().slice(1));
	},
	GetComment: function(commentId) {
		return this.invoke("GetComment", {"commentId":commentId}, this.GetComment.getArguments().slice(1));
	},
	ReportComment: function(commentId) {
		return this.invoke("ReportComment", {"commentId":commentId}, this.ReportComment.getArguments().slice(1));
	},
	Rate: function(commentId) {
		return this.invoke("Rate", {"commentId":commentId}, this.Rate.getArguments().slice(1));
	},
	url: '/ajaxpro/NIU.Biip.Controls.Comments,NIU.Biip.Web.ashx'
}));
NIU.Biip.Controls.Comments = new NIU.Biip.Controls.Comments_class();

