Type.registerNamespace('MySpace.Web.Services');
MySpace.Web.Services.GeoLocation=function() {
MySpace.Web.Services.GeoLocation.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MySpace.Web.Services.GeoLocation.prototype={
GetStates:function(countryID,culture,succeededCallback, failedCallback, userContext) {
return this._invoke(MySpace.Web.Services.GeoLocation.get_path(), 'GetStates',false,{countryID:countryID,culture:culture},succeededCallback,failedCallback,userContext); },
GetStatesList:function(countryID,culture,succeededCallback, failedCallback, userContext) {
return this._invoke(MySpace.Web.Services.GeoLocation.get_path(), 'GetStatesList',false,{countryID:countryID,culture:culture},succeededCallback,failedCallback,userContext); },
SavePreferredCulture:function(culture,succeededCallback, failedCallback, userContext) {
return this._invoke(MySpace.Web.Services.GeoLocation.get_path(), 'SavePreferredCulture',false,{culture:culture},succeededCallback,failedCallback,userContext); },
GetRadii:function(succeededCallback, failedCallback, userContext) {
return this._invoke(MySpace.Web.Services.GeoLocation.get_path(), 'GetRadii',false,{},succeededCallback,failedCallback,userContext); },
GetCities:function(country,region,succeededCallback, failedCallback, userContext) {
return this._invoke(MySpace.Web.Services.GeoLocation.get_path(), 'GetCities',false,{country:country,region:region},succeededCallback,failedCallback,userContext); },
GetRegionsProfile:function(country,succeededCallback, failedCallback, userContext) {
return this._invoke(MySpace.Web.Services.GeoLocation.get_path(), 'GetRegionsProfile',false,{country:country},succeededCallback,failedCallback,userContext); },
GetRegionsBrowse:function(country,succeededCallback, failedCallback, userContext) {
return this._invoke(MySpace.Web.Services.GeoLocation.get_path(), 'GetRegionsBrowse',false,{country:country},succeededCallback,failedCallback,userContext); },
GetCountries:function(succeededCallback, failedCallback, userContext) {
return this._invoke(MySpace.Web.Services.GeoLocation.get_path(), 'GetCountries',false,{},succeededCallback,failedCallback,userContext); }}
MySpace.Web.Services.GeoLocation.registerClass('MySpace.Web.Services.GeoLocation',Sys.Net.WebServiceProxy);
MySpace.Web.Services.GeoLocation._staticInstance = new (MySpace.Web.Services.GeoLocation)();
MySpace.Web.Services.GeoLocation.set_path = function(value) { MySpace.Web.Services.GeoLocation._staticInstance._path =  _proxy_jslib_handle(null, 'value', value, 0, 0); }
MySpace.Web.Services.GeoLocation.get_path = function() { return MySpace.Web.Services.GeoLocation._staticInstance._path; }
MySpace.Web.Services.GeoLocation.set_timeout = function(value) { MySpace.Web.Services.GeoLocation._staticInstance._timeout =  _proxy_jslib_handle(null, 'value', value, 0, 0); }
MySpace.Web.Services.GeoLocation.get_timeout = function() { return MySpace.Web.Services.GeoLocation._staticInstance._timeout; }
MySpace.Web.Services.GeoLocation.set_defaultUserContext = function(value) { MySpace.Web.Services.GeoLocation._staticInstance._userContext =  _proxy_jslib_handle(null, 'value', value, 0, 0); }
MySpace.Web.Services.GeoLocation.get_defaultUserContext = function() { return MySpace.Web.Services.GeoLocation._staticInstance._userContext; }
MySpace.Web.Services.GeoLocation.set_defaultSucceededCallback = function(value) { MySpace.Web.Services.GeoLocation._staticInstance._succeeded =  _proxy_jslib_handle(null, 'value', value, 0, 0); }
MySpace.Web.Services.GeoLocation.get_defaultSucceededCallback = function() { return MySpace.Web.Services.GeoLocation._staticInstance._succeeded; }
MySpace.Web.Services.GeoLocation.set_defaultFailedCallback = function(value) { MySpace.Web.Services.GeoLocation._staticInstance._failed =  _proxy_jslib_handle(null, 'value', value, 0, 0); }
MySpace.Web.Services.GeoLocation.get_defaultFailedCallback = function() { return MySpace.Web.Services.GeoLocation._staticInstance._failed; }
MySpace.Web.Services.GeoLocation.set_path("/Services/GeoLocation.asmx");
MySpace.Web.Services.GeoLocation.GetStates= function(countryID,culture,onSuccess,onFailed,userContext) {MySpace.Web.Services.GeoLocation._staticInstance.GetStates(countryID,culture,onSuccess,onFailed,userContext); }
MySpace.Web.Services.GeoLocation.GetStatesList= function(countryID,culture,onSuccess,onFailed,userContext) {MySpace.Web.Services.GeoLocation._staticInstance.GetStatesList(countryID,culture,onSuccess,onFailed,userContext); }
MySpace.Web.Services.GeoLocation.SavePreferredCulture= function(culture,onSuccess,onFailed,userContext) {MySpace.Web.Services.GeoLocation._staticInstance.SavePreferredCulture(culture,onSuccess,onFailed,userContext); }
MySpace.Web.Services.GeoLocation.GetRadii= function(onSuccess,onFailed,userContext) {MySpace.Web.Services.GeoLocation._staticInstance.GetRadii(onSuccess,onFailed,userContext); }
MySpace.Web.Services.GeoLocation.GetCities= function(country,region,onSuccess,onFailed,userContext) {MySpace.Web.Services.GeoLocation._staticInstance.GetCities(country,region,onSuccess,onFailed,userContext); }
MySpace.Web.Services.GeoLocation.GetRegionsProfile= function(country,onSuccess,onFailed,userContext) {MySpace.Web.Services.GeoLocation._staticInstance.GetRegionsProfile(country,onSuccess,onFailed,userContext); }
MySpace.Web.Services.GeoLocation.GetRegionsBrowse= function(country,onSuccess,onFailed,userContext) {MySpace.Web.Services.GeoLocation._staticInstance.GetRegionsBrowse(country,onSuccess,onFailed,userContext); }
MySpace.Web.Services.GeoLocation.GetCountries= function(onSuccess,onFailed,userContext) {MySpace.Web.Services.GeoLocation._staticInstance.GetCountries(onSuccess,onFailed,userContext); }
 ;
_proxy_jslib_flush_write_buffers() ;