var StoreLocator=function() {
StoreLocator.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
StoreLocator.prototype={
getProducts:function(brand,succeededCallback, failedCallback, userContext) {
return this._invoke(StoreLocator.get_path(), 'getProducts',false,{brand:brand},succeededCallback,failedCallback,userContext); },
getStores:function(Zipcode,ProductId,SearchRadius,succeededCallback, failedCallback, userContext) {
return this._invoke(StoreLocator.get_path(), 'getStores',false,{Zipcode:Zipcode,ProductId:ProductId,SearchRadius:SearchRadius},succeededCallback,failedCallback,userContext); },
getProductCategories:function(Brand,succeededCallback, failedCallback, userContext) {
return this._invoke(StoreLocator.get_path(), 'getProductCategories',false,{Brand:Brand},succeededCallback,failedCallback,userContext); },
getProductsList:function(Brand,CategoryID,succeededCallback, failedCallback, userContext) {
return this._invoke(StoreLocator.get_path(), 'getProductsList',false,{Brand:Brand,CategoryID:CategoryID},succeededCallback,failedCallback,userContext); },
getSizeList:function(Brand,ProductID,succeededCallback, failedCallback, userContext) {
return this._invoke(StoreLocator.get_path(), 'getSizeList',false,{Brand:Brand,ProductID:ProductID},succeededCallback,failedCallback,userContext); }}
StoreLocator.registerClass('StoreLocator',Sys.Net.WebServiceProxy);
StoreLocator._staticInstance = new StoreLocator();
StoreLocator.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; StoreLocator._staticInstance._path = value; }
StoreLocator.get_path = function() { return StoreLocator._staticInstance._path; }
StoreLocator.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); }
StoreLocator._staticInstance._timeout = value; }
StoreLocator.get_timeout = function() { 
return StoreLocator._staticInstance._timeout; }
StoreLocator.set_defaultUserContext = function(value) { 
StoreLocator._staticInstance._userContext = value; }
StoreLocator.get_defaultUserContext = function() { 
return StoreLocator._staticInstance._userContext; }
StoreLocator.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; StoreLocator._staticInstance._succeeded = value; }
StoreLocator.get_defaultSucceededCallback = function() { 
return StoreLocator._staticInstance._succeeded; }
StoreLocator.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; StoreLocator._staticInstance._failed = value; }
StoreLocator.get_defaultFailedCallback = function() { 
return StoreLocator._staticInstance._failed; }
StoreLocator.set_path("/services/StoreLocator.asmx");
StoreLocator.getProducts= function(brand,onSuccess,onFailed,userContext) {StoreLocator._staticInstance.getProducts(brand,onSuccess,onFailed,userContext); }
StoreLocator.getStores= function(Zipcode,ProductId,SearchRadius,onSuccess,onFailed,userContext) {StoreLocator._staticInstance.getStores(Zipcode,ProductId,SearchRadius,onSuccess,onFailed,userContext); }
StoreLocator.getProductCategories= function(Brand,onSuccess,onFailed,userContext) {StoreLocator._staticInstance.getProductCategories(Brand,onSuccess,onFailed,userContext); }
StoreLocator.getProductsList= function(Brand,CategoryID,onSuccess,onFailed,userContext) {StoreLocator._staticInstance.getProductsList(Brand,CategoryID,onSuccess,onFailed,userContext); }
StoreLocator.getSizeList= function(Brand,ProductID,onSuccess,onFailed,userContext) {StoreLocator._staticInstance.getSizeList(Brand,ProductID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(StoreLocator_Output) === 'undefined') {
var StoreLocator_Output=gtc("StoreLocator+Output");
StoreLocator_Output.registerClass('StoreLocator_Output');
}
