if(typeof ShoppingCart == "undefined") ShoppingCart={};
ShoppingCart_class = function() {};
Object.extend(ShoppingCart_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetCartId: function() {
		return this.invoke("GetCartId", {}, this.GetCartId.getArguments().slice(0));
	},
	CreateCart: function() {
		return this.invoke("CreateCart", {}, this.CreateCart.getArguments().slice(0));
	},
	AddProduct: function(product_id, qty) {
		return this.invoke("AddProduct", {"product_id":product_id, "qty":qty}, this.AddProduct.getArguments().slice(2));
	},
	BatchAddProducts: function(data) {
		return this.invoke("BatchAddProducts", {"data":data}, this.BatchAddProducts.getArguments().slice(1));
	},
	RemoveProduct: function(product_id) {
		return this.invoke("RemoveProduct", {"product_id":product_id}, this.RemoveProduct.getArguments().slice(1));
	},
	GetContents: function() {
		return this.invoke("GetContents", {}, this.GetContents.getArguments().slice(0));
	},
	url: '/ajaxpro/ShoppingCart,App_Code.0dtvxlyj.ashx'
}));
ShoppingCart = new ShoppingCart_class();

