AjaxService_class = function() {};
Object.extend(AjaxService_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	QueryItemsByCategoryId: function(page, CategoryId, GroupId) {
		return this.invoke("QueryItemsByCategoryId", {"page":page, "CategoryId":CategoryId, "GroupId":GroupId}, this.QueryItemsByCategoryId.getArguments().slice(3));
	},
	QueryGroupByCategoryId: function(CategoryId) {
		return this.invoke("QueryGroupByCategoryId", {"CategoryId":CategoryId}, this.QueryGroupByCategoryId.getArguments().slice(1));
	},
	QueryNewItems: function() {
		return this.invoke("QueryNewItems", {}, this.QueryNewItems.getArguments().slice(0));
	},
	QueryCommendItems: function() {
		return this.invoke("QueryCommendItems", {}, this.QueryCommendItems.getArguments().slice(0));
	},
	QueryItemsForPlat: function(ids) {
		return this.invoke("QueryItemsForPlat", {"ids":ids}, this.QueryItemsForPlat.getArguments().slice(1));
	},
	QueryCuxiaoItems: function() {
		return this.invoke("QueryCuxiaoItems", {}, this.QueryCuxiaoItems.getArguments().slice(0));
	},
	QueryRoomNameItems: function() {
		return this.invoke("QueryRoomNameItems", {}, this.QueryRoomNameItems.getArguments().slice(0));
	},
	QueryItems: function(cid, gid, utype) {
		return this.invoke("QueryItems", {"cid":cid, "gid":gid, "utype":utype}, this.QueryItems.getArguments().slice(3));
	},
	Buy: function(AccountType, toUserAccount, ItemTypeId, amount) {
		return this.invoke("Buy", {"AccountType":AccountType, "toUserAccount":toUserAccount, "ItemTypeId":ItemTypeId, "amount":amount}, this.Buy.getArguments().slice(4));
	},
	Present: function(userid, userType, ItemTypeId, amount) {
		return this.invoke("Present", {"userid":userid, "userType":userType, "ItemTypeId":ItemTypeId, "amount":amount}, this.Present.getArguments().slice(4));
	},
	TransItem: function(itemid, userType, touser) {
		return this.invoke("TransItem", {"itemid":itemid, "userType":userType, "touser":touser}, this.TransItem.getArguments().slice(3));
	},
	GetMyItemsForPlat: function(page, userid) {
		return this.invoke("GetMyItemsForPlat", {"page":page, "userid":userid}, this.GetMyItemsForPlat.getArguments().slice(2));
	},
	GetMyItems: function(page) {
		return this.invoke("GetMyItems", {"page":page}, this.GetMyItems.getArguments().slice(1));
	},
	AjaxQueryBuyItemData: function(startdate, enddate, category) {
		return this.invoke("AjaxQueryBuyItemData", {"startdate":startdate, "enddate":enddate, "category":category}, this.AjaxQueryBuyItemData.getArguments().slice(3));
	},
	AjaxQueryBuyItemDataByHour: function(strdate, category) {
		return this.invoke("AjaxQueryBuyItemDataByHour", {"strdate":strdate, "category":category}, this.AjaxQueryBuyItemDataByHour.getArguments().slice(2));
	},
	AjaxQueryBuyItemBagData: function(startdate, enddate) {
		return this.invoke("AjaxQueryBuyItemBagData", {"startdate":startdate, "enddate":enddate}, this.AjaxQueryBuyItemBagData.getArguments().slice(2));
	},
	AjaxQueryBuyItemBagDataByHour: function(strdate) {
		return this.invoke("AjaxQueryBuyItemBagDataByHour", {"strdate":strdate}, this.AjaxQueryBuyItemBagDataByHour.getArguments().slice(1));
	},
	SetActive: function(ItemID, active) {
		return this.invoke("SetActive", {"ItemID":ItemID, "active":active}, this.SetActive.getArguments().slice(2));
	},
	SetActivePlat: function(userid, ItemID, active) {
		return this.invoke("SetActivePlat", {"userid":userid, "ItemID":ItemID, "active":active}, this.SetActivePlat.getArguments().slice(3));
	},
	UseVipItem: function(itemid) {
		return this.invoke("UseVipItem", {"itemid":itemid}, this.UseVipItem.getArguments().slice(1));
	},
	url: '/ajaxpro/CGA.HFItemShop.AllFunctions,App_Code.ashx'
}));
AjaxService = new AjaxService_class();

