var Lookup=function() {
Lookup.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Lookup.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Lookup._staticInstance.get_path();},
GetStateText:function(prefixText,count,succeededCallback, failedCallback, userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetStateText',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetCities:function(prefixText,count,succeededCallback, failedCallback, userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetCities',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); }}
Lookup.registerClass('Lookup',Sys.Net.WebServiceProxy);
Lookup._staticInstance = new Lookup();
Lookup.set_path = function(value) {
Lookup._staticInstance.set_path(value); }
Lookup.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Lookup._staticInstance.get_path();}
Lookup.set_timeout = function(value) {
Lookup._staticInstance.set_timeout(value); }
Lookup.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Lookup._staticInstance.get_timeout(); }
Lookup.set_defaultUserContext = function(value) { 
Lookup._staticInstance.set_defaultUserContext(value); }
Lookup.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Lookup._staticInstance.get_defaultUserContext(); }
Lookup.set_defaultSucceededCallback = function(value) { 
 Lookup._staticInstance.set_defaultSucceededCallback(value); }
Lookup.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Lookup._staticInstance.get_defaultSucceededCallback(); }
Lookup.set_defaultFailedCallback = function(value) { 
Lookup._staticInstance.set_defaultFailedCallback(value); }
Lookup.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Lookup._staticInstance.get_defaultFailedCallback(); }
Lookup.set_enableJsonp = function(value) { Lookup._staticInstance.set_enableJsonp(value); }
Lookup.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return Lookup._staticInstance.get_enableJsonp(); }
Lookup.set_jsonpCallbackParameter = function(value) { Lookup._staticInstance.set_jsonpCallbackParameter(value); }
Lookup.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return Lookup._staticInstance.get_jsonpCallbackParameter(); }
Lookup.set_path("/Firearms/Lookup.asmx");
Lookup.GetStateText= function(prefixText,count,onSuccess,onFailed,userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Lookup._staticInstance.GetStateText(prefixText,count,onSuccess,onFailed,userContext); }
Lookup.GetCities= function(prefixText,count,onSuccess,onFailed,userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Lookup._staticInstance.GetCities(prefixText,count,onSuccess,onFailed,userContext); }

