if(typeof AjaxService == "undefined") AjaxService={};
if(typeof AjaxService.AjaxStoryService == "undefined") AjaxService.AjaxStoryService={};
AjaxService.AjaxStoryService_class = function() {};
Object.extend(AjaxService.AjaxStoryService_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetNewestStoryListContent: function(currentPage, pageSize) {
		return this.invoke("GetNewestStoryListContent", {"currentPage":currentPage, "pageSize":pageSize}, this.GetNewestStoryListContent.getArguments().slice(2));
	},
	GetStoryByID: function(storyID) {
		return this.invoke("GetStoryByID", {"storyID":storyID}, this.GetStoryByID.getArguments().slice(1));
	},
	CommentStory: function(username, email, comment, storyID) {
		return this.invoke("CommentStory", {"username":username, "email":email, "comment":comment, "storyID":storyID}, this.CommentStory.getArguments().slice(4));
	},
	url: '/ajaxpro/AjaxService.AjaxStoryService,App_Code.ashx'
}));
AjaxService.AjaxStoryService = new AjaxService.AjaxStoryService_class();

