var Simple=function() {
Simple.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Simple.prototype={
GetBrands:function(selectedValue,brandWidth,succeededCallback, failedCallback, userContext) {
return this._invoke(Simple.get_path(), 'GetBrands',false,{selectedValue:selectedValue,brandWidth:brandWidth},succeededCallback,failedCallback,userContext); },
GetCategories:function(selectedid,firstLoad,categoryWidth,isExport,succeededCallback, failedCallback, userContext) {
return this._invoke(Simple.get_path(), 'GetCategories',false,{selectedid:selectedid,firstLoad:firstLoad,categoryWidth:categoryWidth,isExport:isExport},succeededCallback,failedCallback,userContext); },
GetExportCategories:function(selectedid,firstLoad,categoryWidth,custdist,succeededCallback, failedCallback, userContext) {
return this._invoke(Simple.get_path(), 'GetExportCategories',false,{selectedid:selectedid,firstLoad:firstLoad,categoryWidth:categoryWidth,custdist:custdist},succeededCallback,failedCallback,userContext); },
GetExportBrands:function(selectedValue,brandWidth,succeededCallback, failedCallback, userContext) {
return this._invoke(Simple.get_path(), 'GetExportBrands',false,{selectedValue:selectedValue,brandWidth:brandWidth},succeededCallback,failedCallback,userContext); }}
Simple.registerClass('Simple',Sys.Net.WebServiceProxy);
Simple._staticInstance = new Simple();
Simple.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; Simple._staticInstance._path = value; }
Simple.get_path = function() { return Simple._staticInstance._path; }
Simple.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
Simple._staticInstance._timeout = value; }
Simple.get_timeout = function() { 
return Simple._staticInstance._timeout; }
Simple.set_defaultUserContext = function(value) { 
Simple._staticInstance._userContext = value; }
Simple.get_defaultUserContext = function() { 
return Simple._staticInstance._userContext; }
Simple.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; Simple._staticInstance._succeeded = value; }
Simple.get_defaultSucceededCallback = function() { 
return Simple._staticInstance._succeeded; }
Simple.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; Simple._staticInstance._failed = value; }
Simple.get_defaultFailedCallback = function() { 
return Simple._staticInstance._failed; }
Simple.set_path("/Simple.asmx");
Simple.GetBrands= function(selectedValue,brandWidth,onSuccess,onFailed,userContext) {Simple._staticInstance.GetBrands(selectedValue,brandWidth,onSuccess,onFailed,userContext); }
Simple.GetCategories= function(selectedid,firstLoad,categoryWidth,isExport,onSuccess,onFailed,userContext) {Simple._staticInstance.GetCategories(selectedid,firstLoad,categoryWidth,isExport,onSuccess,onFailed,userContext); }
Simple.GetExportCategories= function(selectedid,firstLoad,categoryWidth,custdist,onSuccess,onFailed,userContext) {Simple._staticInstance.GetExportCategories(selectedid,firstLoad,categoryWidth,custdist,onSuccess,onFailed,userContext); }
Simple.GetExportBrands= function(selectedValue,brandWidth,onSuccess,onFailed,userContext) {Simple._staticInstance.GetExportBrands(selectedValue,brandWidth,onSuccess,onFailed,userContext); }

