if(typeof Btv == "undefined") Btv={};
Btv.CommonCstQueries_class = function() {};
ajaxProPrototypes.Object.extend(Btv.CommonCstQueries_class.prototype, ajaxProPrototypes.Object.extend(new AjaxPro.AjaxClass(), {
	GetContextTypes: function() {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.GetContextTypes.arguments)[0]) || (null);
		return this.invoke(false, v, "POST", "GetContextTypes", {}, ajaxProPrototypes.Function.argumentsToArray(this.GetContextTypes.arguments).slice(1));
	},
	GetTVShows: function() {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.GetTVShows.arguments)[0]) || (null);
		return this.invoke(false, v, "POST", "GetTVShows", {}, ajaxProPrototypes.Function.argumentsToArray(this.GetTVShows.arguments).slice(1));
	},
	GetMovies: function() {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.GetMovies.arguments)[0]) || (null);
		return this.invoke(false, v, "POST", "GetMovies", {}, ajaxProPrototypes.Function.argumentsToArray(this.GetMovies.arguments).slice(1));
	},
	GetCastMembers: function() {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.GetCastMembers.arguments)[0]) || (null);
		return this.invoke(false, v, "POST", "GetCastMembers", {}, ajaxProPrototypes.Function.argumentsToArray(this.GetCastMembers.arguments).slice(1));
	},
	AddContextAsFavorite: function(contextTypeId, contextId) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.AddContextAsFavorite.arguments)[2]) || (null);
		return this.invoke(false, v, "POST", "AddContextAsFavorite", {"contextTypeId":contextTypeId, "contextId":contextId}, ajaxProPrototypes.Function.argumentsToArray(this.AddContextAsFavorite.arguments).slice(3));
	},
	GetContextsByContextTypeId: function(contextTypeId) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.GetContextsByContextTypeId.arguments)[1]) || (null);
		return this.invoke(false, v, "POST", "GetContextsByContextTypeId", {"contextTypeId":contextTypeId}, ajaxProPrototypes.Function.argumentsToArray(this.GetContextsByContextTypeId.arguments).slice(2));
	},
	ReportContent: function(curationId, objectId) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.ReportContent.arguments)[2]) || (null);
		return this.invoke(false, v, "POST", "ReportContent", {"curationId":curationId, "objectId":objectId}, ajaxProPrototypes.Function.argumentsToArray(this.ReportContent.arguments).slice(3));
	},
	SaveComment: function(comment, contentId, contentScope) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.SaveComment.arguments)[3]) || (null);
		return this.invoke(false, v, "POST", "SaveComment", {"comment":comment, "contentId":contentId, "contentScope":contentScope}, ajaxProPrototypes.Function.argumentsToArray(this.SaveComment.arguments).slice(4));
	},
	SaveCommentRating: function(commentId, rating) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.SaveCommentRating.arguments)[2]) || (null);
		return this.invoke(false, v, "POST", "SaveCommentRating", {"commentId":commentId, "rating":rating}, ajaxProPrototypes.Function.argumentsToArray(this.SaveCommentRating.arguments).slice(3));
	},
	SendEmail: function(contentTypeId, contentId, fromEmailAddress, fromName, toEmailAddress, toName, message) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.SendEmail.arguments)[7]) || (null);
		return this.invoke(false, v, "POST", "SendEmail", {"contentTypeId":contentTypeId, "contentId":contentId, "fromEmailAddress":fromEmailAddress, "fromName":fromName, "toEmailAddress":toEmailAddress, "toName":toName, "message":message}, ajaxProPrototypes.Function.argumentsToArray(this.SendEmail.arguments).slice(8));
	},
	SendShare: function(recepients, contentScopeId, contentId, sendToAll, message) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.SendShare.arguments)[5]) || (null);
		return this.invoke(false, v, "POST", "SendShare", {"recepients":recepients, "contentScopeId":contentScopeId, "contentId":contentId, "sendToAll":sendToAll, "message":message}, ajaxProPrototypes.Function.argumentsToArray(this.SendShare.arguments).slice(6));
	},
	SendShareNonBtvUsers: function(emailAddresses, contentScopeId, contentId, message) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.SendShareNonBtvUsers.arguments)[4]) || (null);
		return this.invoke(false, v, "POST", "SendShareNonBtvUsers", {"emailAddresses":emailAddresses, "contentScopeId":contentScopeId, "contentId":contentId, "message":message}, ajaxProPrototypes.Function.argumentsToArray(this.SendShareNonBtvUsers.arguments).slice(5));
	},
	GetTwitterAuthUrl: function(url) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.GetTwitterAuthUrl.arguments)[1]) || (null);
		return this.invoke(false, v, "POST", "GetTwitterAuthUrl", {"url":url}, ajaxProPrototypes.Function.argumentsToArray(this.GetTwitterAuthUrl.arguments).slice(2));
	},
	SendTweet: function(message, url) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.SendTweet.arguments)[2]) || (null);
		return this.invoke(false, v, "POST", "SendTweet", {"message":message, "url":url}, ajaxProPrototypes.Function.argumentsToArray(this.SendTweet.arguments).slice(3));
	},
	GetUrlShortenWithTwitterTag: function(url) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.GetUrlShortenWithTwitterTag.arguments)[1]) || (null);
		return this.invoke(false, v, "POST", "GetUrlShortenWithTwitterTag", {"url":url}, ajaxProPrototypes.Function.argumentsToArray(this.GetUrlShortenWithTwitterTag.arguments).slice(2));
	},
	GetUrlShorten: function(url) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.GetUrlShorten.arguments)[1]) || (null);
		return this.invoke(false, v, "POST", "GetUrlShorten", {"url":url}, ajaxProPrototypes.Function.argumentsToArray(this.GetUrlShorten.arguments).slice(2));
	},
	GetBrowseFriends: function(userId, page, friendsPerPage) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.GetBrowseFriends.arguments)[3]) || (null);
		return this.invoke(false, v, "POST", "GetBrowseFriends", {"userId":userId, "page":page, "friendsPerPage":friendsPerPage}, ajaxProPrototypes.Function.argumentsToArray(this.GetBrowseFriends.arguments).slice(4));
	},
	SubmitComment: function(userId, contentId, scopeId, comment) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.SubmitComment.arguments)[4]) || (null);
		return this.invoke(false, v, "POST", "SubmitComment", {"userId":userId, "contentId":contentId, "scopeId":scopeId, "comment":comment}, ajaxProPrototypes.Function.argumentsToArray(this.SubmitComment.arguments).slice(5));
	},
	SubmitCommentByAssociationId: function(userId, associationId, comment) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.SubmitCommentByAssociationId.arguments)[3]) || (null);
		return this.invoke(false, v, "POST", "SubmitCommentByAssociationId", {"userId":userId, "associationId":associationId, "comment":comment}, ajaxProPrototypes.Function.argumentsToArray(this.SubmitCommentByAssociationId.arguments).slice(4));
	},
	GetCommentsByAssociation: function(associationId, firstComment, numComments) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.GetCommentsByAssociation.arguments)[3]) || (null);
		return this.invoke(false, v, "POST", "GetCommentsByAssociation", {"associationId":associationId, "firstComment":firstComment, "numComments":numComments}, ajaxProPrototypes.Function.argumentsToArray(this.GetCommentsByAssociation.arguments).slice(4));
	},
	GetComments: function(contentId, scopeId, firstRow, lastRow) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.GetComments.arguments)[4]) || (null);
		return this.invoke(false, v, "POST", "GetComments", {"contentId":contentId, "scopeId":scopeId, "firstRow":firstRow, "lastRow":lastRow}, ajaxProPrototypes.Function.argumentsToArray(this.GetComments.arguments).slice(5));
	},
	GetFindFriend: function(userSearch) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.GetFindFriend.arguments)[1]) || (null);
		return this.invoke(false, v, "POST", "GetFindFriend", {"userSearch":userSearch}, ajaxProPrototypes.Function.argumentsToArray(this.GetFindFriend.arguments).slice(2));
	},
	ScrapeEmailAccount: function(emailAddress, emailPassword) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.ScrapeEmailAccount.arguments)[2]) || (null);
		return this.invoke(false, v, "POST", "ScrapeEmailAccount", {"emailAddress":emailAddress, "emailPassword":emailPassword}, ajaxProPrototypes.Function.argumentsToArray(this.ScrapeEmailAccount.arguments).slice(3));
	},
	url: '/ajaxpro/Btv.CommonCstQueries,App_Code.ashx?typeVersion=6'
}));
Btv.CommonCstQueries = new Btv.CommonCstQueries_class();

