if(typeof CMS == "undefined") CMS={};
if(typeof CMS.ForumRetrieve == "undefined") CMS.ForumRetrieve={};
CMS.ForumRetrieve_class = function() {};
Object.extend(CMS.ForumRetrieve_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	ServerSideSaveTopic: function(forumId, topic, post, subscribe, internal) {
		return this.invoke("ServerSideSaveTopic", {"forumId":forumId, "topic":topic, "post":post, "subscribe":subscribe, "internal":internal}, this.ServerSideSaveTopic.getArguments().slice(5));
	},
	ServerSideDrawTopics: function(forumId, pageNumber, noTemplate, internal, BubblePost) {
		return this.invoke("ServerSideDrawTopics", {"forumId":forumId, "pageNumber":pageNumber, "noTemplate":noTemplate, "internal":internal, "BubblePost":BubblePost}, this.ServerSideDrawTopics.getArguments().slice(5));
	},
	ServerSideSavePost: function(forumId, topicId, parentId, post, subscribe, internal) {
		return this.invoke("ServerSideSavePost", {"forumId":forumId, "topicId":topicId, "parentId":parentId, "post":post, "subscribe":subscribe, "internal":internal}, this.ServerSideSavePost.getArguments().slice(6));
	},
	ServerSideDrawPosts: function(forumId, topicId, sortType, noTemplate, internal) {
		return this.invoke("ServerSideDrawPosts", {"forumId":forumId, "topicId":topicId, "sortType":sortType, "noTemplate":noTemplate, "internal":internal}, this.ServerSideDrawPosts.getArguments().slice(5));
	},
	ServerSideMarkFavorite: function(forumId, topicId, pageNumber, noTemplate, internal, bubblePost, AddToFavorites) {
		return this.invoke("ServerSideMarkFavorite", {"forumId":forumId, "topicId":topicId, "pageNumber":pageNumber, "noTemplate":noTemplate, "internal":internal, "bubblePost":bubblePost, "AddToFavorites":AddToFavorites}, this.ServerSideMarkFavorite.getArguments().slice(7));
	},
	MarkPostAsSpam: function(forumPostId, topicId) {
		return this.invoke("MarkPostAsSpam", {"forumPostId":forumPostId, "topicId":topicId}, this.MarkPostAsSpam.getArguments().slice(2));
	},
	url: '/ajaxpro/CMS.ForumRetrieve,Catalyst.Web.CMS.ashx'
}));
CMS.ForumRetrieve = new CMS.ForumRetrieve_class();


