if(typeof fairfaxbm == "undefined") fairfaxbm={};
if(typeof fairfaxbm.mis == "undefined") fairfaxbm.mis={};
if(typeof fairfaxbm.mis.comments == "undefined") fairfaxbm.mis.comments={};
fairfaxbm.mis.comments.CommentsUtil_class = function() {};
Object.extend(fairfaxbm.mis.comments.CommentsUtil_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetString: function(str) {
		return this.invoke("GetString", {"str":str}, this.GetString.getArguments().slice(1));
	},
	GetCommentsList: function(contentID, webSiteID, mediaType, pageSize, currentPage, title) {
		return this.invoke("GetCommentsList", {"contentID":contentID, "webSiteID":webSiteID, "mediaType":mediaType, "pageSize":pageSize, "currentPage":currentPage, "title":title}, this.GetCommentsList.getArguments().slice(6));
	},
	GetComment: function(commentID, webSiteID, pageSize, currentPage, title) {
		return this.invoke("GetComment", {"commentID":commentID, "webSiteID":webSiteID, "pageSize":pageSize, "currentPage":currentPage, "title":title}, this.GetComment.getArguments().slice(5));
	},
	ShowCommentEntryForm: function(contentID, webSiteID, mediaType, pageSize, currentPage, title) {
		return this.invoke("ShowCommentEntryForm", {"contentID":contentID, "webSiteID":webSiteID, "mediaType":mediaType, "pageSize":pageSize, "currentPage":currentPage, "title":title}, this.ShowCommentEntryForm.getArguments().slice(6));
	},
	PostComment: function(contentID, webSiteID, mediaType, pageSize, currentPage, title, name, email, url, subject, comments) {
		return this.invoke("PostComment", {"contentID":contentID, "webSiteID":webSiteID, "mediaType":mediaType, "pageSize":pageSize, "currentPage":currentPage, "title":title, "name":name, "email":email, "url":url, "subject":subject, "comments":comments}, this.PostComment.getArguments().slice(11));
	},
	url: '/ajaxpro/fairfaxbm.mis.comments.CommentsUtil,comments.ashx'
}));
fairfaxbm.mis.comments.CommentsUtil = new fairfaxbm.mis.comments.CommentsUtil_class();

