Type.registerNamespace('Majorca.SupportServices');
Majorca.SupportServices.HotelInfo=function() {
Majorca.SupportServices.HotelInfo.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Majorca.SupportServices.HotelInfo.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Majorca.SupportServices.HotelInfo._staticInstance.get_path();},
GetShortDescription:function(strPropertyNum,strControlId,iMaxLength,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetShortDescription',false,{strPropertyNum:strPropertyNum,strControlId:strControlId,iMaxLength:iMaxLength},succeededCallback,failedCallback,userContext); },
GetImageThumbFromDb:function(strPropertyNum,strControlId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetImageThumbFromDb',false,{strPropertyNum:strPropertyNum,strControlId:strControlId},succeededCallback,failedCallback,userContext); },
GetImageThumb:function(strPropertyNum,strControlId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetImageThumb',false,{strPropertyNum:strPropertyNum,strControlId:strControlId},succeededCallback,failedCallback,userContext); },
GetThreeThumbs:function(strPropNum,control1,control2,control3,controlMorePhotos,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetThreeThumbs',false,{strPropNum:strPropNum,control1:control1,control2:control2,control3:control3,controlMorePhotos:controlMorePhotos},succeededCallback,failedCallback,userContext); },
GetHotelPricing:function(dtCheckinDate,dtCheckoutDate,NumAdults,NumChildren,NumRooms,strChainCode,strCityCode,strCityName,strCorporateCode,strHotelName,strPropertyList,strPropertyNumber,controlIds,bSortByPrice,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetHotelPricing',false,{dtCheckinDate:dtCheckinDate,dtCheckoutDate:dtCheckoutDate,NumAdults:NumAdults,NumChildren:NumChildren,NumRooms:NumRooms,strChainCode:strChainCode,strCityCode:strCityCode,strCityName:strCityName,strCorporateCode:strCorporateCode,strHotelName:strHotelName,strPropertyList:strPropertyList,strPropertyNumber:strPropertyNumber,controlIds:controlIds,bSortByPrice:bSortByPrice},succeededCallback,failedCallback,userContext); },
GetCompletePricing:function(dtCheckinDate,dtCheckoutDate,NumAdults,NumChildren,NumRooms,strChainCode,strCityCode,strCityName,strCorporateCode,strHotelName,strPropertyList,strPropertyNumber,controlIds,controlReserveNowIds,bSortByPrice,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCompletePricing',false,{dtCheckinDate:dtCheckinDate,dtCheckoutDate:dtCheckoutDate,NumAdults:NumAdults,NumChildren:NumChildren,NumRooms:NumRooms,strChainCode:strChainCode,strCityCode:strCityCode,strCityName:strCityName,strCorporateCode:strCorporateCode,strHotelName:strHotelName,strPropertyList:strPropertyList,strPropertyNumber:strPropertyNumber,controlIds:controlIds,controlReserveNowIds:controlReserveNowIds,bSortByPrice:bSortByPrice},succeededCallback,failedCallback,userContext); },
GetCompletePricingTable:function(dtCheckinDate,dtCheckoutDate,NumAdults,NumChildren,NumRooms,strChainCode,strCityCode,strCityName,strCorporateCode,strHotelName,strPropertyNumber,bSortByPrice,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCompletePricingTable',false,{dtCheckinDate:dtCheckinDate,dtCheckoutDate:dtCheckoutDate,NumAdults:NumAdults,NumChildren:NumChildren,NumRooms:NumRooms,strChainCode:strChainCode,strCityCode:strCityCode,strCityName:strCityName,strCorporateCode:strCorporateCode,strHotelName:strHotelName,strPropertyNumber:strPropertyNumber,bSortByPrice:bSortByPrice},succeededCallback,failedCallback,userContext); },
DisplayMap:function(strPropertyNumber,ControlName,iWidth,iHeight,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DisplayMap',false,{strPropertyNumber:strPropertyNumber,ControlName:ControlName,iWidth:iWidth,iHeight:iHeight},succeededCallback,failedCallback,userContext); }}
Majorca.SupportServices.HotelInfo.registerClass('Majorca.SupportServices.HotelInfo',Sys.Net.WebServiceProxy);
Majorca.SupportServices.HotelInfo._staticInstance = new Majorca.SupportServices.HotelInfo();
Majorca.SupportServices.HotelInfo.set_path = function(value) { Majorca.SupportServices.HotelInfo._staticInstance.set_path(value); }
Majorca.SupportServices.HotelInfo.get_path = function() { return Majorca.SupportServices.HotelInfo._staticInstance.get_path(); }
Majorca.SupportServices.HotelInfo.set_timeout = function(value) { Majorca.SupportServices.HotelInfo._staticInstance.set_timeout(value); }
Majorca.SupportServices.HotelInfo.get_timeout = function() { return Majorca.SupportServices.HotelInfo._staticInstance.get_timeout(); }
Majorca.SupportServices.HotelInfo.set_defaultUserContext = function(value) { Majorca.SupportServices.HotelInfo._staticInstance.set_defaultUserContext(value); }
Majorca.SupportServices.HotelInfo.get_defaultUserContext = function() { return Majorca.SupportServices.HotelInfo._staticInstance.get_defaultUserContext(); }
Majorca.SupportServices.HotelInfo.set_defaultSucceededCallback = function(value) { Majorca.SupportServices.HotelInfo._staticInstance.set_defaultSucceededCallback(value); }
Majorca.SupportServices.HotelInfo.get_defaultSucceededCallback = function() { return Majorca.SupportServices.HotelInfo._staticInstance.get_defaultSucceededCallback(); }
Majorca.SupportServices.HotelInfo.set_defaultFailedCallback = function(value) { Majorca.SupportServices.HotelInfo._staticInstance.set_defaultFailedCallback(value); }
Majorca.SupportServices.HotelInfo.get_defaultFailedCallback = function() { return Majorca.SupportServices.HotelInfo._staticInstance.get_defaultFailedCallback(); }
Majorca.SupportServices.HotelInfo.set_path("/SupportServices/HotelInfo.asmx");
Majorca.SupportServices.HotelInfo.GetShortDescription= function(strPropertyNum,strControlId,iMaxLength,onSuccess,onFailed,userContext) {Majorca.SupportServices.HotelInfo._staticInstance.GetShortDescription(strPropertyNum,strControlId,iMaxLength,onSuccess,onFailed,userContext); }
Majorca.SupportServices.HotelInfo.GetImageThumbFromDb= function(strPropertyNum,strControlId,onSuccess,onFailed,userContext) {Majorca.SupportServices.HotelInfo._staticInstance.GetImageThumbFromDb(strPropertyNum,strControlId,onSuccess,onFailed,userContext); }
Majorca.SupportServices.HotelInfo.GetImageThumb= function(strPropertyNum,strControlId,onSuccess,onFailed,userContext) {Majorca.SupportServices.HotelInfo._staticInstance.GetImageThumb(strPropertyNum,strControlId,onSuccess,onFailed,userContext); }
Majorca.SupportServices.HotelInfo.GetThreeThumbs= function(strPropNum,control1,control2,control3,controlMorePhotos,onSuccess,onFailed,userContext) {Majorca.SupportServices.HotelInfo._staticInstance.GetThreeThumbs(strPropNum,control1,control2,control3,controlMorePhotos,onSuccess,onFailed,userContext); }
Majorca.SupportServices.HotelInfo.GetHotelPricing= function(dtCheckinDate,dtCheckoutDate,NumAdults,NumChildren,NumRooms,strChainCode,strCityCode,strCityName,strCorporateCode,strHotelName,strPropertyList,strPropertyNumber,controlIds,bSortByPrice,onSuccess,onFailed,userContext) {Majorca.SupportServices.HotelInfo._staticInstance.GetHotelPricing(dtCheckinDate,dtCheckoutDate,NumAdults,NumChildren,NumRooms,strChainCode,strCityCode,strCityName,strCorporateCode,strHotelName,strPropertyList,strPropertyNumber,controlIds,bSortByPrice,onSuccess,onFailed,userContext); }
Majorca.SupportServices.HotelInfo.GetCompletePricing= function(dtCheckinDate,dtCheckoutDate,NumAdults,NumChildren,NumRooms,strChainCode,strCityCode,strCityName,strCorporateCode,strHotelName,strPropertyList,strPropertyNumber,controlIds,controlReserveNowIds,bSortByPrice,onSuccess,onFailed,userContext) {Majorca.SupportServices.HotelInfo._staticInstance.GetCompletePricing(dtCheckinDate,dtCheckoutDate,NumAdults,NumChildren,NumRooms,strChainCode,strCityCode,strCityName,strCorporateCode,strHotelName,strPropertyList,strPropertyNumber,controlIds,controlReserveNowIds,bSortByPrice,onSuccess,onFailed,userContext); }
Majorca.SupportServices.HotelInfo.GetCompletePricingTable= function(dtCheckinDate,dtCheckoutDate,NumAdults,NumChildren,NumRooms,strChainCode,strCityCode,strCityName,strCorporateCode,strHotelName,strPropertyNumber,bSortByPrice,onSuccess,onFailed,userContext) {Majorca.SupportServices.HotelInfo._staticInstance.GetCompletePricingTable(dtCheckinDate,dtCheckoutDate,NumAdults,NumChildren,NumRooms,strChainCode,strCityCode,strCityName,strCorporateCode,strHotelName,strPropertyNumber,bSortByPrice,onSuccess,onFailed,userContext); }
Majorca.SupportServices.HotelInfo.DisplayMap= function(strPropertyNumber,ControlName,iWidth,iHeight,onSuccess,onFailed,userContext) {Majorca.SupportServices.HotelInfo._staticInstance.DisplayMap(strPropertyNumber,ControlName,iWidth,iHeight,onSuccess,onFailed,userContext); }

