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