if(typeof NIU == "undefined") NIU={};
if(typeof NIU.OnlineGames == "undefined") NIU.OnlineGames={};
if(typeof NIU.OnlineGames.Web == "undefined") NIU.OnlineGames.Web={};
if(typeof NIU.OnlineGames.Web.Controls == "undefined") NIU.OnlineGames.Web.Controls={};
if(typeof NIU.OnlineGames.Web.Controls.Game == "undefined") NIU.OnlineGames.Web.Controls.Game={};
NIU.OnlineGames.Web.Controls.Game_class = function() {};
Object.extend(NIU.OnlineGames.Web.Controls.Game_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetComments: function(gameId, page, pageSize) {
		return this.invoke("GetComments", {"gameId":gameId, "page":page, "pageSize":pageSize}, this.GetComments.getArguments().slice(3));
	},
	Comment: function(gameId, userId, comment, rating) {
		return this.invoke("Comment", {"gameId":gameId, "userId":userId, "comment":comment, "rating":rating}, this.Comment.getArguments().slice(4));
	},
	Tip: function(gameId, gameTitle, platform, category, to, from) {
		return this.invoke("Tip", {"gameId":gameId, "gameTitle":gameTitle, "platform":platform, "category":category, "to":to, "from":from}, this.Tip.getArguments().slice(6));
	},
	Report: function(gameId) {
		return this.invoke("Report", {"gameId":gameId}, this.Report.getArguments().slice(1));
	},
	url: '/ajaxpro/NIU.OnlineGames.Web.Controls.Game,NIU.OnlineGames.Web.ashx'
}));
NIU.OnlineGames.Web.Controls.Game = new NIU.OnlineGames.Web.Controls.Game_class();

