var FCUtility=function() {
FCUtility.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
FCUtility.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return FCUtility._staticInstance.get_path();},
GetStates:function(iCountryId,succeededCallback, failedCallback, userContext) {
/// <param name="iCountryId" 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(), 'GetStates',false,{iCountryId:iCountryId},succeededCallback,failedCallback,userContext); },
GetPorts:function(iCountryId,succeededCallback, failedCallback, userContext) {
/// <param name="iCountryId" 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(), 'GetPorts',false,{iCountryId:iCountryId},succeededCallback,failedCallback,userContext); },
GetLocationList: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(), 'GetLocationList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); }}
FCUtility.registerClass('FCUtility',Sys.Net.WebServiceProxy);
FCUtility._staticInstance = new FCUtility();
FCUtility.set_path = function(value) {
FCUtility._staticInstance.set_path(value); }
FCUtility.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return FCUtility._staticInstance.get_path();}
FCUtility.set_timeout = function(value) {
FCUtility._staticInstance.set_timeout(value); }
FCUtility.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return FCUtility._staticInstance.get_timeout(); }
FCUtility.set_defaultUserContext = function(value) { 
FCUtility._staticInstance.set_defaultUserContext(value); }
FCUtility.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return FCUtility._staticInstance.get_defaultUserContext(); }
FCUtility.set_defaultSucceededCallback = function(value) { 
 FCUtility._staticInstance.set_defaultSucceededCallback(value); }
FCUtility.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return FCUtility._staticInstance.get_defaultSucceededCallback(); }
FCUtility.set_defaultFailedCallback = function(value) { 
FCUtility._staticInstance.set_defaultFailedCallback(value); }
FCUtility.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return FCUtility._staticInstance.get_defaultFailedCallback(); }
FCUtility.set_path("/HorizonForms/FCUtility.asmx");
FCUtility.GetStates= function(iCountryId,onSuccess,onFailed,userContext) {
/// <param name="iCountryId" 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>
FCUtility._staticInstance.GetStates(iCountryId,onSuccess,onFailed,userContext); }
FCUtility.GetPorts= function(iCountryId,onSuccess,onFailed,userContext) {
/// <param name="iCountryId" 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>
FCUtility._staticInstance.GetPorts(iCountryId,onSuccess,onFailed,userContext); }
FCUtility.GetLocationList= 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>
FCUtility._staticInstance.GetLocationList(prefixText,count,onSuccess,onFailed,userContext); }
