if(typeof Btv == "undefined") Btv={};
Btv.UserQueries_class = function() {};
ajaxProPrototypes.Object.extend(Btv.UserQueries_class.prototype, ajaxProPrototypes.Object.extend(new AjaxPro.AjaxClass(), {
	GetCurrentUser: function(url) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.GetCurrentUser.arguments)[1]) || (null);
		return this.invoke(false, v, "POST", "GetCurrentUser", {"url":url}, ajaxProPrototypes.Function.argumentsToArray(this.GetCurrentUser.arguments).slice(2));
	},
	LogOut: function() {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.LogOut.arguments)[0]) || (null);
		return this.invoke(false, v, "POST", "LogOut", {}, ajaxProPrototypes.Function.argumentsToArray(this.LogOut.arguments).slice(1));
	},
	LoginUser: function(username, password) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.LoginUser.arguments)[2]) || (null);
		return this.invoke(false, v, "POST", "LoginUser", {"username":username, "password":password}, ajaxProPrototypes.Function.argumentsToArray(this.LoginUser.arguments).slice(3));
	},
	RegisterUser: function(username, email, password, allowEmptyProfile) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.RegisterUser.arguments)[4]) || (null);
		return this.invoke(false, v, "POST", "RegisterUser", {"username":username, "email":email, "password":password, "allowEmptyProfile":allowEmptyProfile}, ajaxProPrototypes.Function.argumentsToArray(this.RegisterUser.arguments).slice(5));
	},
	WinkAtUser: function(toUserId, url, title) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.WinkAtUser.arguments)[3]) || (null);
		return this.invoke(false, v, "POST", "WinkAtUser", {"toUserId":toUserId, "url":url, "title":title}, ajaxProPrototypes.Function.argumentsToArray(this.WinkAtUser.arguments).slice(4));
	},
	AddFriend: function(potentialFriendId, potentialFriendName, potentialFriendEmail) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.AddFriend.arguments)[3]) || (null);
		return this.invoke(false, v, "POST", "AddFriend", {"potentialFriendId":potentialFriendId, "potentialFriendName":potentialFriendName, "potentialFriendEmail":potentialFriendEmail}, ajaxProPrototypes.Function.argumentsToArray(this.AddFriend.arguments).slice(4));
	},
	DoFacebookLink: function(facebookUserID) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.DoFacebookLink.arguments)[1]) || (null);
		return this.invoke(false, v, "POST", "DoFacebookLink", {"facebookUserID":facebookUserID}, ajaxProPrototypes.Function.argumentsToArray(this.DoFacebookLink.arguments).slice(2));
	},
	DoFacebookUnlink: function(facebookUserID) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.DoFacebookUnlink.arguments)[1]) || (null);
		return this.invoke(false, v, "POST", "DoFacebookUnlink", {"facebookUserID":facebookUserID}, ajaxProPrototypes.Function.argumentsToArray(this.DoFacebookUnlink.arguments).slice(2));
	},
	BtvLoginAndLink: function(btvUsername, btvPassword, facebookUserID) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.BtvLoginAndLink.arguments)[3]) || (null);
		return this.invoke(false, v, "POST", "BtvLoginAndLink", {"btvUsername":btvUsername, "btvPassword":btvPassword, "facebookUserID":facebookUserID}, ajaxProPrototypes.Function.argumentsToArray(this.BtvLoginAndLink.arguments).slice(4));
	},
	BtvRegAndLink: function(email, btvUsername, btvPassword, facebookUserID, allowNullEmail) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.BtvRegAndLink.arguments)[5]) || (null);
		return this.invoke(false, v, "POST", "BtvRegAndLink", {"email":email, "btvUsername":btvUsername, "btvPassword":btvPassword, "facebookUserID":facebookUserID, "allowNullEmail":allowNullEmail}, ajaxProPrototypes.Function.argumentsToArray(this.BtvRegAndLink.arguments).slice(6));
	},
	LoginFacebookUser: function(facebookUserID) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.LoginFacebookUser.arguments)[1]) || (null);
		return this.invoke(false, v, "POST", "LoginFacebookUser", {"facebookUserID":facebookUserID}, ajaxProPrototypes.Function.argumentsToArray(this.LoginFacebookUser.arguments).slice(2));
	},
	url: '/ajaxpro/Btv.UserQueries,App_Code.ashx?typeVersion=6'
}));
Btv.UserQueries = new Btv.UserQueries_class();

