var fonePipe=function() {
fonePipe.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
fonePipe.prototype={
Search:function(UserKey,CentLat,CentLong,mbrTop,mbrLeft,mbrBottom,mbrRight,Zoom,whereStr,storeTable,nearest,succeededCallback, failedCallback, userContext) {
return this._invoke(fonePipe.get_path(), 'Search',false,{UserKey:UserKey,CentLat:CentLat,CentLong:CentLong,mbrTop:mbrTop,mbrLeft:mbrLeft,mbrBottom:mbrBottom,mbrRight:mbrRight,Zoom:Zoom,whereStr:whereStr,storeTable:storeTable,nearest:nearest},succeededCallback,failedCallback,userContext); }}
fonePipe.registerClass('fonePipe',Sys.Net.WebServiceProxy);
fonePipe._staticInstance = new fonePipe();
fonePipe.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; fonePipe._staticInstance._path = value; }
fonePipe.get_path = function() { return fonePipe._staticInstance._path; }
fonePipe.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); }
fonePipe._staticInstance._timeout = value; }
fonePipe.get_timeout = function() { 
return fonePipe._staticInstance._timeout; }
fonePipe.set_defaultUserContext = function(value) { 
fonePipe._staticInstance._userContext = value; }
fonePipe.get_defaultUserContext = function() { 
return fonePipe._staticInstance._userContext; }
fonePipe.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; fonePipe._staticInstance._succeeded = value; }
fonePipe.get_defaultSucceededCallback = function() { 
return fonePipe._staticInstance._succeeded; }
fonePipe.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; fonePipe._staticInstance._failed = value; }
fonePipe.get_defaultFailedCallback = function() { 
return fonePipe._staticInstance._failed; }
fonePipe.set_path("/mapdatasciences/mdslocator/fonePipe.asmx");
fonePipe.Search= function(UserKey,CentLat,CentLong,mbrTop,mbrLeft,mbrBottom,mbrRight,Zoom,whereStr,storeTable,nearest,onSuccess,onFailed,userContext) {fonePipe._staticInstance.Search(UserKey,CentLat,CentLong,mbrTop,mbrLeft,mbrBottom,mbrRight,Zoom,whereStr,storeTable,nearest,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Service');
if (typeof(Service.SearchItem) === 'undefined') {
Service.SearchItem=gtc("Service.SearchItem");
Service.SearchItem.registerClass('Service.SearchItem');
}

