if(typeof StayPoland == "undefined") StayPoland={};
if(typeof StayPoland.Web == "undefined") StayPoland.Web={};
StayPoland.Web.SearchResultsAjax_class = function() {};
Object.extend(StayPoland.Web.SearchResultsAjax_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	LoadRatingsDetails: function(hotelId, currencyId, dateFrom, nights, lang, occupationTypeId) {
		return this.invoke("LoadRatingsDetails", {"hotelId":hotelId, "currencyId":currencyId, "dateFrom":dateFrom, "nights":nights, "lang":lang, "occupationTypeId":occupationTypeId}, this.LoadRatingsDetails.getArguments().slice(6));
	},
	LoadPricesDetails: function(hotelId, roomId, salesProfileId, currencyId, dateFromStr, nights, lang) {
		return this.invoke("LoadPricesDetails", {"hotelId":hotelId, "roomId":roomId, "salesProfileId":salesProfileId, "currencyId":currencyId, "dateFromStr":dateFromStr, "nights":nights, "lang":lang}, this.LoadPricesDetails.getArguments().slice(7));
	},
	LoadTermsDetails: function(hotelId, roomId, salesProfileId) {
		return this.invoke("LoadTermsDetails", {"hotelId":hotelId, "roomId":roomId, "salesProfileId":salesProfileId}, this.LoadTermsDetails.getArguments().slice(3));
	},
	LoadTermsDetailsImg: function(hotelId, roomId, salesProfileId, availability, cancellationTerms, lang) {
		return this.invoke("LoadTermsDetailsImg", {"hotelId":hotelId, "roomId":roomId, "salesProfileId":salesProfileId, "availability":availability, "cancellationTerms":cancellationTerms, "lang":lang}, this.LoadTermsDetailsImg.getArguments().slice(6));
	},
	LoadSalesProfile: function(salesProfileId, lang) {
		return this.invoke("LoadSalesProfile", {"salesProfileId":salesProfileId, "lang":lang}, this.LoadSalesProfile.getArguments().slice(2));
	},
	LoadSalesProfileImg: function(salesProfileId, lang, availability) {
		return this.invoke("LoadSalesProfileImg", {"salesProfileId":salesProfileId, "lang":lang, "availability":availability}, this.LoadSalesProfileImg.getArguments().slice(3));
	},
	GetTownsByRegion: function(regionId) {
		return this.invoke("GetTownsByRegion", {"regionId":regionId}, this.GetTownsByRegion.getArguments().slice(1));
	},
	GetTownsByRegionLang: function(regionId, lang) {
		return this.invoke("GetTownsByRegionLang", {"regionId":regionId, "lang":lang}, this.GetTownsByRegionLang.getArguments().slice(2));
	},
	GetLocationsByTown: function(townId) {
		return this.invoke("GetLocationsByTown", {"townId":townId}, this.GetLocationsByTown.getArguments().slice(1));
	},
	GetLocationsByTownLang: function(townId, lang) {
		return this.invoke("GetLocationsByTownLang", {"townId":townId, "lang":lang}, this.GetLocationsByTownLang.getArguments().slice(2));
	},
	url: '/ajaxpro/StayPoland.Web.SearchResultsAjax,StayPoland.ashx'
}));
StayPoland.Web.SearchResultsAjax = new StayPoland.Web.SearchResultsAjax_class();

