addNamespace("SiteContentMaster");
SiteContentMaster.cart_class = Class.create();
SiteContentMaster.cart_class.prototype = (new AjaxPro.Request()).extend({
	UpdateCart: function(productid, quantity, callback) {
		return this.invoke("UpdateCart", {"productid":productid, "quantity":quantity}, callback);
	},
	GetShippingCostByCountry: function(country, shipmethods, callback) {
		return this.invoke("GetShippingCostByCountry", {"country":country, "shipmethods":shipmethods}, callback);
	},
	GetShippingMethods: function(country, callback) {
		return this.invoke("GetShippingMethods", {"country":country}, callback);
	},
	IsEMS: function(country, callback) {
		return this.invoke("IsEMS", {"country":country}, callback);
	},
	initialize: function() {
		this.url = "/ajaxpro/SiteContentMaster.cart,SiteContentMaster.ashx";
	}
})
SiteContentMaster.cart = new SiteContentMaster.cart_class();


