if(typeof TwentyFour == "undefined") TwentyFour={};
if(typeof TwentyFour.Blogs == "undefined") TwentyFour.Blogs={};
if(typeof TwentyFour.Blogs.Web == "undefined") TwentyFour.Blogs.Web={};
if(typeof TwentyFour.Blogs.Web.Ajax == "undefined") TwentyFour.Blogs.Web.Ajax={};
TwentyFour.Blogs.Web.Ajax_class = function() {};
Object.extend(TwentyFour.Blogs.Web.Ajax_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetFavourites: function(userId, page, size) {
		return this.invoke("GetFavourites", {"userId":userId, "page":page, "size":size}, this.GetFavourites.getArguments().slice(3));
	},
	GetFans: function(blogId, page, size) {
		return this.invoke("GetFans", {"blogId":blogId, "page":page, "size":size}, this.GetFans.getArguments().slice(3));
	},
	NominateBlog: function(blogId, userId, physicalApplicationPath, culture) {
		return this.invoke("NominateBlog", {"blogId":blogId, "userId":userId, "physicalApplicationPath":physicalApplicationPath, "culture":culture}, this.NominateBlog.getArguments().slice(4));
	},
	VoteForBlog: function(blogId, userId, culture) {
		return this.invoke("VoteForBlog", {"blogId":blogId, "userId":userId, "culture":culture}, this.VoteForBlog.getArguments().slice(3));
	},
	GetVotesForBlog: function(blogId) {
		return this.invoke("GetVotesForBlog", {"blogId":blogId}, this.GetVotesForBlog.getArguments().slice(1));
	},
	GetFeaturedBlog: function(strFeaturedBlogId) {
		return this.invoke("GetFeaturedBlog", {"strFeaturedBlogId":strFeaturedBlogId}, this.GetFeaturedBlog.getArguments().slice(1));
	},
	DeleteBadge: function(badgeId, badgeTable) {
		return this.invoke("DeleteBadge", {"badgeId":badgeId, "badgeTable":badgeTable}, this.DeleteBadge.getArguments().slice(2));
	},
	GetNewlyUpdatedPagedBlogs: function(pageNo, hour, brandId) {
		return this.invoke("GetNewlyUpdatedPagedBlogs", {"pageNo":pageNo, "hour":hour, "brandId":brandId}, this.GetNewlyUpdatedPagedBlogs.getArguments().slice(3));
	},
	url: '/ajaxpro/TwentyFour.Blogs.Web.Ajax,App_Code.ashx'
}));
TwentyFour.Blogs.Web.Ajax = new TwentyFour.Blogs.Web.Ajax_class();

