Type.registerNamespace('GRS.Distribution.GoRedSea.Client.WebApp.WebServices');
GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask=function() {
GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask._staticInstance.get_path();},
GetAccommodationNames:function(destinationLocationCode,productType,departureCountryCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAccommodationNames',false,{destinationLocationCode:destinationLocationCode,productType:productType,departureCountryCode:departureCountryCode},succeededCallback,failedCallback,userContext); },
GetLivingInCountries:function(languageCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLivingInCountries',false,{languageCode:languageCode},succeededCallback,failedCallback,userContext); }}
GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask.registerClass('GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask',Sys.Net.WebServiceProxy);
GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask._staticInstance = new GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask();
GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask.set_path = function(value) { GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask._staticInstance.set_path(value); }
GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask.get_path = function() { return GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask._staticInstance.get_path(); }
GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask.set_timeout = function(value) { GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask._staticInstance.set_timeout(value); }
GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask.get_timeout = function() { return GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask._staticInstance.get_timeout(); }
GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask.set_defaultUserContext = function(value) { GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask._staticInstance.set_defaultUserContext(value); }
GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask.get_defaultUserContext = function() { return GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask._staticInstance.get_defaultUserContext(); }
GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask.set_defaultSucceededCallback = function(value) { GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask._staticInstance.set_defaultSucceededCallback(value); }
GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask.get_defaultSucceededCallback = function() { return GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask._staticInstance.get_defaultSucceededCallback(); }
GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask.set_defaultFailedCallback = function(value) { GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask._staticInstance.set_defaultFailedCallback(value); }
GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask.get_defaultFailedCallback = function() { return GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask._staticInstance.get_defaultFailedCallback(); }
GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask.set_path("/WebServices/SmartMask.asmx");
GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask.GetAccommodationNames= function(destinationLocationCode,productType,departureCountryCode,onSuccess,onFailed,userContext) {GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask._staticInstance.GetAccommodationNames(destinationLocationCode,productType,departureCountryCode,onSuccess,onFailed,userContext); }
GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask.GetLivingInCountries= function(languageCode,onSuccess,onFailed,userContext) {GRS.Distribution.GoRedSea.Client.WebApp.WebServices.SmartMask._staticInstance.GetLivingInCountries(languageCode,onSuccess,onFailed,userContext); }
