if(typeof NewsHandler == "undefined") NewsHandler={};
NewsHandler_class = function() {};
Object.extend(NewsHandler_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	PostComment: function(categoryID, blogMessageID, text) {
		return this.invoke("PostComment", {"categoryID":categoryID, "blogMessageID":blogMessageID, "text":text}, this.PostComment.getArguments().slice(3));
	},
	GetEventsForDay: function(year, month, day) {
		return this.invoke("GetEventsForDay", {"year":year, "month":month, "day":day}, this.GetEventsForDay.getArguments().slice(3));
	},
	GetEventsForMonth: function(year, month) {
		return this.invoke("GetEventsForMonth", {"year":year, "month":month}, this.GetEventsForMonth.getArguments().slice(2));
	},
	RenderBlogComments: function(categoryID, messageID, page) {
		return this.invoke("RenderBlogComments", {"categoryID":categoryID, "messageID":messageID, "page":page}, this.RenderBlogComments.getArguments().slice(3));
	},
	SearchNews: function(keywords) {
		return this.invoke("SearchNews", {"keywords":keywords}, this.SearchNews.getArguments().slice(1));
	},
	url: '/Handlers/ajaxpro/FearNet.Web.Handlers.NewsHandler,FearNet.Web.ashx'
}));
NewsHandler = new NewsHandler_class();

