if(typeof ShoppingCart == "undefined") ShoppingCart={};
ShoppingCart_class = function() {};
Object.extend(ShoppingCart_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	Add: function(buyType, productId, name, qty) {
		return this.invoke("Add", {"buyType":buyType, "productId":productId, "name":name, "qty":qty}, this.Add.getArguments().slice(4));
	},
	DeleteProduct: function(index) {
		return this.invoke("DeleteProduct", {"index":index}, this.DeleteProduct.getArguments().slice(1));
	},
	DeleteProductIargess: function(index) {
		return this.invoke("DeleteProductIargess", {"index":index}, this.DeleteProductIargess.getArguments().slice(1));
	},
	GetProducts: function() {
		return this.invoke("GetProducts", {}, this.GetProducts.getArguments().slice(0));
	},
	Clear: function() {
		return this.invoke("Clear", {}, this.Clear.getArguments().slice(0));
	},
	ChangeQty: function(index, qty) {
		return this.invoke("ChangeQty", {"index":index, "qty":qty}, this.ChangeQty.getArguments().slice(2));
	},
	SupportsCookies: function() {
		return this.invoke("SupportsCookies", {}, this.SupportsCookies.getArguments().slice(0));
	},
	GetFavorables: function() {
		return this.invoke("GetFavorables", {}, this.GetFavorables.getArguments().slice(0));
	},
	GetIargesses: function() {
		return this.invoke("GetIargesses", {}, this.GetIargesses.getArguments().slice(0));
	},
	GetMaxIargess: function(money) {
		return this.invoke("GetMaxIargess", {"money":money}, this.GetMaxIargess.getArguments().slice(1));
	},
	GetTradeDiscount: function() {
		return this.invoke("GetTradeDiscount", {}, this.GetTradeDiscount.getArguments().slice(0));
	},
	GetProductCount: function() {
		return this.invoke("GetProductCount", {}, this.GetProductCount.getArguments().slice(0));
	},
	GetSum: function() {
		return this.invoke("GetSum", {}, this.GetSum.getArguments().slice(0));
	},
	IsLogined: function() {
		return this.invoke("IsLogined", {}, this.IsLogined.getArguments().slice(0));
	},
	LoginedUser: function() {
		return this.invoke("LoginedUser", {}, this.LoginedUser.getArguments().slice(0));
	},
	url: '/ajaxpro/ShoppingCart,App_Code.ashx'
}));
ShoppingCart = new ShoppingCart_class();

