if(typeof Btv == "undefined") Btv={};
if(typeof Btv.EpisodeRater == "undefined") Btv.EpisodeRater={};
Btv.EpisodeRater.DataQueries_class = function() {};
ajaxProPrototypes.Object.extend(Btv.EpisodeRater.DataQueries_class.prototype, ajaxProPrototypes.Object.extend(new AjaxPro.AjaxClass(), {
	GetEpisodeRaterData: function(scopeId, contentId) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.GetEpisodeRaterData.arguments)[2]) || (null);
		return this.invoke(false, v, "POST", "GetEpisodeRaterData", {"scopeId":scopeId, "contentId":contentId}, ajaxProPrototypes.Function.argumentsToArray(this.GetEpisodeRaterData.arguments).slice(3));
	},
	SaveEpisodeRaterData: function(scopeId, contentId, userRating, userReviewText) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.SaveEpisodeRaterData.arguments)[4]) || (null);
		return this.invoke(false, v, "POST", "SaveEpisodeRaterData", {"scopeId":scopeId, "contentId":contentId, "userRating":userRating, "userReviewText":userReviewText}, ajaxProPrototypes.Function.argumentsToArray(this.SaveEpisodeRaterData.arguments).slice(5));
	},
	url: '/ajaxpro/Btv.EpisodeRater.DataQueries,App_Code.ashx?typeVersion=6'
}));
Btv.EpisodeRater.DataQueries = new Btv.EpisodeRater.DataQueries_class();

