var MapService=function() {
MapService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MapService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return MapService._staticInstance.get_path();},
GetRegionPageUrl:function(regioncode,lang,urlprefix,wildcardName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRegionPageUrl',false,{regioncode:regioncode,lang:lang,urlprefix:urlprefix,wildcardName:wildcardName},succeededCallback,failedCallback,userContext); },
GetSubRegionPageUrl:function(code,lang,urlprefix,wildcardName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSubRegionPageUrl',false,{code:code,lang:lang,urlprefix:urlprefix,wildcardName:wildcardName},succeededCallback,failedCallback,userContext); },
GetCountryPageUrl:function(code,lang,urlprefix,wildcardName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCountryPageUrl',false,{code:code,lang:lang,urlprefix:urlprefix,wildcardName:wildcardName},succeededCallback,failedCallback,userContext); },
GetLocationPageUrl:function(code,lang,urlprefix,wildcardName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLocationPageUrl',false,{code:code,lang:lang,urlprefix:urlprefix,wildcardName:wildcardName},succeededCallback,failedCallback,userContext); },
GetOperatorsPageUrl:function(code,lang,urlprefix,wildcardName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetOperatorsPageUrl',false,{code:code,lang:lang,urlprefix:urlprefix,wildcardName:wildcardName},succeededCallback,failedCallback,userContext); },
UpdateFlashParameters:function(mapControlId,lang,what,code,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateFlashParameters',false,{mapControlId:mapControlId,lang:lang,what:what,code:code},succeededCallback,failedCallback,userContext); },
GetMarinaInfo:function(lang,code,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMarinaInfo',false,{lang:lang,code:code},succeededCallback,failedCallback,userContext); }}
MapService.registerClass('MapService',Sys.Net.WebServiceProxy);
MapService._staticInstance = new MapService();
MapService.set_path = function(value) { MapService._staticInstance.set_path(value); }
MapService.get_path = function() { return MapService._staticInstance.get_path(); }
MapService.set_timeout = function(value) { MapService._staticInstance.set_timeout(value); }
MapService.get_timeout = function() { return MapService._staticInstance.get_timeout(); }
MapService.set_defaultUserContext = function(value) { MapService._staticInstance.set_defaultUserContext(value); }
MapService.get_defaultUserContext = function() { return MapService._staticInstance.get_defaultUserContext(); }
MapService.set_defaultSucceededCallback = function(value) { MapService._staticInstance.set_defaultSucceededCallback(value); }
MapService.get_defaultSucceededCallback = function() { return MapService._staticInstance.get_defaultSucceededCallback(); }
MapService.set_defaultFailedCallback = function(value) { MapService._staticInstance.set_defaultFailedCallback(value); }
MapService.get_defaultFailedCallback = function() { return MapService._staticInstance.get_defaultFailedCallback(); }
MapService.set_path("/CMSTemplates/YB3/MapService.asmx");
MapService.GetRegionPageUrl= function(regioncode,lang,urlprefix,wildcardName,onSuccess,onFailed,userContext) {MapService._staticInstance.GetRegionPageUrl(regioncode,lang,urlprefix,wildcardName,onSuccess,onFailed,userContext); }
MapService.GetSubRegionPageUrl= function(code,lang,urlprefix,wildcardName,onSuccess,onFailed,userContext) {MapService._staticInstance.GetSubRegionPageUrl(code,lang,urlprefix,wildcardName,onSuccess,onFailed,userContext); }
MapService.GetCountryPageUrl= function(code,lang,urlprefix,wildcardName,onSuccess,onFailed,userContext) {MapService._staticInstance.GetCountryPageUrl(code,lang,urlprefix,wildcardName,onSuccess,onFailed,userContext); }
MapService.GetLocationPageUrl= function(code,lang,urlprefix,wildcardName,onSuccess,onFailed,userContext) {MapService._staticInstance.GetLocationPageUrl(code,lang,urlprefix,wildcardName,onSuccess,onFailed,userContext); }
MapService.GetOperatorsPageUrl= function(code,lang,urlprefix,wildcardName,onSuccess,onFailed,userContext) {MapService._staticInstance.GetOperatorsPageUrl(code,lang,urlprefix,wildcardName,onSuccess,onFailed,userContext); }
MapService.UpdateFlashParameters= function(mapControlId,lang,what,code,onSuccess,onFailed,userContext) {MapService._staticInstance.UpdateFlashParameters(mapControlId,lang,what,code,onSuccess,onFailed,userContext); }
MapService.GetMarinaInfo= function(lang,code,onSuccess,onFailed,userContext) {MapService._staticInstance.GetMarinaInfo(lang,code,onSuccess,onFailed,userContext); }

