if(typeof Reviews == "undefined") Reviews={};
Reviews_class = function() {};
Object.extend(Reviews_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetCommentsForItem: function(item, token, password, categoryname, pribrandid, entitytypeid) {
		return this.invoke("GetCommentsForItem", {"item":item, "token":token, "password":password, "categoryname":categoryname, "pribrandid":pribrandid, "entitytypeid":entitytypeid}, this.GetCommentsForItem.getArguments().slice(6));
	},
	DeleteComment: function(commentid, token, password) {
		return this.invoke("DeleteComment", {"commentid":commentid, "token":token, "password":password}, this.DeleteComment.getArguments().slice(3));
	},
	SubmitCommentForItem: function(item, token, password, categoryname, pribrandid, entitytypeid, title, text, userhandle, sourceref, ratingvalue, consumerid, consumerEmail, siteid) {
		return this.invoke("SubmitCommentForItem", {"item":item, "token":token, "password":password, "categoryname":categoryname, "pribrandid":pribrandid, "entitytypeid":entitytypeid, "title":title, "text":text, "userhandle":userhandle, "sourceref":sourceref, "ratingvalue":ratingvalue, "consumerid":consumerid, "consumerEmail":consumerEmail, "siteid":siteid}, this.SubmitCommentForItem.getArguments().slice(14));
	},
	UpdateComment: function(commentid, token, password, title, text, rating) {
		return this.invoke("UpdateComment", {"commentid":commentid, "token":token, "password":password, "title":title, "text":text, "rating":rating}, this.UpdateComment.getArguments().slice(6));
	},
	GetAuthenticatedIdentity: function() {
		return this.invoke("GetAuthenticatedIdentity", {}, this.GetAuthenticatedIdentity.getArguments().slice(0));
	},
	url: '/ajaxpro/App_Controls_Comments,App_Web_pgcxbuiy.ashx'
}));
Reviews = new Reviews_class();

