AJProductSearch_class = function() {};
Object.extend(AJProductSearch_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetStoreInfo: function(StoreID) {
		return this.invoke("GetStoreInfo", {"StoreID":StoreID}, this.GetStoreInfo.getArguments().slice(1));
	},
	GetStoreTree: function(StoreID) {
		return this.invoke("GetStoreTree", {"StoreID":StoreID}, this.GetStoreTree.getArguments().slice(1));
	},
	GetCategoryOfStore: function(StoreID) {
		return this.invoke("GetCategoryOfStore", {"StoreID":StoreID}, this.GetCategoryOfStore.getArguments().slice(1));
	},
	GetCategoryOfRootStore: function(StoreID) {
		return this.invoke("GetCategoryOfRootStore", {"StoreID":StoreID}, this.GetCategoryOfRootStore.getArguments().slice(1));
	},
	SearchAll: function(SearchKey, PageIndex) {
		return this.invoke("SearchAll", {"SearchKey":SearchKey, "PageIndex":PageIndex}, this.SearchAll.getArguments().slice(2));
	},
	GetProductInside: function(StoreID, SearchKey, PageIndex, CateID, sort, reverse) {
		return this.invoke("GetProductInside", {"StoreID":StoreID, "SearchKey":SearchKey, "PageIndex":PageIndex, "CateID":CateID, "sort":sort, "reverse":reverse}, this.GetProductInside.getArguments().slice(6));
	},
	GetProductFromRoot: function(StoreID, SearchKey, PageIndex, CateID, sort, reverse) {
		return this.invoke("GetProductFromRoot", {"StoreID":StoreID, "SearchKey":SearchKey, "PageIndex":PageIndex, "CateID":CateID, "sort":sort, "reverse":reverse}, this.GetProductFromRoot.getArguments().slice(6));
	},
	SearchFromRoot: function(StoreID, SearchKey, PageIndex, sort, reverse) {
		return this.invoke("SearchFromRoot", {"StoreID":StoreID, "SearchKey":SearchKey, "PageIndex":PageIndex, "sort":sort, "reverse":reverse}, this.SearchFromRoot.getArguments().slice(5));
	},
	GetProductDetail: function(ProductID) {
		return this.invoke("GetProductDetail", {"ProductID":ProductID}, this.GetProductDetail.getArguments().slice(1));
	},
	GetNewestProduct: function(StoreID, top) {
		return this.invoke("GetNewestProduct", {"StoreID":StoreID, "top":top}, this.GetNewestProduct.getArguments().slice(2));
	},
	GetPromoteProduct: function(StoreID) {
		return this.invoke("GetPromoteProduct", {"StoreID":StoreID}, this.GetPromoteProduct.getArguments().slice(1));
	},
	GetStoreCoord: function(StoreId) {
		return this.invoke("GetStoreCoord", {"StoreId":StoreId}, this.GetStoreCoord.getArguments().slice(1));
	},
	GetAllProduct: function(StoreId) {
		return this.invoke("GetAllProduct", {"StoreId":StoreId}, this.GetAllProduct.getArguments().slice(1));
	},
	GetStore: function(StoreId) {
		return this.invoke("GetStore", {"StoreId":StoreId}, this.GetStore.getArguments().slice(1));
	},
	GetDataforDDL: function() {
		return this.invoke("GetDataforDDL", {}, this.GetDataforDDL.getArguments().slice(0));
	},
	GetProductPromote: function(product_id) {
		return this.invoke("GetProductPromote", {"product_id":product_id}, this.GetProductPromote.getArguments().slice(1));
	},
	UpdateProductFromDs: function(Ods) {
		return this.invoke("UpdateProductFromDs", {"Ods":Ods}, this.UpdateProductFromDs.getArguments().slice(1));
	},
	GetProduct: function(storeId, page) {
		return this.invoke("GetProduct", {"storeId":storeId, "page":page}, this.GetProduct.getArguments().slice(2));
	},
	CopyStore: function(storeId, UserId) {
		return this.invoke("CopyStore", {"storeId":storeId, "UserId":UserId}, this.CopyStore.getArguments().slice(2));
	},
	url: '/ajaxpro/AJProductSearch,App_Code.ashx'
}));
AJProductSearch = new AJProductSearch_class();

