var AddressSearch=function() {
AddressSearch.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AddressSearch.prototype={
FindMatches:function(mapID,county,city,partialAddress,startAt,limit,succeededCallback, failedCallback, userContext) {
return this._invoke(AddressSearch.get_path(), 'FindMatches',false,{mapID:mapID,county:county,city:city,partialAddress:partialAddress,startAt:startAt,limit:limit},succeededCallback,failedCallback,userContext); }}
AddressSearch.registerClass('AddressSearch',Sys.Net.WebServiceProxy);
AddressSearch._staticInstance = new AddressSearch();
AddressSearch.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; AddressSearch._staticInstance._path = value; }
AddressSearch.get_path = function() { return AddressSearch._staticInstance._path; }
AddressSearch.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); }
AddressSearch._staticInstance._timeout = value; }
AddressSearch.get_timeout = function() { 
return AddressSearch._staticInstance._timeout; }
AddressSearch.set_defaultUserContext = function(value) { 
AddressSearch._staticInstance._userContext = value; }
AddressSearch.get_defaultUserContext = function() { 
return AddressSearch._staticInstance._userContext; }
AddressSearch.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; AddressSearch._staticInstance._succeeded = value; }
AddressSearch.get_defaultSucceededCallback = function() { 
return AddressSearch._staticInstance._succeeded; }
AddressSearch.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; AddressSearch._staticInstance._failed = value; }
AddressSearch.get_defaultFailedCallback = function() { 
return AddressSearch._staticInstance._failed; }
AddressSearch.set_path("/webservices/AddressSearch.asmx");
AddressSearch.FindMatches= function(mapID,county,city,partialAddress,startAt,limit,onSuccess,onFailed,userContext) {AddressSearch._staticInstance.FindMatches(mapID,county,city,partialAddress,startAt,limit,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(AddressSearchResult) === 'undefined') {
var AddressSearchResult=gtc("AddressSearchResult");
AddressSearchResult.registerClass('AddressSearchResult');
}
