var shop=function() {
shop.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
shop.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return shop._staticInstance.get_path();},
FillShop:function(stindex,pgsize,PagingFunction,IsViewAll,IsGreen,ProductCategoryID,ByBrand,ByPrice,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'FillShop',false,{stindex:stindex,pgsize:pgsize,PagingFunction:PagingFunction,IsViewAll:IsViewAll,IsGreen:IsGreen,ProductCategoryID:ProductCategoryID,ByBrand:ByBrand,ByPrice:ByPrice},succeededCallback,failedCallback,userContext); }}
shop.registerClass('shop',Sys.Net.WebServiceProxy);
shop._staticInstance = new shop();
shop.set_path = function(value) { shop._staticInstance.set_path(value); }
shop.get_path = function() { return shop._staticInstance.get_path(); }
shop.set_timeout = function(value) { shop._staticInstance.set_timeout(value); }
shop.get_timeout = function() { return shop._staticInstance.get_timeout(); }
shop.set_defaultUserContext = function(value) { shop._staticInstance.set_defaultUserContext(value); }
shop.get_defaultUserContext = function() { return shop._staticInstance.get_defaultUserContext(); }
shop.set_defaultSucceededCallback = function(value) { shop._staticInstance.set_defaultSucceededCallback(value); }
shop.get_defaultSucceededCallback = function() { return shop._staticInstance.get_defaultSucceededCallback(); }
shop.set_defaultFailedCallback = function(value) { shop._staticInstance.set_defaultFailedCallback(value); }
shop.get_defaultFailedCallback = function() { return shop._staticInstance.get_defaultFailedCallback(); }
shop.set_path("/WS/shop.asmx");
shop.FillShop= function(stindex,pgsize,PagingFunction,IsViewAll,IsGreen,ProductCategoryID,ByBrand,ByPrice,onSuccess,onFailed,userContext) {shop._staticInstance.FillShop(stindex,pgsize,PagingFunction,IsViewAll,IsGreen,ProductCategoryID,ByBrand,ByPrice,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(ReturnValues) === 'undefined') {
var ReturnValues=gtc("ReturnValues");
ReturnValues.registerClass('ReturnValues');
}

