if(typeof PurpleParrot == "undefined") PurpleParrot={};
if(typeof PurpleParrot.Storefront == "undefined") PurpleParrot.Storefront={};
if(typeof PurpleParrot.Storefront.WebUI == "undefined") PurpleParrot.Storefront.WebUI={};
if(typeof PurpleParrot.Storefront.WebUI.Search_ProductCatalog == "undefined") PurpleParrot.Storefront.WebUI.Search_ProductCatalog={};
PurpleParrot.Storefront.WebUI.Search_ProductCatalog_class = function() {};
Object.extend(PurpleParrot.Storefront.WebUI.Search_ProductCatalog_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	ReturnCurrentPageIndex: function() {
		return this.invoke("ReturnCurrentPageIndex", {}, this.ReturnCurrentPageIndex.getArguments().slice(0));
	},
	InventoryPaging: function(pageRequest) {
		return this.invoke("InventoryPaging", {"pageRequest":pageRequest}, this.InventoryPaging.getArguments().slice(1));
	},
	Sorting: function(SortColumn) {
		return this.invoke("Sorting", {"SortColumn":SortColumn}, this.Sorting.getArguments().slice(1));
	},
	GetAllItems: function() {
		return this.invoke("GetAllItems", {}, this.GetAllItems.getArguments().slice(0));
	},
	AddItemToCart: function(invId, Quantity) {
		return this.invoke("AddItemToCart", {"invId":invId, "Quantity":Quantity}, this.AddItemToCart.getArguments().slice(2));
	},
	UpdateInventoryTooltip: function(InvID, OtherAddToCartToModify, OtherAddedToCartLabel) {
		return this.invoke("UpdateInventoryTooltip", {"InvID":InvID, "OtherAddToCartToModify":OtherAddToCartToModify, "OtherAddedToCartLabel":OtherAddedToCartLabel}, this.UpdateInventoryTooltip.getArguments().slice(3));
	},
	url: '/ajaxpro/PurpleParrot.Storefront.WebUI.Search_ProductCatalog,PurpleParrot.Storefront.WebUI.ashx'
}));
PurpleParrot.Storefront.WebUI.Search_ProductCatalog = new PurpleParrot.Storefront.WebUI.Search_ProductCatalog_class();


