if(typeof AiN == "undefined") AiN={};
if(typeof AiN.AiB == "undefined") AiN.AiB={};
if(typeof AiN.AiB.Site == "undefined") AiN.AiB.Site={};
if(typeof AiN.AiB.Site.forum == "undefined") AiN.AiB.Site.forum={};
if(typeof AiN.AiB.Site.forum.topic_class == "undefined") AiN.AiB.Site.forum.topic_class={};
AiN.AiB.Site.forum.topic_class = function() {};
Object.extend(AiN.AiB.Site.forum.topic_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	CloseTopic: function(topicID, close) {
		return this.invoke("CloseTopic", {"topicID":topicID, "close":close}, this.CloseTopic.getArguments().slice(2));
	},
	StickyTopic: function(topicID, stick) {
		return this.invoke("StickyTopic", {"topicID":topicID, "stick":stick}, this.StickyTopic.getArguments().slice(2));
	},
	WatchTopic: function(topicID) {
		return this.invoke("WatchTopic", {"topicID":topicID}, this.WatchTopic.getArguments().slice(1));
	},
	url: '/ajaxpro/AiN.AiB.Site.forum.topic,AiN.AiB.Site.ashx'
}));
AiN.AiB.Site.forum.topic = new AiN.AiB.Site.forum.topic_class();


