if(typeof PTEnjoyShop == "undefined") PTEnjoyShop={};
if(typeof PTEnjoyShop.ShoppingCart_class == "undefined") PTEnjoyShop.ShoppingCart_class={};
PTEnjoyShop.ShoppingCart_class = function() {};
Object.extend(PTEnjoyShop.ShoppingCart_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	amount: function(pid, qty) {
		return this.invoke("amount", {"pid":pid, "qty":qty}, this.amount.getArguments().slice(2));
	},
	postagechange: function(value) {
		return this.invoke("postagechange", {"value":value}, this.postagechange.getArguments().slice(1));
	},
	totalchange: function(country) {
		return this.invoke("totalchange", {"country":country}, this.totalchange.getArguments().slice(1));
	},
	subtotalchange: function() {
		return this.invoke("subtotalchange", {}, this.subtotalchange.getArguments().slice(0));
	},
	url: '/ajaxpro/PTEnjoyShop.ShoppingCart,PTEnjoyShop.ashx'
}));
PTEnjoyShop.ShoppingCart = new PTEnjoyShop.ShoppingCart_class();

