if(typeof Amtico == "undefined") Amtico={};
if(typeof Amtico.Controls == "undefined") Amtico.Controls={};
if(typeof Amtico.Controls.Ajax == "undefined") Amtico.Controls.Ajax={};
if(typeof Amtico.Controls.Ajax.ProductSearchAjax_class == "undefined") Amtico.Controls.Ajax.ProductSearchAjax_class={};
Amtico.Controls.Ajax.ProductSearchAjax_class = function() {};
Object.extend(Amtico.Controls.Ajax.ProductSearchAjax_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetMaterialList: function(uses) {
		return this.invoke("GetMaterialList", {"uses":uses}, this.GetMaterialList.getArguments().slice(1));
	},
	GetColorList: function(material) {
		return this.invoke("GetColorList", {"material":material}, this.GetColorList.getArguments().slice(1));
	},
	ProductSearch: function(term, materials, colors, groups, page) {
		return this.invoke("ProductSearch", {"term":term, "materials":materials, "colors":colors, "groups":groups, "page":page}, this.ProductSearch.getArguments().slice(5));
	},
	url: '/ajaxpro/Amtico.Controls.Ajax.ProductSearchAjax,Amtico.Controls.ashx'
}));
Amtico.Controls.Ajax.ProductSearchAjax = new Amtico.Controls.Ajax.ProductSearchAjax_class();


