if(typeof MyAjax == "undefined") MyAjax={};
MyAjax_class = function() {};
Object.extend(MyAjax_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	UpdateUserEAmount: function(userId, amount) {
		return this.invoke("UpdateUserEAmount", {"userId":userId, "amount":amount}, this.UpdateUserEAmount.getArguments().slice(2));
	},
	GetUserEAmount: function(userId) {
		return this.invoke("GetUserEAmount", {"userId":userId}, this.GetUserEAmount.getArguments().slice(1));
	},
	GetRandomList: function(count, gameType) {
		return this.invoke("GetRandomList", {"count":count, "gameType":gameType}, this.GetRandomList.getArguments().slice(2));
	},
	GetAward: function(AwardNO, GameType, quantity, eAmount, gameInfo) {
		return this.invoke("GetAward", {"AwardNO":AwardNO, "GameType":GameType, "quantity":quantity, "eAmount":eAmount, "gameInfo":gameInfo}, this.GetAward.getArguments().slice(5));
	},
	UpdateUserLeftTimes: function(userId) {
		return this.invoke("UpdateUserLeftTimes", {"userId":userId}, this.UpdateUserLeftTimes.getArguments().slice(1));
	},
	GetCQAward: function(gameInfo) {
		return this.invoke("GetCQAward", {"gameInfo":gameInfo}, this.GetCQAward.getArguments().slice(1));
	},
	url: '/ajaxpro/Activity.Web.PageUtil,Activity.Web.ashx'
}));
MyAjax = new MyAjax_class();

