var wsFindAgency=function() {
wsFindAgency.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
wsFindAgency.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return wsFindAgency._staticInstance.get_path();},
searchAgencyList:function(strCityID,strRegionID,strAgencyType,strCurrentPageIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'searchAgencyList',false,{strCityID:strCityID,strRegionID:strRegionID,strAgencyType:strAgencyType,strCurrentPageIndex:strCurrentPageIndex},succeededCallback,failedCallback,userContext); }}
wsFindAgency.registerClass('wsFindAgency',Sys.Net.WebServiceProxy);
wsFindAgency._staticInstance = new wsFindAgency();
wsFindAgency.set_path = function(value) { wsFindAgency._staticInstance.set_path(value); }
wsFindAgency.get_path = function() { return wsFindAgency._staticInstance.get_path(); }
wsFindAgency.set_timeout = function(value) { wsFindAgency._staticInstance.set_timeout(value); }
wsFindAgency.get_timeout = function() { return wsFindAgency._staticInstance.get_timeout(); }
wsFindAgency.set_defaultUserContext = function(value) { wsFindAgency._staticInstance.set_defaultUserContext(value); }
wsFindAgency.get_defaultUserContext = function() { return wsFindAgency._staticInstance.get_defaultUserContext(); }
wsFindAgency.set_defaultSucceededCallback = function(value) { wsFindAgency._staticInstance.set_defaultSucceededCallback(value); }
wsFindAgency.get_defaultSucceededCallback = function() { return wsFindAgency._staticInstance.get_defaultSucceededCallback(); }
wsFindAgency.set_defaultFailedCallback = function(value) { wsFindAgency._staticInstance.set_defaultFailedCallback(value); }
wsFindAgency.get_defaultFailedCallback = function() { return wsFindAgency._staticInstance.get_defaultFailedCallback(); }
wsFindAgency.set_path("/WS/wsFindAgency.asmx");
wsFindAgency.searchAgencyList= function(strCityID,strRegionID,strAgencyType,strCurrentPageIndex,onSuccess,onFailed,userContext) {wsFindAgency._staticInstance.searchAgencyList(strCityID,strRegionID,strAgencyType,strCurrentPageIndex,onSuccess,onFailed,userContext); }

