var GeographySvc=function() {
GeographySvc.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GeographySvc.prototype={
GetSuggestionsAvia:function(keyword,usePaging,pageIndex,pageSize,succeededCallback, failedCallback, userContext) {
return this._invoke(GeographySvc.get_path(), 'GetSuggestionsAvia',false,{keyword:keyword,usePaging:usePaging,pageIndex:pageIndex,pageSize:pageSize},succeededCallback,failedCallback,userContext); },
GetSuggestionsAirline:function(keyword,usePaging,pageIndex,pageSize,succeededCallback, failedCallback, userContext) {
return this._invoke(GeographySvc.get_path(), 'GetSuggestionsAirline',false,{keyword:keyword,usePaging:usePaging,pageIndex:pageIndex,pageSize:pageSize},succeededCallback,failedCallback,userContext); },
GetSuggestionsRail:function(keyword,usePaging,pageIndex,pageSize,succeededCallback, failedCallback, userContext) {
return this._invoke(GeographySvc.get_path(), 'GetSuggestionsRail',false,{keyword:keyword,usePaging:usePaging,pageIndex:pageIndex,pageSize:pageSize},succeededCallback,failedCallback,userContext); }}
GeographySvc.registerClass('GeographySvc',Sys.Net.WebServiceProxy);
GeographySvc._staticInstance = new GeographySvc();
GeographySvc.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; GeographySvc._staticInstance._path = value; }
GeographySvc.get_path = function() { return GeographySvc._staticInstance._path; }
GeographySvc.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); }
GeographySvc._staticInstance._timeout = value; }
GeographySvc.get_timeout = function() { 
return GeographySvc._staticInstance._timeout; }
GeographySvc.set_defaultUserContext = function(value) { 
GeographySvc._staticInstance._userContext = value; }
GeographySvc.get_defaultUserContext = function() { 
return GeographySvc._staticInstance._userContext; }
GeographySvc.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; GeographySvc._staticInstance._succeeded = value; }
GeographySvc.get_defaultSucceededCallback = function() { 
return GeographySvc._staticInstance._succeeded; }
GeographySvc.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; GeographySvc._staticInstance._failed = value; }
GeographySvc.get_defaultFailedCallback = function() { 
return GeographySvc._staticInstance._failed; }
GeographySvc.set_path("/WebServices/GeographySvc.asmx");
GeographySvc.GetSuggestionsAvia= function(keyword,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext) {GeographySvc._staticInstance.GetSuggestionsAvia(keyword,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext); }
GeographySvc.GetSuggestionsAirline= function(keyword,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext) {GeographySvc._staticInstance.GetSuggestionsAirline(keyword,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext); }
GeographySvc.GetSuggestionsRail= function(keyword,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext) {GeographySvc._staticInstance.GetSuggestionsRail(keyword,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext); }
