if(typeof Microsoft == "undefined") Microsoft={};
if(typeof Microsoft.CommerceServer == "undefined") Microsoft.CommerceServer={};
if(typeof Microsoft.CommerceServer.Site == "undefined") Microsoft.CommerceServer.Site={};
if(typeof Microsoft.CommerceServer.Site.Search == "undefined") Microsoft.CommerceServer.Site.Search={};
Microsoft.CommerceServer.Site.Search_class = function() {};
Object.extend(Microsoft.CommerceServer.Site.Search_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetSearchProducts: function(CatalogName, CategoryID, Brand, SearchPhrase, CustomFilter, PageStartIndex, PageEndIndex, OnlyProductsInStock, OnlyDiscountProducts, FloorPrice, CeilingPrice, DetailedSearchMode) {
		return this.invoke("GetSearchProducts", {"CatalogName":CatalogName, "CategoryID":CategoryID, "Brand":Brand, "SearchPhrase":SearchPhrase, "CustomFilter":CustomFilter, "PageStartIndex":PageStartIndex, "PageEndIndex":PageEndIndex, "OnlyProductsInStock":OnlyProductsInStock, "OnlyDiscountProducts":OnlyDiscountProducts, "FloorPrice":FloorPrice, "CeilingPrice":CeilingPrice, "DetailedSearchMode":DetailedSearchMode}, this.GetSearchProducts.getArguments().slice(12));
	},
	url: '/ajaxpro/Microsoft.CommerceServer.Site.Search,Microsoft.CommerceServer.Retail2002.ashx'
}));
Microsoft.CommerceServer.Site.Search = new Microsoft.CommerceServer.Site.Search_class();

