var LocationsWS=function() {
LocationsWS.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
LocationsWS.prototype={
GetHotelsByDistrict:function(lang,districtID,succeededCallback, failedCallback, userContext) {
return this._invoke(LocationsWS.get_path(), 'GetHotelsByDistrict',true,{lang:lang,districtID:districtID},succeededCallback,failedCallback,userContext); },
GetDistrictsWithOffers:function(lang,regionID,succeededCallback, failedCallback, userContext) {
return this._invoke(LocationsWS.get_path(), 'GetDistrictsWithOffers',true,{lang:lang,regionID:regionID},succeededCallback,failedCallback,userContext); },
GetCountriesWithOffers:function(filter,lang,areaID,succeededCallback, failedCallback, userContext) {
return this._invoke(LocationsWS.get_path(), 'GetCountriesWithOffers',true,{filter:filter,lang:lang,areaID:areaID},succeededCallback,failedCallback,userContext); }}
LocationsWS.registerClass('LocationsWS',Sys.Net.WebServiceProxy);
LocationsWS._staticInstance = new LocationsWS();
LocationsWS.set_path = function(value) { LocationsWS._staticInstance._path = value; }
LocationsWS.get_path = function() { return LocationsWS._staticInstance._path; }
LocationsWS.set_timeout = function(value) { LocationsWS._staticInstance._timeout = value; }
LocationsWS.get_timeout = function() { return LocationsWS._staticInstance._timeout; }
LocationsWS.set_defaultUserContext = function(value) { LocationsWS._staticInstance._userContext = value; }
LocationsWS.get_defaultUserContext = function() { return LocationsWS._staticInstance._userContext; }
LocationsWS.set_defaultSucceededCallback = function(value) { LocationsWS._staticInstance._succeeded = value; }
LocationsWS.get_defaultSucceededCallback = function() { return LocationsWS._staticInstance._succeeded; }
LocationsWS.set_defaultFailedCallback = function(value) { LocationsWS._staticInstance._failed = value; }
LocationsWS.get_defaultFailedCallback = function() { return LocationsWS._staticInstance._failed; }
LocationsWS.set_path("/Services/LocationsWS.asmx");
LocationsWS.GetHotelsByDistrict= function(lang,districtID,onSuccess,onFailed,userContext) {LocationsWS._staticInstance.GetHotelsByDistrict(lang,districtID,onSuccess,onFailed,userContext); }
LocationsWS.GetDistrictsWithOffers= function(lang,regionID,onSuccess,onFailed,userContext) {LocationsWS._staticInstance.GetDistrictsWithOffers(lang,regionID,onSuccess,onFailed,userContext); }
LocationsWS.GetCountriesWithOffers= function(filter,lang,areaID,onSuccess,onFailed,userContext) {LocationsWS._staticInstance.GetCountriesWithOffers(filter,lang,areaID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Nicolaus.IBE.Locations');
if (typeof(Nicolaus.IBE.Locations.Destination) === 'undefined') {
Nicolaus.IBE.Locations.Destination=gtc("Nicolaus.IBE.Locations.Destination");
Nicolaus.IBE.Locations.Destination.registerClass('Nicolaus.IBE.Locations.Destination');
}
if (typeof(Nicolaus.IBE.Locations.Country) === 'undefined') {
Nicolaus.IBE.Locations.Country=gtc("Nicolaus.IBE.Locations.Country");
Nicolaus.IBE.Locations.Country.registerClass('Nicolaus.IBE.Locations.Country');
}

