if(typeof AjaxCommon == "undefined") AjaxCommon={};
AjaxCommon_class = function() {};
Object.extend(AjaxCommon_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	SaveItemToShoppingCart: function(itemID, quantity, serverID, cartName) {
		return this.invoke("SaveItemToShoppingCart", {"itemID":itemID, "quantity":quantity, "serverID":serverID, "cartName":cartName}, this.SaveItemToShoppingCart.getArguments().slice(4));
	},
	RemoveItemFromShoppingCart: function(itemID, cartName) {
		return this.invoke("RemoveItemFromShoppingCart", {"itemID":itemID, "cartName":cartName}, this.RemoveItemFromShoppingCart.getArguments().slice(2));
	},
	LoadShoppingCart: function(cartName) {
		return this.invoke("LoadShoppingCart", {"cartName":cartName}, this.LoadShoppingCart.getArguments().slice(1));
	},
	GetPromotionPrice: function(quantity, sumPrice) {
		return this.invoke("GetPromotionPrice", {"quantity":quantity, "sumPrice":sumPrice}, this.GetPromotionPrice.getArguments().slice(2));
	},
	GetVipPrice: function(quantity, sumPrice) {
		return this.invoke("GetVipPrice", {"quantity":quantity, "sumPrice":sumPrice}, this.GetVipPrice.getArguments().slice(2));
	},
	GetServerList: function(gameID) {
		return this.invoke("GetServerList", {"gameID":gameID}, this.GetServerList.getArguments().slice(1));
	},
	GetCharacterClassList: function(gameID) {
		return this.invoke("GetCharacterClassList", {"gameID":gameID}, this.GetCharacterClassList.getArguments().slice(1));
	},
	GetCharacterTalantList: function(classID) {
		return this.invoke("GetCharacterTalantList", {"classID":classID}, this.GetCharacterTalantList.getArguments().slice(1));
	},
	GetCharacterSlotList: function(gameID) {
		return this.invoke("GetCharacterSlotList", {"gameID":gameID}, this.GetCharacterSlotList.getArguments().slice(1));
	},
	url: '/ajaxpro/AjaxCommon,Web_deploy.ashx'
}));
AjaxCommon = new AjaxCommon_class();

