if(typeof Abacus_Store == "undefined") Abacus_Store={};
if(typeof Abacus_Store.singleProduct_class == "undefined") Abacus_Store.singleProduct_class={};
Abacus_Store.singleProduct_class = function() {};
Object.extend(Abacus_Store.singleProduct_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	addToCart: function(pid, quantity) {
		return this.invoke("addToCart", {"pid":pid, "quantity":quantity}, this.addToCart.getArguments().slice(2));
	},
	getSeries: function(id) {
		return this.invoke("getSeries", {"id":id}, this.getSeries.getArguments().slice(1));
	},
	getModels: function(seriesID, brandID) {
		return this.invoke("getModels", {"seriesID":seriesID, "brandID":brandID}, this.getModels.getArguments().slice(2));
	},
	isCompatible: function(modelID, pid) {
		return this.invoke("isCompatible", {"modelID":modelID, "pid":pid}, this.isCompatible.getArguments().slice(2));
	},
	quickFinder: function(catID) {
		return this.invoke("quickFinder", {"catID":catID}, this.quickFinder.getArguments().slice(1));
	},
	quickFinder: function(catID, attributes) {
		return this.invoke("quickFinder", {"catID":catID, "attributes":attributes}, this.quickFinder.getArguments().slice(2));
	},
	getQuickFinderL2: function(catID, attributes) {
		return this.invoke("getQuickFinderL2", {"catID":catID, "attributes":attributes}, this.getQuickFinderL2.getArguments().slice(2));
	},
	getQuickFinderL3: function(catID, catL1tId, attributes) {
		return this.invoke("getQuickFinderL3", {"catID":catID, "catL1tId":catL1tId, "attributes":attributes}, this.getQuickFinderL3.getArguments().slice(3));
	},
	url: '/ajaxpro/Abacus_Store.singleProduct,Abacus_Store.ashx'
}));
Abacus_Store.singleProduct = new Abacus_Store.singleProduct_class();

