ForumAJAX_class = function() {};
Object.extend(ForumAJAX_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetMessageContant: function(messageId) {
		return this.invoke("GetMessageContant", {"messageId":messageId}, this.GetMessageContant.getArguments().slice(1));
	},
	GetRootMessages: function(rootId) {
		return this.invoke("GetRootMessages", {"rootId":rootId}, this.GetRootMessages.getArguments().slice(1));
	},
	GetForumMessages: function(forumId, currentPage, pageSize, numberOfRoots) {
		return this.invoke("GetForumMessages", {"forumId":forumId, "currentPage":currentPage, "pageSize":pageSize, "numberOfRoots":numberOfRoots}, this.GetForumMessages.getArguments().slice(4));
	},
	GetRecentMessages: function(currentPage, pageSize) {
		return this.invoke("GetRecentMessages", {"currentPage":currentPage, "pageSize":pageSize}, this.GetRecentMessages.getArguments().slice(2));
	},
	SaveMessage: function(messageId, forumId, messageSubject, messageContent, isSendNotification, isHasFile) {
		return this.invoke("SaveMessage", {"messageId":messageId, "forumId":forumId, "messageSubject":messageSubject, "messageContent":messageContent, "isSendNotification":isSendNotification, "isHasFile":isHasFile}, this.SaveMessage.getArguments().slice(6));
	},
	MiniProfileGet: function(userId) {
		return this.invoke("MiniProfileGet", {"userId":userId}, this.MiniProfileGet.getArguments().slice(1));
	},
	Rank: function(messageId, add) {
		return this.invoke("Rank", {"messageId":messageId, "add":add}, this.Rank.getArguments().slice(2));
	},
	GetAdminTools: function(messageId) {
		return this.invoke("GetAdminTools", {"messageId":messageId}, this.GetAdminTools.getArguments().slice(1));
	},
	RemoveMessage: function(messageId) {
		return this.invoke("RemoveMessage", {"messageId":messageId}, this.RemoveMessage.getArguments().slice(1));
	},
	LockMessage: function(messageId, isLock) {
		return this.invoke("LockMessage", {"messageId":messageId, "isLock":isLock}, this.LockMessage.getArguments().slice(2));
	},
	StickMessage: function(messageId, isStick) {
		return this.invoke("StickMessage", {"messageId":messageId, "isStick":isStick}, this.StickMessage.getArguments().slice(2));
	},
	url: '/ajaxpro/ForumAJAX,App_Code.quce1lti.ashx'
}));
ForumAJAX = new ForumAJAX_class();

