function init_calendar(){
jQuery(document).ready(function () {
console.log('document ready in init_calendar');
// jQuery(window).on('load',function(){
console.log('window loaded in init_calendar');
jQuery.datepicker.setDefaults( jQuery.datepicker.regional[ "es" ] );
var maxSpace=jQuery('#moreBookingsCal').parent().width() || window.innerWidth;
var w = Math.min(document.documentElement.clientWidth, window.innerWidth, screen.width, maxSpace || 0);
if (w > 768){number_of_months=3;} else if (w > 420) {number_of_months=2;} else {number_of_months=1;}
console.log('about to initialize datepicker');
jQuery('#moreBookingsCal').datepicker({
dateFormat:'d.m.yy',
numberOfMonths: number_of_months,
beforeShowDay: find_global_calendar_entry_inline,
autoclose: true,
firstDay: 0,
});
console.log('datepicker initialized');
// }); // end window load
}); // end document ready Nesting is done to ensure that the datepicker is only initialized after the page has fully loaded.
};
function preis_ermitteln2() {
var waitImage = document.getElementById('waitImage');
waitImage.style.visibility='visible';
var formcontent=jQuery('#guest_booking').serialize();
var booking_is_blocking=jQuery('#is_blocking').val();
var booking_process_step=jQuery('#booking_process_step').val();
if (booking_is_blocking!=0 || booking_process_step==410){
jQuery('.hide_if_blocking').hide();
jQuery('.hide_if_not_blocking').show();
jQuery('#show_phantom_settings').show();
}
else
{
console.log('booking is not blocking');
}
var ajaxHeaders = {};
if (typeof encToken !== 'undefined' && encToken) {
ajaxHeaders['Authorization'] = 'Bearer ' + encToken;
}
jQuery.ajax(backendHostUrl +'/public_serve_json',{
dataType: "json",
type: 'POST',
data: JSON.stringify({'function':'computeprice',
'formcontent':formcontent}),
contentType : 'application/json',
headers: ajaxHeaders
}).done(
function(result){
// jQuery('#rechnungstext').html( result.invoicetext);
console.log('result.errordict');
console.log(result.errordict);
jQuery('#rechnungstext').empty();
current_result=result;
result.invoice_dicts.forEach(
function (item, i, o) {
if(Math.round(item.price) !== item.price) {
item.price = item.price.toFixed(2);
}
if(Math.round(item.total) !== item.total) {
item.total = item.total.toFixed(2);
}
if (item.kind=='default_rate_nights'){
var text=item.first_night+' - '+item.last_night+' = '+item.number_of_nights+ ' Noches en temporada estándar à ' +item.price+ window.currency+' ';
// var text=item.first_night+' - '+item.last_night+' = '+item.number_of_nights+ ' Nächte in Standard-Saison à ' +item.price+ window.currency+' ';
}
else if (item.kind=='normal_season_nights'){
var text=item.first_night+' - '+item.last_night+' = '+item.number_of_nights+ ' Noches en temporada '+item.name+' à '+item.price+ window.currency+' ';
// var text=`${item.first_night} - ${item.last_night} = ${item.number_of_nights} Nächte in Saison ${item.name} à ${item.price} ${window.currency}`;
// var text= `${item.first_night} - ${item.last_night} = ${item.number_of_nights} Nächte in Saison ${item.name} à ${item.price} ${window.currency}`;
// var text=item.first_night+' - '+item.last_night+' = '+item.number_of_nights+ ' Nächte in Saison '+item.name+' à '+item.price+ window.currency+' ';
}
else if (item.kind=='first_night_surcharge'){
var text=item.first_night+' - '+item.last_night+' = Precio para la primera noche de la temporada '+item.season_name+' : '+item.price+ window.currency+' ';
var text=item.first_night+' - '+item.last_night+' = Preis f. erste Nacht in Saison '+item.season_name+' : '+item.price+ window.currency+' ';
}
else if (item.kind=='person_surcharge'){
var text=item.first_night+' - '+item.last_night+' = '+item.number_of_nights+ ' Noches de recargo por '+item.surplus_persons+' Persona(s) más de '+item.base_persons + ' à '+item.price+ window.currency+' ';
// var text=item.first_night+' - '+item.last_night+' = '+item.number_of_nights+ ' Nächte Aufpreis für '+item.surplus_persons+' Person(en) mehr als '+item.base_persons + ' à '+item.price+ window.currency+' ';
}
else if (item.kind=='kid_surcharge'){
var text=item.first_night+' - '+item.last_night+' = '+item.number_of_nights+ ' Noches de recargo por '+item.surplus_persons+' Joven(es) de más de '+item.base_persons + ' à '+item.price+ window.currency+' ';
// var text=item.first_night+' - '+item.last_night+' = '+item.number_of_nights+ ' Nächte Aufpreis für '+item.surplus_persons+' Jugendliche(en) mehr als '+item.base_persons + ' à '+item.price+ window.currency+' ';
}
else if (item.kind=='short_stay_charge'){
var text='Recargo por reservas cortas de menos de '+item.short_stay_max+' Días. ';
// var text='Kurzbucher-Aufschlag für Buchungen unter '+item.short_stay_max+' Tagen. ';
}
else if (
item.kind=='guest_per_night' ||
item.kind=='adult_per_night' ||
item.kind=='kid_per_night' ||
item.kind=='object_per_night'
){
var text=item.number_of_nights+ ' Noches '+item.name+' à '+item.price+ window.currency+' ';
// var text=item.number_of_nights+ ' Nächte '+item.name+' à '+item.price+ window.currency+' ';
}
else
{
console.log('undefined pricing item: '+item.kind);
var text=item.name;
}
var lineprice=item.total + ' '+window.currency;
var zeile= "
";
jQuery('#rechnungstext').append(zeile);
} // end forEach invoice_dicts
);
console.log(result);
console.log('result currency'+result.currency);
console.log('window currency'+window.currency);
if (result.currency!==window.currency)
{ window.currency=result.currency;}
if(Math.round(result.rawprice) !== result.rawprice) {
accomodation_total = result.rawprice.toFixed(2).replace('.',',')+ ' '+window.currency;
}
else
{
accomodation_total = result.rawprice.toFixed(0)+ ' '+window.currency;
}
jQuery('#uebernachtungsbetrag').html(accomodation_total);
console.log('accomodation total: '+accomodation_total);
// jQuery('#uebernachtungsbetrag').html(result.price);
var lang='es';
for (let i = 0; i < result.billing_extras.length; i++) {
var extra_name_location='#billing_extra_name_'+i;
var extra_error_location='#billing_extra_error_'+i;
var extra_price_location='#billing_extra_price_'+i;
var extra_total_location='#billing_extra_total_'+i;
var extra_price_description_location='#billing_extra_price_target_'+i;
var extra_ordered_location='#billing_extra_ordered_'+i;
jQuery(extra_name_location).text(result.billing_extras[i].name_ml[lang]);
jQuery(extra_error_location).text(result.billing_extras[i].name_ml[lang]);
if (result.billing_extras[i].error_ml && result.billing_extras[i].error_ml[lang])
{
var appended_text=' '+result.billing_extras[i].error_ml[lang];
}
else
{
appended_text=' Please accept...';
console.log('gleich kommt was');
console.log(result.billing_extras[i]);
}
jQuery(extra_error_location).append(appended_text);
// Link in Preiserklärung-Spalte: immer nutzen, sofern gesetzt (für alle Berechnungsarten)
if (result.billing_extras[i].link_to_information_ml && result.billing_extras[i].link_to_information_ml[lang])
{
var newLink = $(" ", {
name : "link",
target: "_blank",
href : result.billing_extras[i].link_to_information_ml[lang],
text : result.billing_extras[i].pricedescription_ml[lang] || ''
});
jQuery(extra_price_description_location).empty().append(newLink);
}
else
{
jQuery(extra_price_description_location).text(result.billing_extras[i].pricedescription_ml[lang] || '');
}
if (['no_acknowledgement', 'mandatory_acknowledgement','optional_acknowledgement'].includes(result.billing_extras[i].computation))
{
item_price='';
}
else
{
var priceSuffix = ['percent_of_accomodation_mandatory','percent_of_accomodation_optional','percent_of_total_mandatory','percent_of_total_per_adult_mandatory'].includes(result.billing_extras[i].computation) ? ' %' : ' '+window.currency;
if (result.billing_extras[i].price.length===1)
{
item_price=Number(result.billing_extras[i].price);
if (Math.round(item_price) !== item_price) {
item_price = item_price.toFixed(2).replace('.',',')+priceSuffix;
}
else
{
item_price = item_price.toFixed(0)+priceSuffix;
}
}
else
{
console.log('item price for arrays first value: '+result.billing_extras[i].price[0]+' type: '+typeof(result.billing_extras[i].price[0]));
item_price='';
for (let j = 0; j < result.billing_extras[i].price.length; j++) {
item_price=item_price+Number(result.billing_extras[i].price[j])+priceSuffix+', ';
}
}
}
jQuery(extra_price_location).html(item_price);
// jQuery(extra_price_location).html(Number(result.billing_extras[i].price).toFixed(2).replace('.',',')+' '+window.currency);
jQuery(extra_total_location).html(result.billing_extras[i].price);
jQuery(extra_ordered_location).attr('name', 'extras_'+result.billing_extras[i].urlsafekey);
// The following 2 lines are needed to give the correct name to the hidden field
jQuery('#empty_checkbox_billing_extra_ordered_'+i).attr('name', 'extras_'+result.billing_extras[i].urlsafekey);
}
window.belegtliste=window['belegtliste'+result.objektkey];
// owner_booking and guest_booking need different namespaces
if (typeof window['augmented_calendar'+result.objektkey] !== 'undefined') {
window.augmented_calendar=window['augmented_calendar'+result.objektkey];
// Also update augmentedCalendars for consistency
if (!window.augmentedCalendars) {
window.augmentedCalendars = {};
}
window.augmentedCalendars[result.objektkey] = window['augmented_calendar'+result.objektkey];
}
if (result.errordict !='') {
jQuery('#errorlist').addClass('form-error');
jQuery('.booking-form-error').show();
}
else
{
jQuery('#errorlist').removeClass('form-error');
jQuery('.booking-form-error').hide();
}
jQuery('#errorlist').empty();
result.errordict.forEach(
function(entry){
if (entry.type=='overbooking') {
jQuery('#errorlist').append( 'El número máximo de huéspedes es: '+entry.max_number_of_guests+ ' Usted tiene '+entry.requested_number_of_guests+ ' G. ')
} else if (entry.type=='collision'){
jQuery('#errorlist').append( 'Hay un solapamiento con otra reserva. Por favor, seleccione otras fechas. ')
} else if (entry.type=='start_day_not_valid'){
jQuery('#errorlist').append( 'Su día de la semana de llegada es en la temporada '+entry.season_name+' no es posible. Por favor, elija otro día. ')
} else if (entry.type=='end_day_not_valid'){
jQuery('#errorlist').append( 'Su día de salida está en temporada '+entry.season_name+' no es posible. Por favor, elija otro día. ')
} else if (entry.type=='booking_duration_not_valid'){
jQuery('#errorlist').append( 'Lamentablemente, el período de reserva en la temporada '+entry.season_name+' no es posible. Su consulta es '+entry.days_requested+' Noches. El mínimo para esta temporada es '+entry.season_min_duration+' Noches.')
} else if (entry.type=='booking_duration_too_long'){
jQuery('#errorlist').append('Leider ist die Buchungsdauer in der Saison '+entry.season_name+' nicht möglich. Ihre Anfrage beträgt '+entry.days_requested+' Tage. Das Maximum für diese Saison beträgt '+entry.season_max_duration+' Tage.' )
}
}
);
jQuery('#accomodation_price').val(result.rawprice);
window.number_of_nights=result.number_of_nights;
window.number_of_guests=result.number_of_guests;
window.number_of_kids=result.number_of_kids;
window.number_of_adults=result.number_of_guests-result.number_of_kids;
// calculate_complete_form2();
apply_voucher();
// apply_voucher automatically calls calculate_complete_form2
waitImage.style.visibility = 'hidden';
});
};
function activate_datepicker(){
jQuery.datepicker.setDefaults( jQuery.datepicker.regional[ "es" ] );
jQuery('.date').datepicker({
buttonImage: 'https://fewoyieldmgmt.koberer.de//img/calendar.gif',
buttonImageOnly: true,
dateFormat:'d.m.yy',
beforeShowDay: find_global_calendar_entry_popup,
autoclose: true,
firstDay: 0,
}
);
};
function find_global_calendar_entry_inline (date){
var dmy = "d"+date.getFullYear();
dmy += ("00" + (date.getMonth() + 1)).slice(-2);
dmy += ("00" + date.getDate()).slice(-2);
ret_object= window.augmented_calendar[dmy];
if (typeof ret_object=='undefined') {
return [true, "", "gratis/disponible"];
}
else {
if (ret_object[3]==0){
return [true, ret_object[1], 'gratis/disponible '+ret_object[2]];
} else{
return [true, ret_object[1], 'Ocupado '+ret_object[2]];
}
}
}
function find_global_calendar_entry_popup (date){
var dmy = "d"+date.getFullYear();
dmy += ("00" + (date.getMonth() + 1)).slice(-2);
dmy += ("00" + date.getDate()).slice(-2);
ret_object= window.augmented_calendar[dmy];
if (typeof ret_object=='undefined') {
return [true, "", "gratis/disponible"];
}
else {
if (ret_object[3]=='0'){
return [true, ret_object[1], "gratis/disponible"+ret_object[2]];
} else {
return [false, ret_object[1], ret_object[2]];
}
}
}
var augmented_calendar={"d20260901": ["d20260901", "season0", "75 \u20ac ", 0], "d20260902": ["d20260902", "season0", "75 \u20ac ", 0], "d20260903": ["d20260903", "season0", "75 \u20ac ", 0], "d20260904": ["d20260904", "season0", "75 \u20ac ", 0], "d20260905": ["d20260905", "season0", "75 \u20ac ", 0], "d20260906": ["d20260906", "season0", "75 \u20ac ", 0], "d20260907": ["d20260907", "season0", "75 \u20ac ", 0], "d20260908": ["d20260908", "season0", "75 \u20ac ", 0], "d20260909": ["d20260909", "season0", "75 \u20ac ", 0], "d20260910": ["d20260910", "season0", "75 \u20ac ", 0], "d20260911": ["d20260911", "season0", "75 \u20ac ", 0], "d20260912": ["d20260912", "season0", "75 \u20ac ", 0], "d20260913": ["d20260913", "season0", "75 \u20ac ", 0], "d20260914": ["d20260914", "season0", "75 \u20ac ", 0], "d20260915": ["d20260915", "season0", "75 \u20ac ", 0], "d20260916": ["d20260916", "season0", "75 \u20ac ", 0], "d20260917": ["d20260917", "season0", "75 \u20ac ", 0], "d20260918": ["d20260918", "season0", "75 \u20ac ", 0], "d20260919": ["d20260919", "season0", "75 \u20ac ", 0], "d20260920": ["d20260920", "season0", "75 \u20ac ", 0], "d20260921": ["d20260921", "season0arrival", "75 \u20ac ", 0], "d20260922": ["d20260922", "occupied", "75 \u20ac ", 1], "d20260923": ["d20260923", "occupied", "75 \u20ac ", 1], "d20260924": ["d20260924", "occupied", "75 \u20ac ", 1], "d20260925": ["d20260925", "occupied", "75 \u20ac ", 1], "d20260926": ["d20260926", "season0departure", "75 \u20ac ", 0], "d20260927": ["d20260927", "season0", "75 \u20ac ", 0], "d20260928": ["d20260928", "season0", "75 \u20ac ", 0], "d20260929": ["d20260929", "season0", "75 \u20ac ", 0], "d20260930": ["d20260930", "season0", "75 \u20ac ", 0], "d20261001": ["d20261001", "season0", "75 \u20ac ", 0], "d20261002": ["d20261002", "season0", "75 \u20ac ", 0], "d20261003": ["d20261003", "season0", "75 \u20ac ", 0], "d20261004": ["d20261004", "season0", "75 \u20ac ", 0], "d20261005": ["d20261005", "season0", "75 \u20ac ", 0], "d20261006": ["d20261006", "season0", "75 \u20ac ", 0], "d20261007": ["d20261007", "season0", "75 \u20ac ", 0], "d20261008": ["d20261008", "season0", "75 \u20ac ", 0], "d20261009": ["d20261009", "season0", "75 \u20ac ", 0], "d20261010": ["d20261010", "season0", "75 \u20ac ", 0], "d20261011": ["d20261011", "season0", "75 \u20ac ", 0], "d20261012": ["d20261012", "season0", "75 \u20ac ", 0], "d20261013": ["d20261013", "season0", "75 \u20ac ", 0], "d20261014": ["d20261014", "season0", "75 \u20ac ", 0], "d20261015": ["d20261015", "season0", "75 \u20ac ", 0], "d20261016": ["d20261016", "season0", "75 \u20ac ", 0], "d20261017": ["d20261017", "season0", "75 \u20ac ", 0], "d20261018": ["d20261018", "season0", "75 \u20ac ", 0], "d20261019": ["d20261019", "season0", "75 \u20ac ", 0], "d20261020": ["d20261020", "season0", "75 \u20ac ", 0], "d20261021": ["d20261021", "season0", "75 \u20ac ", 0], "d20261022": ["d20261022", "season0", "75 \u20ac ", 0], "d20261023": ["d20261023", "season0", "75 \u20ac ", 0], "d20261024": ["d20261024", "season0", "75 \u20ac ", 0], "d20261025": ["d20261025", "season0", "75 \u20ac ", 0], "d20261026": ["d20261026", "season0", "75 \u20ac ", 0], "d20261027": ["d20261027", "season0", "75 \u20ac ", 0], "d20261028": ["d20261028", "season0", "75 \u20ac ", 0], "d20261029": ["d20261029", "season0", "75 \u20ac ", 0], "d20261030": ["d20261030", "season0", "75 \u20ac ", 0], "d20261031": ["d20261031", "season0", "75 \u20ac ", 0], "d20261101": ["d20261101", "season0", "75 \u20ac ", 0], "d20261102": ["d20261102", "season0", "75 \u20ac ", 0], "d20261103": ["d20261103", "season0", "75 \u20ac ", 0], "d20261104": ["d20261104", "season0", "75 \u20ac ", 0], "d20261105": ["d20261105", "season0", "75 \u20ac ", 0], "d20261106": ["d20261106", "season0", "75 \u20ac ", 0], "d20261107": ["d20261107", "season0", "75 \u20ac ", 0], "d20261108": ["d20261108", "season0", "75 \u20ac ", 0], "d20261109": ["d20261109", "season0", "75 \u20ac ", 0], "d20261110": ["d20261110", "season0", "75 \u20ac ", 0], "d20261111": ["d20261111", "season0", "75 \u20ac ", 0], "d20261112": ["d20261112", "season0", "75 \u20ac ", 0], "d20261113": ["d20261113", "season0", "75 \u20ac ", 0], "d20261114": ["d20261114", "season0", "75 \u20ac ", 0], "d20261115": ["d20261115", "season0", "75 \u20ac ", 0], "d20261116": ["d20261116", "season0", "75 \u20ac ", 0], "d20261117": ["d20261117", "season0", "75 \u20ac ", 0], "d20261118": ["d20261118", "season0", "75 \u20ac ", 0], "d20261119": ["d20261119", "season0", "75 \u20ac ", 0], "d20261120": ["d20261120", "season0", "75 \u20ac ", 0], "d20261121": ["d20261121", "season0", "75 \u20ac ", 0], "d20261122": ["d20261122", "season0", "75 \u20ac ", 0], "d20261123": ["d20261123", "season0", "75 \u20ac ", 0], "d20261124": ["d20261124", "season0", "75 \u20ac ", 0], "d20261125": ["d20261125", "season0", "75 \u20ac ", 0], "d20261126": ["d20261126", "season0", "75 \u20ac ", 0], "d20261127": ["d20261127", "season0", "75 \u20ac ", 0], "d20261128": ["d20261128", "season0", "75 \u20ac ", 0], "d20261129": ["d20261129", "season0", "75 \u20ac ", 0], "d20261130": ["d20261130", "season0", "75 \u20ac ", 0], "d20261201": ["d20261201", "season0", "75 \u20ac ", 0], "d20261202": ["d20261202", "season0", "75 \u20ac ", 0], "d20261203": ["d20261203", "season0", "75 \u20ac ", 0], "d20261204": ["d20261204", "season0", "75 \u20ac ", 0], "d20261205": ["d20261205", "season0", "75 \u20ac ", 0], "d20261206": ["d20261206", "season0", "75 \u20ac ", 0], "d20261207": ["d20261207", "season0", "75 \u20ac ", 0], "d20261208": ["d20261208", "season0", "75 \u20ac ", 0], "d20261209": ["d20261209", "season0", "75 \u20ac ", 0], "d20261210": ["d20261210", "season0", "75 \u20ac ", 0], "d20261211": ["d20261211", "season0", "75 \u20ac ", 0], "d20261212": ["d20261212", "season0", "75 \u20ac ", 0], "d20261213": ["d20261213", "season0", "75 \u20ac ", 0], "d20261214": ["d20261214", "season0", "75 \u20ac ", 0], "d20261215": ["d20261215", "season0", "75 \u20ac ", 0], "d20261216": ["d20261216", "season0", "75 \u20ac ", 0], "d20261217": ["d20261217", "season0", "75 \u20ac ", 0], "d20261218": ["d20261218", "season0", "75 \u20ac ", 0], "d20261219": ["d20261219", "season0", "75 \u20ac ", 0], "d20261220": ["d20261220", "season0", "75 \u20ac ", 0], "d20261221": ["d20261221", "season0", "75 \u20ac ", 0], "d20261222": ["d20261222", "season0", "75 \u20ac ", 0], "d20261223": ["d20261223", "season0", "75 \u20ac ", 0], "d20261224": ["d20261224", "season0", "75 \u20ac ", 0], "d20261225": ["d20261225", "season0", "75 \u20ac ", 0], "d20261226": ["d20261226", "season0", "75 \u20ac ", 0], "d20261227": ["d20261227", "season0", "75 \u20ac ", 0], "d20261228": ["d20261228", "season0", "75 \u20ac ", 0], "d20261229": ["d20261229", "season0", "75 \u20ac ", 0], "d20261230": ["d20261230", "season0", "75 \u20ac ", 0], "d20261231": ["d20261231", "season0", "75 \u20ac ", 0], "d20270101": ["d20270101", "season0", "75 \u20ac ", 0], "d20270102": ["d20270102", "season0", "75 \u20ac ", 0], "d20270103": ["d20270103", "season0", "75 \u20ac ", 0], "d20270104": ["d20270104", "season0", "75 \u20ac ", 0], "d20270105": ["d20270105", "season0", "75 \u20ac ", 0], "d20270106": ["d20270106", "season0", "75 \u20ac ", 0], "d20270107": ["d20270107", "season0", "75 \u20ac ", 0], "d20270108": ["d20270108", "season0", "75 \u20ac ", 0], "d20270109": ["d20270109", "season0", "75 \u20ac ", 0], "d20270110": ["d20270110", "season0", "75 \u20ac ", 0], "d20270111": ["d20270111", "season0", "75 \u20ac ", 0], "d20270112": ["d20270112", "season0", "75 \u20ac ", 0], "d20270113": ["d20270113", "season0", "75 \u20ac ", 0], "d20270114": ["d20270114", "season0", "75 \u20ac ", 0], "d20270115": ["d20270115", "season0", "75 \u20ac ", 0], "d20270116": ["d20270116", "season0", "75 \u20ac ", 0], "d20270117": ["d20270117", "season0", "75 \u20ac ", 0], "d20270118": ["d20270118", "season0", "75 \u20ac ", 0], "d20270119": ["d20270119", "season0", "75 \u20ac ", 0], "d20270120": ["d20270120", "season0", "75 \u20ac ", 0], "d20270121": ["d20270121", "season0", "75 \u20ac ", 0], "d20270122": ["d20270122", "season0", "75 \u20ac ", 0], "d20270123": ["d20270123", "season0", "75 \u20ac ", 0], "d20270124": ["d20270124", "season0", "75 \u20ac ", 0], "d20270125": ["d20270125", "season0", "75 \u20ac ", 0], "d20270126": ["d20270126", "season0", "75 \u20ac ", 0], "d20270127": ["d20270127", "season0", "75 \u20ac ", 0], "d20270128": ["d20270128", "season0", "75 \u20ac ", 0], "d20270129": ["d20270129", "season0", "75 \u20ac ", 0], "d20270130": ["d20270130", "season0", "75 \u20ac ", 0], "d20270131": ["d20270131", "season0", "75 \u20ac ", 0], "d20270201": ["d20270201", "season0", "75 \u20ac ", 0], "d20270202": ["d20270202", "season0", "75 \u20ac ", 0], "d20270203": ["d20270203", "season0", "75 \u20ac ", 0], "d20270204": ["d20270204", "season0", "75 \u20ac ", 0], "d20270205": ["d20270205", "season0", "75 \u20ac ", 0], "d20270206": ["d20270206", "season0", "75 \u20ac ", 0], "d20270207": ["d20270207", "season0", "75 \u20ac ", 0], "d20270208": ["d20270208", "season0", "75 \u20ac ", 0], "d20270209": ["d20270209", "season0", "75 \u20ac ", 0], "d20270210": ["d20270210", "season0", "75 \u20ac ", 0], "d20270211": ["d20270211", "season0", "75 \u20ac ", 0], "d20270212": ["d20270212", "season0", "75 \u20ac ", 0], "d20270213": ["d20270213", "season0", "75 \u20ac ", 0], "d20270214": ["d20270214", "season0", "75 \u20ac ", 0], "d20270215": ["d20270215", "season0", "75 \u20ac ", 0], "d20270216": ["d20270216", "season0", "75 \u20ac ", 0], "d20270217": ["d20270217", "season0", "75 \u20ac ", 0], "d20270218": ["d20270218", "season0", "75 \u20ac ", 0], "d20270219": ["d20270219", "season0", "75 \u20ac ", 0], "d20270220": ["d20270220", "season0", "75 \u20ac ", 0], "d20270221": ["d20270221", "season0", "75 \u20ac ", 0], "d20270222": ["d20270222", "season0", "75 \u20ac ", 0], "d20270223": ["d20270223", "season0", "75 \u20ac ", 0], "d20270224": ["d20270224", "season0", "75 \u20ac ", 0], "d20270225": ["d20270225", "season0", "75 \u20ac ", 0], "d20270226": ["d20270226", "season0", "75 \u20ac ", 0], "d20270227": ["d20270227", "season0", "75 \u20ac ", 0], "d20270228": ["d20270228", "season0", "75 \u20ac ", 0], "d20270301": ["d20270301", "season0", "75 \u20ac ", 0], "d20270302": ["d20270302", "season0", "75 \u20ac ", 0], "d20270303": ["d20270303", "season0", "75 \u20ac ", 0], "d20270304": ["d20270304", "season0", "75 \u20ac ", 0], "d20270305": ["d20270305", "season0", "75 \u20ac ", 0], "d20270306": ["d20270306", "season0arrival", "75 \u20ac ", 0], "d20270307": ["d20270307", "occupied", "75 \u20ac ", 1], "d20270308": ["d20270308", "occupied", "75 \u20ac ", 1], "d20270309": ["d20270309", "season0departure", "75 \u20ac ", 0], "d20270310": ["d20270310", "season0", "75 \u20ac ", 0], "d20270311": ["d20270311", "season0", "75 \u20ac ", 0], "d20270312": ["d20270312", "season0", "75 \u20ac ", 0], "d20270313": ["d20270313", "season0", "75 \u20ac ", 0], "d20270314": ["d20270314", "season0", "75 \u20ac ", 0], "d20270315": ["d20270315", "season0", "75 \u20ac ", 0], "d20270316": ["d20270316", "season0arrival", "75 \u20ac ", 0], "d20270317": ["d20270317", "occupied", "75 \u20ac ", 1], "d20270318": ["d20270318", "occupied", "75 \u20ac ", 1], "d20270319": ["d20270319", "occupied", "75 \u20ac ", 1], "d20270320": ["d20270320", "occupied", "75 \u20ac ", 1], "d20270321": ["d20270321", "occupied", "75 \u20ac ", 1], "d20270322": ["d20270322", "season0departure", "75 \u20ac ", 0], "d20270323": ["d20270323", "season0", "75 \u20ac ", 0], "d20270324": ["d20270324", "season0", "75 \u20ac ", 0], "d20270325": ["d20270325", "season0", "75 \u20ac ", 0], "d20270326": ["d20270326", "season0", "75 \u20ac ", 0], "d20270327": ["d20270327", "season0", "75 \u20ac ", 0], "d20270328": ["d20270328", "season0", "75 \u20ac ", 0], "d20270329": ["d20270329", "season0", "75 \u20ac ", 0], "d20270330": ["d20270330", "season0", "75 \u20ac ", 0], "d20270331": ["d20270331", "season0", "75 \u20ac ", 0], "d20270401": ["d20270401", "season0arrival", "75 \u20ac ", 0], "d20270402": ["d20270402", "occupied", "75 \u20ac ", 1], "d20270403": ["d20270403", "occupied", "75 \u20ac ", 1], "d20270404": ["d20270404", "occupied", "75 \u20ac ", 1], "d20270405": ["d20270405", "occupied", "75 \u20ac ", 1], "d20270406": ["d20270406", "occupied", "75 \u20ac ", 1], "d20270407": ["d20270407", "occupied", "75 \u20ac ", 1], "d20270408": ["d20270408", "occupied", "75 \u20ac ", 1], "d20270409": ["d20270409", "occupied", "75 \u20ac ", 1], "d20270410": ["d20270410", "occupied", "75 \u20ac ", 1], "d20270411": ["d20270411", "occupied", "75 \u20ac ", 1], "d20270412": ["d20270412", "season0departure", "75 \u20ac ", 0], "d20270413": ["d20270413", "season0", "75 \u20ac ", 0], "d20270414": ["d20270414", "season0", "75 \u20ac ", 0], "d20270415": ["d20270415", "season0", "75 \u20ac ", 0], "d20270416": ["d20270416", "season0", "75 \u20ac ", 0], "d20270417": ["d20270417", "season0", "75 \u20ac ", 0], "d20270418": ["d20270418", "season0", "75 \u20ac ", 0], "d20270419": ["d20270419", "season0", "75 \u20ac ", 0], "d20270420": ["d20270420", "season0", "75 \u20ac ", 0], "d20270421": ["d20270421", "season0", "75 \u20ac ", 0], "d20270422": ["d20270422", "season0", "75 \u20ac ", 0], "d20270423": ["d20270423", "season0", "75 \u20ac ", 0], "d20270424": ["d20270424", "season0", "75 \u20ac ", 0], "d20270425": ["d20270425", "season0", "75 \u20ac ", 0], "d20270426": ["d20270426", "season0", "75 \u20ac ", 0], "d20270427": ["d20270427", "season0", "75 \u20ac ", 0], "d20270428": ["d20270428", "season0", "75 \u20ac ", 0], "d20270429": ["d20270429", "season0", "75 \u20ac ", 0], "d20270430": ["d20270430", "season0", "75 \u20ac ", 0], "d20270501": ["d20270501", "season0", "75 \u20ac ", 0], "d20270502": ["d20270502", "season0", "75 \u20ac ", 0], "d20270503": ["d20270503", "season0", "75 \u20ac ", 0], "d20270504": ["d20270504", "season0", "75 \u20ac ", 0], "d20270505": ["d20270505", "season0", "75 \u20ac ", 0], "d20270506": ["d20270506", "season0arrival", "75 \u20ac ", 0], "d20270507": ["d20270507", "season0departure", "75 \u20ac ", 0], "d20270508": ["d20270508", "season0", "75 \u20ac ", 0], "d20270509": ["d20270509", "season0arrival", "75 \u20ac ", 0], "d20270510": ["d20270510", "occupied", "75 \u20ac ", 1], "d20270511": ["d20270511", "occupied", "75 \u20ac ", 1], "d20270512": ["d20270512", "occupied", "75 \u20ac ", 1], "d20270513": ["d20270513", "season0departure", "75 \u20ac ", 0], "d20270514": ["d20270514", "season0", "75 \u20ac ", 0], "d20270515": ["d20270515", "season0", "75 \u20ac ", 0], "d20270516": ["d20270516", "season0", "75 \u20ac ", 0], "d20270517": ["d20270517", "season0", "75 \u20ac ", 0], "d20270518": ["d20270518", "season0", "75 \u20ac ", 0], "d20270519": ["d20270519", "season0", "75 \u20ac ", 0], "d20270520": ["d20270520", "season0", "75 \u20ac ", 0], "d20270521": ["d20270521", "season0", "75 \u20ac ", 0], "d20270522": ["d20270522", "season0", "75 \u20ac ", 0], "d20270523": ["d20270523", "season0", "75 \u20ac ", 0], "d20270524": ["d20270524", "season0", "75 \u20ac ", 0], "d20270525": ["d20270525", "season0", "75 \u20ac ", 0], "d20270526": ["d20270526", "season0", "75 \u20ac ", 0], "d20270527": ["d20270527", "season0", "75 \u20ac ", 0], "d20270528": ["d20270528", "season0", "75 \u20ac ", 0], "d20270529": ["d20270529", "season0", "75 \u20ac ", 0], "d20270530": ["d20270530", "season0", "75 \u20ac ", 0], "d20270531": ["d20270531", "season0", "75 \u20ac ", 0], "d20270601": ["d20270601", "season0", "75 \u20ac ", 0], "d20270602": ["d20270602", "season0", "75 \u20ac ", 0], "d20270603": ["d20270603", "season0", "75 \u20ac ", 0], "d20270604": ["d20270604", "season0", "75 \u20ac ", 0], "d20270605": ["d20270605", "season0", "75 \u20ac ", 0], "d20270606": ["d20270606", "season0arrival", "75 \u20ac ", 0], "d20270607": ["d20270607", "occupied", "75 \u20ac ", 1], "d20270608": ["d20270608", "occupied", "75 \u20ac ", 1], "d20270609": ["d20270609", "occupied", "75 \u20ac ", 1], "d20270610": ["d20270610", "occupied", "75 \u20ac ", 1], "d20270611": ["d20270611", "occupied", "75 \u20ac ", 1], "d20270612": ["d20270612", "occupied", "75 \u20ac ", 1], "d20270613": ["d20270613", "occupied", "75 \u20ac ", 1], "d20270614": ["d20270614", "occupied", "75 \u20ac ", 1], "d20270615": ["d20270615", "occupied", "75 \u20ac ", 1], "d20270616": ["d20270616", "occupied", "75 \u20ac ", 1], "d20270617": ["d20270617", "occupied", "75 \u20ac ", 1], "d20270618": ["d20270618", "occupied", "75 \u20ac ", 1], "d20270619": ["d20270619", "occupied", "75 \u20ac ", 1], "d20270620": ["d20270620", "occupied", "75 \u20ac ", 1], "d20270621": ["d20270621", "occupied", "75 \u20ac ", 1], "d20270622": ["d20270622", "occupied", "75 \u20ac ", 1], "d20270623": ["d20270623", "occupied", "75 \u20ac ", 1], "d20270624": ["d20270624", "occupied", "75 \u20ac ", 1], "d20270625": ["d20270625", "occupied", "75 \u20ac ", 1], "d20270626": ["d20270626", "season0departure", "75 \u20ac ", 0], "d20270627": ["d20270627", "season0", "75 \u20ac ", 0], "d20270628": ["d20270628", "season0", "75 \u20ac ", 0], "d20270629": ["d20270629", "season0", "75 \u20ac ", 0], "d20270630": ["d20270630", "season0", "75 \u20ac ", 0], "d20270701": ["d20270701", "season0", "75 \u20ac ", 0], "d20270702": ["d20270702", "season0", "75 \u20ac ", 0], "d20270703": ["d20270703", "season0", "75 \u20ac ", 0], "d20270704": ["d20270704", "season0arrival", "75 \u20ac ", 0], "d20270705": ["d20270705", "season0departure", "75 \u20ac ", 0], "d20270706": ["d20270706", "season0", "75 \u20ac ", 0], "d20270707": ["d20270707", "season0arrival", "75 \u20ac ", 0], "d20270708": ["d20270708", "occupied", "75 \u20ac ", 1], "d20270709": ["d20270709", "occupied", "75 \u20ac ", 1], "d20270710": ["d20270710", "occupied", "75 \u20ac ", 1], "d20270711": ["d20270711", "occupied", "75 \u20ac ", 1], "d20270712": ["d20270712", "occupied", "75 \u20ac ", 1], "d20270713": ["d20270713", "occupied", "75 \u20ac ", 1], "d20270714": ["d20270714", "occupied", "75 \u20ac ", 1], "d20270715": ["d20270715", "occupied", "75 \u20ac ", 1], "d20270716": ["d20270716", "occupied", "75 \u20ac ", 1], "d20270717": ["d20270717", "occupied", "75 \u20ac ", 1], "d20270718": ["d20270718", "season0departure", "75 \u20ac ", 0], "d20270719": ["d20270719", "season0", "75 \u20ac ", 0], "d20270720": ["d20270720", "season0", "75 \u20ac ", 0], "d20270721": ["d20270721", "season0", "75 \u20ac ", 0], "d20270722": ["d20270722", "season0", "75 \u20ac ", 0], "d20270723": ["d20270723", "season0arrival", "75 \u20ac ", 0], "d20270724": ["d20270724", "occupied", "75 \u20ac ", 1], "d20270725": ["d20270725", "occupied", "75 \u20ac ", 1], "d20270726": ["d20270726", "season0departure", "75 \u20ac ", 0], "d20270727": ["d20270727", "season0", "75 \u20ac ", 0], "d20270728": ["d20270728", "season0", "75 \u20ac ", 0], "d20270729": ["d20270729", "season0", "75 \u20ac ", 0], "d20270730": ["d20270730", "season0", "75 \u20ac ", 0], "d20270731": ["d20270731", "season0", "75 \u20ac ", 0], "d20270801": ["d20270801", "season0", "75 \u20ac ", 0], "d20270802": ["d20270802", "season0", "75 \u20ac ", 0], "d20270803": ["d20270803", "season0", "75 \u20ac ", 0], "d20270804": ["d20270804", "season0", "75 \u20ac ", 0], "d20270805": ["d20270805", "season0", "75 \u20ac ", 0], "d20270806": ["d20270806", "season0", "75 \u20ac ", 0], "d20270807": ["d20270807", "season0", "75 \u20ac ", 0], "d20270808": ["d20270808", "season0", "75 \u20ac ", 0], "d20270809": ["d20270809", "season0", "75 \u20ac ", 0], "d20270810": ["d20270810", "season0", "75 \u20ac ", 0], "d20270811": ["d20270811", "season0", "75 \u20ac ", 0], "d20270812": ["d20270812", "season0", "75 \u20ac ", 0], "d20270813": ["d20270813", "season0", "75 \u20ac ", 0], "d20270814": ["d20270814", "season0", "75 \u20ac ", 0], "d20270815": ["d20270815", "season0", "75 \u20ac ", 0], "d20270816": ["d20270816", "season0", "75 \u20ac ", 0], "d20270817": ["d20270817", "season0arrival", "75 \u20ac ", 0], "d20270818": ["d20270818", "occupied", "75 \u20ac ", 1], "d20270819": ["d20270819", "occupied", "75 \u20ac ", 1], "d20270820": ["d20270820", "occupied", "75 \u20ac ", 1], "d20270821": ["d20270821", "occupied", "75 \u20ac ", 1], "d20270822": ["d20270822", "occupied", "75 \u20ac ", 1], "d20270823": ["d20270823", "occupied", "75 \u20ac ", 1], "d20270824": ["d20270824", "occupied", "75 \u20ac ", 1], "d20270825": ["d20270825", "season0departure", "75 \u20ac ", 0], "d20270826": ["d20270826", "season0", "75 \u20ac ", 0], "d20270827": ["d20270827", "season0", "75 \u20ac ", 0], "d20270828": ["d20270828", "season0", "75 \u20ac ", 0], "d20270829": ["d20270829", "season0", "75 \u20ac ", 0], "d20270830": ["d20270830", "season0", "75 \u20ac ", 0], "d20270831": ["d20270831", "season0", "75 \u20ac ", 0], "d20270901": ["d20270901", "season0", "75 \u20ac ", 0], "d20270902": ["d20270902", "season0", "75 \u20ac ", 0], "d20270903": ["d20270903", "season0", "75 \u20ac ", 0], "d20270904": ["d20270904", "season0", "75 \u20ac ", 0], "d20270905": ["d20270905", "season0arrival", "75 \u20ac ", 0], "d20270906": ["d20270906", "occupied", "75 \u20ac ", 1], "d20270907": ["d20270907", "occupied", "75 \u20ac ", 1], "d20270908": ["d20270908", "season0departure", "75 \u20ac ", 0], "d20270909": ["d20270909", "season0", "75 \u20ac ", 0], "d20270910": ["d20270910", "season0", "75 \u20ac ", 0], "d20270911": ["d20270911", "season0", "75 \u20ac ", 0], "d20270912": ["d20270912", "season0", "75 \u20ac ", 0], "d20270913": ["d20270913", "season0", "75 \u20ac ", 0], "d20270914": ["d20270914", "season0arrival", "75 \u20ac ", 0], "d20270915": ["d20270915", "occupied", "75 \u20ac ", 1], "d20270916": ["d20270916", "occupied", "75 \u20ac ", 1], "d20270917": ["d20270917", "occupied", "75 \u20ac ", 1], "d20270918": ["d20270918", "occupied", "75 \u20ac ", 1], "d20270919": ["d20270919", "occupied", "75 \u20ac ", 1], "d20270920": ["d20270920", "occupied", "75 \u20ac ", 1], "d20270921": ["d20270921", "occupied", "75 \u20ac ", 1], "d20270922": ["d20270922", "occupied", "75 \u20ac ", 1], "d20270923": ["d20270923", "occupied", "75 \u20ac ", 1], "d20270924": ["d20270924", "occupied", "75 \u20ac ", 1], "d20270925": ["d20270925", "occupied", "75 \u20ac ", 1], "d20270926": ["d20270926", "season0departure", "75 \u20ac ", 0], "d20270927": ["d20270927", "season0arrival", "75 \u20ac ", 0], "d20270928": ["d20270928", "season0departure", "75 \u20ac ", 0], "d20270929": ["d20270929", "season0", "75 \u20ac ", 0], "d20270930": ["d20270930", "season0", "75 \u20ac ", 0], "d20271001": ["d20271001", "season0", "75 \u20ac ", 0], "d20271002": ["d20271002", "season0", "75 \u20ac ", 0], "d20271003": ["d20271003", "season0", "75 \u20ac ", 0], "d20271004": ["d20271004", "season0arrival", "75 \u20ac ", 0], "d20271005": ["d20271005", "occupied", "75 \u20ac ", 1], "d20271006": ["d20271006", "occupied", "75 \u20ac ", 1], "d20271007": ["d20271007", "occupied", "75 \u20ac ", 1], "d20271008": ["d20271008", "occupied", "75 \u20ac ", 1], "d20271009": ["d20271009", "occupied", "75 \u20ac ", 1], "d20271010": ["d20271010", "occupied", "75 \u20ac ", 1], "d20271011": ["d20271011", "occupied", "75 \u20ac ", 1], "d20271012": ["d20271012", "occupied", "75 \u20ac ", 1], "d20271013": ["d20271013", "occupied", "75 \u20ac ", 1], "d20271014": ["d20271014", "occupied", "75 \u20ac ", 1], "d20271015": ["d20271015", "occupied", "75 \u20ac ", 1], "d20271016": ["d20271016", "season0departure", "75 \u20ac ", 0], "d20271017": ["d20271017", "season0", "75 \u20ac ", 0], "d20271018": ["d20271018", "season0", "75 \u20ac ", 0], "d20271019": ["d20271019", "season0", "75 \u20ac ", 0], "d20271020": ["d20271020", "season0", "75 \u20ac ", 0], "d20271021": ["d20271021", "season0", "75 \u20ac ", 0], "d20271022": ["d20271022", "season0", "75 \u20ac ", 0], "d20271023": ["d20271023", "season0", "75 \u20ac ", 0], "d20271024": ["d20271024", "season0", "75 \u20ac ", 0], "d20271025": ["d20271025", "season0", "75 \u20ac ", 0], "d20271026": ["d20271026", "season0", "75 \u20ac ", 0], "d20271027": ["d20271027", "season0", "75 \u20ac ", 0], "d20271028": ["d20271028", "season0", "75 \u20ac ", 0], "d20271029": ["d20271029", "season0", "75 \u20ac ", 0], "d20271030": ["d20271030", "season0", "75 \u20ac ", 0], "d20271031": ["d20271031", "season0", "75 \u20ac ", 0], "d20271101": ["d20271101", "season0", "75 \u20ac ", 0], "d20271102": ["d20271102", "season0", "75 \u20ac ", 0], "d20271103": ["d20271103", "season0", "75 \u20ac ", 0], "d20271104": ["d20271104", "season0", "75 \u20ac ", 0], "d20271105": ["d20271105", "season0", "75 \u20ac ", 0], "d20271106": ["d20271106", "season0", "75 \u20ac ", 0], "d20271107": ["d20271107", "season0", "75 \u20ac ", 0], "d20271108": ["d20271108", "season0", "75 \u20ac ", 0], "d20271109": ["d20271109", "season0", "75 \u20ac ", 0], "d20271110": ["d20271110", "season0", "75 \u20ac ", 0], "d20271111": ["d20271111", "season0", "75 \u20ac ", 0], "d20271112": ["d20271112", "season0", "75 \u20ac ", 0], "d20271113": ["d20271113", "season0", "75 \u20ac ", 0], "d20271114": ["d20271114", "season0", "75 \u20ac ", 0], "d20271115": ["d20271115", "season0", "75 \u20ac ", 0], "d20271116": ["d20271116", "season0", "75 \u20ac ", 0], "d20271117": ["d20271117", "season0", "75 \u20ac ", 0], "d20271118": ["d20271118", "season0", "75 \u20ac ", 0], "d20271119": ["d20271119", "season0", "75 \u20ac ", 0], "d20271120": ["d20271120", "season0", "75 \u20ac ", 0], "d20271121": ["d20271121", "season0", "75 \u20ac ", 0], "d20271122": ["d20271122", "season0", "75 \u20ac ", 0], "d20271123": ["d20271123", "season0", "75 \u20ac ", 0], "d20271124": ["d20271124", "season0", "75 \u20ac ", 0], "d20271125": ["d20271125", "season0", "75 \u20ac ", 0], "d20271126": ["d20271126", "season0", "75 \u20ac ", 0], "d20271127": ["d20271127", "season0", "75 \u20ac ", 0], "d20271128": ["d20271128", "season0", "75 \u20ac ", 0], "d20271129": ["d20271129", "season0", "75 \u20ac ", 0], "d20271130": ["d20271130", "season0", "75 \u20ac ", 0], "d20271201": ["d20271201", "season0", "75 \u20ac ", 0], "d20271202": ["d20271202", "season0", "75 \u20ac ", 0], "d20271203": ["d20271203", "season0", "75 \u20ac ", 0], "d20271204": ["d20271204", "season0", "75 \u20ac ", 0], "d20271205": ["d20271205", "season0", "75 \u20ac ", 0], "d20271206": ["d20271206", "season0", "75 \u20ac ", 0], "d20271207": ["d20271207", "season0", "75 \u20ac ", 0], "d20271208": ["d20271208", "season0", "75 \u20ac ", 0], "d20271209": ["d20271209", "season0", "75 \u20ac ", 0], "d20271210": ["d20271210", "season0", "75 \u20ac ", 0], "d20271211": ["d20271211", "season0", "75 \u20ac ", 0], "d20271212": ["d20271212", "season0", "75 \u20ac ", 0], "d20271213": ["d20271213", "season0", "75 \u20ac ", 0], "d20271214": ["d20271214", "season0", "75 \u20ac ", 0], "d20271215": ["d20271215", "season0", "75 \u20ac ", 0], "d20271216": ["d20271216", "season0", "75 \u20ac ", 0], "d20271217": ["d20271217", "season0", "75 \u20ac ", 0], "d20271218": ["d20271218", "season0", "75 \u20ac ", 0], "d20271219": ["d20271219", "season0", "75 \u20ac ", 0], "d20271220": ["d20271220", "season0", "75 \u20ac ", 0], "d20271221": ["d20271221", "season0", "75 \u20ac ", 0], "d20271222": ["d20271222", "season0", "75 \u20ac ", 0], "d20271223": ["d20271223", "season0", "75 \u20ac ", 0], "d20271224": ["d20271224", "season0", "75 \u20ac ", 0], "d20271225": ["d20271225", "season0", "75 \u20ac ", 0], "d20271226": ["d20271226", "season0", "75 \u20ac ", 0], "d20271227": ["d20271227", "season0", "75 \u20ac ", 0], "d20271228": ["d20271228", "season0", "75 \u20ac ", 0], "d20271229": ["d20271229", "season0", "75 \u20ac ", 0], "d20271230": ["d20271230", "season0", "75 \u20ac ", 0], "d20271231": ["d20271231", "season0", "75 \u20ac ", 0], "d20280101": ["d20280101", "season0", "75 \u20ac ", 0], "d20280102": ["d20280102", "season0", "75 \u20ac ", 0], "d20280103": ["d20280103", "season0", "75 \u20ac ", 0], "d20280104": ["d20280104", "season0", "75 \u20ac ", 0], "d20280105": ["d20280105", "season0", "75 \u20ac ", 0], "d20280106": ["d20280106", "season0", "75 \u20ac ", 0], "d20280107": ["d20280107", "season0", "75 \u20ac ", 0], "d20280108": ["d20280108", "season0", "75 \u20ac ", 0], "d20280109": ["d20280109", "season0", "75 \u20ac ", 0], "d20280110": ["d20280110", "season0", "75 \u20ac ", 0], "d20280111": ["d20280111", "season0", "75 \u20ac ", 0], "d20280112": ["d20280112", "season0", "75 \u20ac ", 0], "d20280113": ["d20280113", "season0", "75 \u20ac ", 0], "d20280114": ["d20280114", "season0", "75 \u20ac ", 0], "d20280115": ["d20280115", "season0", "75 \u20ac ", 0], "d20280116": ["d20280116", "season0", "75 \u20ac ", 0], "d20280117": ["d20280117", "season0", "75 \u20ac ", 0], "d20280118": ["d20280118", "season0", "75 \u20ac ", 0], "d20280119": ["d20280119", "season0", "75 \u20ac ", 0], "d20280120": ["d20280120", "season0", "75 \u20ac ", 0], "d20280121": ["d20280121", "season0", "75 \u20ac ", 0], "d20280122": ["d20280122", "season0", "75 \u20ac ", 0], "d20280123": ["d20280123", "season0", "75 \u20ac ", 0], "d20280124": ["d20280124", "season0", "75 \u20ac ", 0], "d20280125": ["d20280125", "season0", "75 \u20ac ", 0], "d20280126": ["d20280126", "season0", "75 \u20ac ", 0], "d20280127": ["d20280127", "season0", "75 \u20ac ", 0], "d20280128": ["d20280128", "season0", "75 \u20ac ", 0], "d20280129": ["d20280129", "season0", "75 \u20ac ", 0], "d20280130": ["d20280130", "season0", "75 \u20ac ", 0], "d20280131": ["d20280131", "season0", "75 \u20ac ", 0], "d20280201": ["d20280201", "season0", "75 \u20ac ", 0], "d20280202": ["d20280202", "season0", "75 \u20ac ", 0], "d20280203": ["d20280203", "season0", "75 \u20ac ", 0], "d20280204": ["d20280204", "season0", "75 \u20ac ", 0], "d20280205": ["d20280205", "season0", "75 \u20ac ", 0], "d20280206": ["d20280206", "season0", "75 \u20ac ", 0], "d20280207": ["d20280207", "season0", "75 \u20ac ", 0], "d20280208": ["d20280208", "season0", "75 \u20ac ", 0], "d20280209": ["d20280209", "season0", "75 \u20ac ", 0], "d20280210": ["d20280210", "season0", "75 \u20ac ", 0], "d20280211": ["d20280211", "season0", "75 \u20ac ", 0], "d20280212": ["d20280212", "season0", "75 \u20ac ", 0], "d20280213": ["d20280213", "season0", "75 \u20ac ", 0], "d20280214": ["d20280214", "season0", "75 \u20ac ", 0], "d20280215": ["d20280215", "season0", "75 \u20ac ", 0], "d20280216": ["d20280216", "season0", "75 \u20ac ", 0], "d20280217": ["d20280217", "season0", "75 \u20ac ", 0], "d20280218": ["d20280218", "season0", "75 \u20ac ", 0], "d20280219": ["d20280219", "season0", "75 \u20ac ", 0], "d20280220": ["d20280220", "season0", "75 \u20ac ", 0], "d20280221": ["d20280221", "season0", "75 \u20ac ", 0], "d20280222": ["d20280222", "season0", "75 \u20ac ", 0], "d20280223": ["d20280223", "season0", "75 \u20ac ", 0], "d20280224": ["d20280224", "season0", "75 \u20ac ", 0], "d20280225": ["d20280225", "season0", "75 \u20ac ", 0], "d20280226": ["d20280226", "season0", "75 \u20ac ", 0], "d20280227": ["d20280227", "season0", "75 \u20ac ", 0], "d20280228": ["d20280228", "season0", "75 \u20ac ", 0], "d20280229": ["d20280229", "season0", "75 \u20ac ", 0], "d20280301": ["d20280301", "season0", "75 \u20ac ", 0], "d20280302": ["d20280302", "season0", "75 \u20ac ", 0], "d20280303": ["d20280303", "season0", "75 \u20ac ", 0], "d20280304": ["d20280304", "season0", "75 \u20ac ", 0], "d20280305": ["d20280305", "season0", "75 \u20ac ", 0], "d20280306": ["d20280306", "season0", "75 \u20ac ", 0], "d20280307": ["d20280307", "season0", "75 \u20ac ", 0], "d20280308": ["d20280308", "season0", "75 \u20ac ", 0], "d20280309": ["d20280309", "season0", "75 \u20ac ", 0], "d20280310": ["d20280310", "season0", "75 \u20ac ", 0], "d20280311": ["d20280311", "season0", "75 \u20ac ", 0], "d20280312": ["d20280312", "season0", "75 \u20ac ", 0], "d20280313": ["d20280313", "season0", "75 \u20ac ", 0], "d20280314": ["d20280314", "season0", "75 \u20ac ", 0], "d20280315": ["d20280315", "season0", "75 \u20ac ", 0], "d20280316": ["d20280316", "season0", "75 \u20ac ", 0], "d20280317": ["d20280317", "season0", "75 \u20ac ", 0], "d20280318": ["d20280318", "season0", "75 \u20ac ", 0], "d20280319": ["d20280319", "season0", "75 \u20ac ", 0], "d20280320": ["d20280320", "season0", "75 \u20ac ", 0], "d20280321": ["d20280321", "season0", "75 \u20ac ", 0], "d20280322": ["d20280322", "season0", "75 \u20ac ", 0], "d20280323": ["d20280323", "season0", "75 \u20ac ", 0], "d20280324": ["d20280324", "season0", "75 \u20ac ", 0], "d20280325": ["d20280325", "season0", "75 \u20ac ", 0], "d20280326": ["d20280326", "season0", "75 \u20ac ", 0], "d20280327": ["d20280327", "season0", "75 \u20ac ", 0], "d20280328": ["d20280328", "season0", "75 \u20ac ", 0], "d20280329": ["d20280329", "season0", "75 \u20ac ", 0], "d20280330": ["d20280330", "season0", "75 \u20ac ", 0], "d20280331": ["d20280331", "season0", "75 \u20ac ", 0], "d20280401": ["d20280401", "season0", "75 \u20ac ", 0], "d20280402": ["d20280402", "season0", "75 \u20ac ", 0], "d20280403": ["d20280403", "season0", "75 \u20ac ", 0], "d20280404": ["d20280404", "season0", "75 \u20ac ", 0], "d20280405": ["d20280405", "season0", "75 \u20ac ", 0], "d20280406": ["d20280406", "season0", "75 \u20ac ", 0], "d20280407": ["d20280407", "season0", "75 \u20ac ", 0], "d20280408": ["d20280408", "season0", "75 \u20ac ", 0], "d20280409": ["d20280409", "season0", "75 \u20ac ", 0], "d20280410": ["d20280410", "season0", "75 \u20ac ", 0], "d20280411": ["d20280411", "season0", "75 \u20ac ", 0], "d20280412": ["d20280412", "season0", "75 \u20ac ", 0], "d20280413": ["d20280413", "season0", "75 \u20ac ", 0], "d20280414": ["d20280414", "season0", "75 \u20ac ", 0], "d20280415": ["d20280415", "season0", "75 \u20ac ", 0], "d20280416": ["d20280416", "season0", "75 \u20ac ", 0], "d20280417": ["d20280417", "season0", "75 \u20ac ", 0], "d20280418": ["d20280418", "season0", "75 \u20ac ", 0], "d20280419": ["d20280419", "season0", "75 \u20ac ", 0], "d20280420": ["d20280420", "season0", "75 \u20ac ", 0], "d20280421": ["d20280421", "season0", "75 \u20ac ", 0], "d20280422": ["d20280422", "season0", "75 \u20ac ", 0], "d20280423": ["d20280423", "season0", "75 \u20ac ", 0], "d20280424": ["d20280424", "season0", "75 \u20ac ", 0], "d20280425": ["d20280425", "season0", "75 \u20ac ", 0], "d20280426": ["d20280426", "season0", "75 \u20ac ", 0], "d20280427": ["d20280427", "season0", "75 \u20ac ", 0], "d20280428": ["d20280428", "season0", "75 \u20ac ", 0], "d20280429": ["d20280429", "season0", "75 \u20ac ", 0], "d20280430": ["d20280430", "season0", "75 \u20ac ", 0], "d20280501": ["d20280501", "season0", "75 \u20ac ", 0], "d20280502": ["d20280502", "season0", "75 \u20ac ", 0], "d20280503": ["d20280503", "season0", "75 \u20ac ", 0], "d20280504": ["d20280504", "season0", "75 \u20ac ", 0], "d20280505": ["d20280505", "season0", "75 \u20ac ", 0], "d20280506": ["d20280506", "season0", "75 \u20ac ", 0], "d20280507": ["d20280507", "season0", "75 \u20ac ", 0], "d20280508": ["d20280508", "season0", "75 \u20ac ", 0], "d20280509": ["d20280509", "season0", "75 \u20ac ", 0], "d20280510": ["d20280510", "season0", "75 \u20ac ", 0], "d20280511": ["d20280511", "season0", "75 \u20ac ", 0], "d20280512": ["d20280512", "season0", "75 \u20ac ", 0], "d20280513": ["d20280513", "season0", "75 \u20ac ", 0], "d20280514": ["d20280514", "season0", "75 \u20ac ", 0], "d20280515": ["d20280515", "season0", "75 \u20ac ", 0], "d20280516": ["d20280516", "season0", "75 \u20ac ", 0], "d20280517": ["d20280517", "season0", "75 \u20ac ", 0], "d20280518": ["d20280518", "season0", "75 \u20ac ", 0], "d20280519": ["d20280519", "season0", "75 \u20ac ", 0], "d20280520": ["d20280520", "season0", "75 \u20ac ", 0], "d20280521": ["d20280521", "season0", "75 \u20ac ", 0], "d20280522": ["d20280522", "season0", "75 \u20ac ", 0], "d20280523": ["d20280523", "season0", "75 \u20ac ", 0], "d20280524": ["d20280524", "season0", "75 \u20ac ", 0], "d20280525": ["d20280525", "season0", "75 \u20ac ", 0], "d20280526": ["d20280526", "season0", "75 \u20ac ", 0], "d20280527": ["d20280527", "season0", "75 \u20ac ", 0], "d20280528": ["d20280528", "season0", "75 \u20ac ", 0], "d20280529": ["d20280529", "season0", "75 \u20ac ", 0], "d20280530": ["d20280530", "season0", "75 \u20ac ", 0], "d20280531": ["d20280531", "season0", "75 \u20ac ", 0], "d20280601": ["d20280601", "season0", "75 \u20ac ", 0], "d20280602": ["d20280602", "season0", "75 \u20ac ", 0], "d20280603": ["d20280603", "season0", "75 \u20ac ", 0], "d20280604": ["d20280604", "season0", "75 \u20ac ", 0], "d20280605": ["d20280605", "season0", "75 \u20ac ", 0], "d20280606": ["d20280606", "season0", "75 \u20ac ", 0], "d20280607": ["d20280607", "season0", "75 \u20ac ", 0], "d20280608": ["d20280608", "season0", "75 \u20ac ", 0], "d20280609": ["d20280609", "season0", "75 \u20ac ", 0], "d20280610": ["d20280610", "season0", "75 \u20ac ", 0], "d20280611": ["d20280611", "season0", "75 \u20ac ", 0], "d20280612": ["d20280612", "season0", "75 \u20ac ", 0], "d20280613": ["d20280613", "season0", "75 \u20ac ", 0], "d20280614": ["d20280614", "season0", "75 \u20ac ", 0], "d20280615": ["d20280615", "season0", "75 \u20ac ", 0], "d20280616": ["d20280616", "season0", "75 \u20ac ", 0], "d20280617": ["d20280617", "season0", "75 \u20ac ", 0], "d20280618": ["d20280618", "season0", "75 \u20ac ", 0], "d20280619": ["d20280619", "season0", "75 \u20ac ", 0], "d20280620": ["d20280620", "season0", "75 \u20ac ", 0], "d20280621": ["d20280621", "season0", "75 \u20ac ", 0], "d20280622": ["d20280622", "season0", "75 \u20ac ", 0], "d20280623": ["d20280623", "season0", "75 \u20ac ", 0], "d20280624": ["d20280624", "season0", "75 \u20ac ", 0], "d20280625": ["d20280625", "season0", "75 \u20ac ", 0], "d20280626": ["d20280626", "season0", "75 \u20ac ", 0], "d20280627": ["d20280627", "season0", "75 \u20ac ", 0], "d20280628": ["d20280628", "season0", "75 \u20ac ", 0], "d20280629": ["d20280629", "season0", "75 \u20ac ", 0], "d20280630": ["d20280630", "season0", "75 \u20ac ", 0], "d20280701": ["d20280701", "season0", "75 \u20ac ", 0], "d20280702": ["d20280702", "season0", "75 \u20ac ", 0], "d20280703": ["d20280703", "season0", "75 \u20ac ", 0], "d20280704": ["d20280704", "season0", "75 \u20ac ", 0], "d20280705": ["d20280705", "season0", "75 \u20ac ", 0], "d20280706": ["d20280706", "season0", "75 \u20ac ", 0], "d20280707": ["d20280707", "season0", "75 \u20ac ", 0], "d20280708": ["d20280708", "season0", "75 \u20ac ", 0], "d20280709": ["d20280709", "season0", "75 \u20ac ", 0], "d20280710": ["d20280710", "season0", "75 \u20ac ", 0], "d20280711": ["d20280711", "season0", "75 \u20ac ", 0], "d20280712": ["d20280712", "season0", "75 \u20ac ", 0], "d20280713": ["d20280713", "season0", "75 \u20ac ", 0], "d20280714": ["d20280714", "season0", "75 \u20ac ", 0], "d20280715": ["d20280715", "season0", "75 \u20ac ", 0], "d20280716": ["d20280716", "season0", "75 \u20ac ", 0], "d20280717": ["d20280717", "season0", "75 \u20ac ", 0], "d20280718": ["d20280718", "season0", "75 \u20ac ", 0], "d20280719": ["d20280719", "season0", "75 \u20ac ", 0], "d20280720": ["d20280720", "season0", "75 \u20ac ", 0], "d20280721": ["d20280721", "season0", "75 \u20ac ", 0], "d20280722": ["d20280722", "season0", "75 \u20ac ", 0], "d20280723": ["d20280723", "season0", "75 \u20ac ", 0], "d20280724": ["d20280724", "season0", "75 \u20ac ", 0], "d20280725": ["d20280725", "season0", "75 \u20ac ", 0], "d20280726": ["d20280726", "season0", "75 \u20ac ", 0], "d20280727": ["d20280727", "season0", "75 \u20ac ", 0], "d20280728": ["d20280728", "season0", "75 \u20ac ", 0], "d20280729": ["d20280729", "season0", "75 \u20ac ", 0], "d20280730": ["d20280730", "season0", "75 \u20ac ", 0], "d20280731": ["d20280731", "season0", "75 \u20ac ", 0], "d20280801": ["d20280801", "season0", "75 \u20ac ", 0], "d20280802": ["d20280802", "season0", "75 \u20ac ", 0], "d20280803": ["d20280803", "season0", "75 \u20ac ", 0], "d20280804": ["d20280804", "season0", "75 \u20ac ", 0], "d20280805": ["d20280805", "season0", "75 \u20ac ", 0], "d20280806": ["d20280806", "season0", "75 \u20ac ", 0], "d20280807": ["d20280807", "season0", "75 \u20ac ", 0], "d20280808": ["d20280808", "season0", "75 \u20ac ", 0], "d20280809": ["d20280809", "season0", "75 \u20ac ", 0], "d20280810": ["d20280810", "season0", "75 \u20ac ", 0], "d20280811": ["d20280811", "season0", "75 \u20ac ", 0], "d20280812": ["d20280812", "season0", "75 \u20ac ", 0], "d20280813": ["d20280813", "season0", "75 \u20ac ", 0], "d20280814": ["d20280814", "season0", "75 \u20ac ", 0], "d20280815": ["d20280815", "season0", "75 \u20ac ", 0], "d20280816": ["d20280816", "season0", "75 \u20ac ", 0], "d20280817": ["d20280817", "season0", "75 \u20ac ", 0], "d20280818": ["d20280818", "season0", "75 \u20ac ", 0], "d20280819": ["d20280819", "season0", "75 \u20ac ", 0], "d20280820": ["d20280820", "season0", "75 \u20ac ", 0], "d20280821": ["d20280821", "season0", "75 \u20ac ", 0], "d20280822": ["d20280822", "season0", "75 \u20ac ", 0], "d20280823": ["d20280823", "season0", "75 \u20ac ", 0], "d20280824": ["d20280824", "season0", "75 \u20ac ", 0], "d20280825": ["d20280825", "season0", "75 \u20ac ", 0], "d20280826": ["d20280826", "season0", "75 \u20ac ", 0], "d20280827": ["d20280827", "season0", "75 \u20ac ", 0], "d20280828": ["d20280828", "season0", "75 \u20ac ", 0], "d20280829": ["d20280829", "season0", "75 \u20ac ", 0], "d20280830": ["d20280830", "season0", "75 \u20ac ", 0], "d20280831": ["d20280831", "season0", "75 \u20ac ", 0], "d20280901": ["d20280901", "season0", "75 \u20ac ", 0], "d20280902": ["d20280902", "season0", "75 \u20ac ", 0], "d20280903": ["d20280903", "season0", "75 \u20ac ", 0], "d20280904": ["d20280904", "season0", "75 \u20ac ", 0], "d20280905": ["d20280905", "season0", "75 \u20ac ", 0], "d20280906": ["d20280906", "season0", "75 \u20ac ", 0], "d20280907": ["d20280907", "season0", "75 \u20ac ", 0], "d20280908": ["d20280908", "season0", "75 \u20ac ", 0], "d20280909": ["d20280909", "season0", "75 \u20ac ", 0], "d20280910": ["d20280910", "season0", "75 \u20ac ", 0], "d20280911": ["d20280911", "season0", "75 \u20ac ", 0], "d20280912": ["d20280912", "season0", "75 \u20ac ", 0], "d20280913": ["d20280913", "season0", "75 \u20ac ", 0], "d20280914": ["d20280914", "season0", "75 \u20ac ", 0], "d20280915": ["d20280915", "season0", "75 \u20ac ", 0], "d20280916": ["d20280916", "season0", "75 \u20ac ", 0]};
var javascript_literals= {"Apartments": "Pisos", "Ferienhaus": "Casas de vacaciones", "Ferienwohnung": "Pisos de vacaciones", "Hausboot": "Casas flotantes", "Objekt": "Objetos", "Trike": "Triciclos", "Villa": "Villas", "Wohnmobil": "Autocaravanas", "activities": "Actividades", "address_title": "Direcci\u00f3n", "amenities": "Equipamiento", "anything_per_night_text": "item.number_of_nights+ \u0027 Noches \u0027+item.name+\u0027 \u00e0 \u0027+item.price+ window.currency+\u0027 \u0027", "arrival": "Fecha de llegada", "arrival_calendar": "Llegada", "arrival_days": "D\u00edas de llegada", "availability": "Calendario", "available": "gratis/disponible", "basic_price": "Precio base, si no hay temporada", "booking": "Reservas", "booking_button_label": "Informaci\u00f3n sobre precios ", "booking_duration_not_valid_text": "\u0027Lamentablemente, el per\u00edodo de reserva en la temporada \u0027+entry.season_name+\u0027 no es posible. Su consulta es \u0026nbsp;\u0027+entry.days_requested+\u0027\u0026nbsp; Noches. El m\u00ednimo para esta temporada es \u0026nbsp;\u0027+entry.season_min_duration+\u0027 Noches.\u0027", "booking_fee": "Tasa de reserva", "booking_headline_dates_and_people": "Fechas del viaje", "booking_headline_extras": "Servicios adicionales", "booking_headline_guest_data": "Sus datos de contacto", "booking_menu_label": "Informaci\u00f3n sobre precios ", "calendar_title": "Calendario de reservas", "city": "Ubicaci\u00f3n", "click_here": "ver", "close_window": "Cerrar ventana", "collision_text": "\u0027Hay un solapamiento con otra reserva. Por favor, seleccione otras fechas. \u003cbr\u003e\u0027", "company_name": "Empresa", "contact_owner_label": "Contacto arrendador", "country": "Pa\u00eds", "days": "Noches", "december": "Diciembre", "default_prompt_for_number_of_kids": "menores de 18 a\u00f1os", "default_rate_nights_text": "item.first_night+\u0027 - \u0027+item.last_night+\u0027 = \u0027+item.number_of_nights+ \u0027 Noches en temporada est\u00e1ndar \u00e0 \u0027 +item.price+ window.currency+\u0027 \u0027", "departure": "Fecha de salida", "departure_calendar": "Salida/libre", "departure_days": "D\u00edas de salida", "description": "Descripci\u00f3n de la", "email": "Correo electr\u00f3nico", "end_day_not_valid_text": "\u0027Su d\u00eda de salida est\u00e1 en temporada \u0026nbsp;\u0027+entry.season_name+\u0027 no es posible. Por favor, elija otro d\u00eda. \u003cbr\u003e\u0027", "error_please_correct_booking": "Modifique los datos de su reserva.", "error_please_correct_data": "Por favor, cambie los datos marcados", "error_please_enter": "Por favor, entra.", "expired": "Lamentablemente, el vale ha caducado", "facts": "Hechos", "final_cleaning": "Limpieza final", "first_name": "Nombre", "first_night": "Primera noche", "first_night_surcharge_text": "item.first_night+\u0027 - \u0027+item.last_night+\u0027 = Precio para la primera noche de la temporada \u0027+item.season_name+\u0027 : \u0027+item.price+ window.currency+\u0027 \u0027", "from": "de", "gdpr_title": "Declaraci\u00f3n de protecci\u00f3n de datos", "import_file_season_list": "lista_temporada_es.html", "imprint_title": "Pie de imprenta", "invalid": "El c\u00f3digo del vale no es v\u00e1lido", "invoice_items": "Elementos de la factura", "january": "Enero", "kid_surcharge_text": "item.first_night+\u0027 - \u0027+item.last_night+\u0027 = \u0027+item.number_of_nights+ \u0027 Noches de recargo por \u0027+item.surplus_persons+\u0027 Joven(es) de m\u00e1s de \u0027+item.base_persons + \u0027 \u00e0 \u0027+item.price+ window.currency+\u0027 \u0027", "kids_beds": "Cunas", "kids_chairs": "Tronas para ni\u00f1os", "last_name": "Apellido", "linen_towels": "Ropa de cama / toallas", "load_maps_image": "https://lh3.googleusercontent.com/-2RYufUPgT4iFAeoBAwA5yn4YGlOQUmeN2_uuWdAD2hll-q0OJhVevMtD-cNCwtg1zryrDYNCNn42fmi9nB5H7_XyDZpOngbs4ewt4o=s0", "load_maps_text": "Respetamos su privacidad: s\u00f3lo cuando haga clic aqu\u00ed se cargar\u00e1 el mapa correspondiente de Google Maps. Al hacer clic usted acepta esto. ", "location": "Ubicaci\u00f3n", "location_title": "Situaci\u00f3n y alrededores", "map_title": "Mapa", "mb_slogan": "Sitios web para pisos de vacaciones", "message": "Mensaje", "message_placeholder": "Su mensaje para nosotros...", "minimum_booking": "Reserva m\u00ednima", "more_bookings_promo": "Reserva segura y funci\u00f3n de contacto. Proporcionado por More-Bookings", "night": "Noche", "normal_season_nights_text": "item.first_night+\u0027 - \u0027+item.last_night+\u0027 = \u0027+item.number_of_nights+ \u0027 Noches en temporada \u0027+item.name+\u0027 \u00e0 \u0027+item.price+ window.currency+\u0027 \u0027", "number_of_guests": "Invitados", "occupied": "Ocupado", "or": "o", "or_enter_email": "o introduzca la direcci\u00f3n de correo electr\u00f3nico", "or_enter_phone": "o introduzca el tel\u00e9fono", "overbooking_text": "\u0027El n\u00famero m\u00e1ximo de hu\u00e9spedes es:\u0026nbsp;\u0027+entry.max_number_of_guests+ \u0027\u0026nbsp;Usted tiene\u0026nbsp; \u0027+entry.requested_number_of_guests+ \u0027\u0026nbsp;G. \u003cbr\u003e\u0027", "per_night": "por noche", "person": "Persona", "person_surcharge_text": "item.first_night+\u0027 - \u0027+item.last_night+\u0027 = \u0027+item.number_of_nights+ \u0027 Noches de recargo por \u0027+item.surplus_persons+\u0027 Persona(s) m\u00e1s de \u0027+item.base_persons + \u0027 \u00e0 \u0027+item.price+ window.currency+\u0027 \u0027", "phone": "Tel\u00e9fono", "phone_number": "Tel\u00e9fono", "photos": "Fotos", "please_correct_the_red_inputs": "Por favor, corrija los campos marcados en rojo", "please_enter": "por favor, introduzca", "postcode": "C\u00f3digo postal", "price": "Precio", "price_per_night": "Precio / noche", "prices": "Precios", "pricing_from": "de", "pricing_title": "Lista de precios", "promo_text": "Calendario y funci\u00f3n de reserva proporcionados por More-Bookings - Sitios web inteligentes para pisos de vacaciones", "redeemed": "Este vale ya ha sido canjeado", "salutation_firma": "Empresa", "salutation_frau": "Sra", "salutation_herr": "Sr", "salutation_label": "Saludo", "season_name": "Temporada", "send_booking": "Enviar reserva", "send_enquiry": "Enviar solicitud", "short_stay_charge_text": "\u0027Recargo por reservas cortas de menos de \u0027+item.short_stay_max+\u0027 D\u00edas. \u0027", "short_stay_surcharge_up_to": "Recargo por reserva anticipada de hasta", "start_day_not_valid_text": "\u0027Su d\u00eda de la semana de llegada es en la temporada \u0026nbsp;\u0027+entry.season_name+\u0027 no es posible. Por favor, elija otro d\u00eda. \u003cbr\u003e\u0027", "street_with_number": "Calle/No.", "subsequent_night": "Noche siguiente", "surcharge_from_person_number": "Recargo a partir del n\u00famero de persona", "thank_you_for_your_enquiry": "Gracias por su consulta", "thank_you_for_your_interest": "Gracias por su inter\u00e9s", "to": "hasta", "total": "Total", "total_accomodation": "Total de pernoctaciones", "total_total": "Precio total", "valid_only_on_following_days": "s\u00f3lo v\u00e1lido para los siguientes d\u00edas", "voucher_arrival_too_early": "Fecha de llegada demasiado temprana para este bono", "voucher_arrival_too_late": "Fecha de llegada demasiado tarde para este bono", "voucher_code": "C\u00f3digo del vale (si est\u00e1 disponible)", "voucher_departure_too_late": "\u0027Fecha de salida demasiado tarde para este bono. \u00daltima fecha: \u0027 result.value", "voucher_min_duration_violation": "\u0027El vale s\u00f3lo es v\u00e1lido a partir de\u0027+result.value+\u0027Noches\u0027", "week": "Semana", "you_wanted_to_ask_something": "Hab\u00eda algo que quer\u00edas preguntar...", "your_booking_will_be_dealt_with_shortly": "Su solicitud ser\u00e1 enviada y recibir\u00e1 una confirmaci\u00f3n de reserva lo antes posible", "your_email": "Tu e-mail", "your_landlord_will_contact_you_soon": "Tu casero se pondr\u00e1 en contacto contigo lo antes posible ", "your_message": "Su mensaje", "your_message_for_us": "Su mensaje para nosotros", "your_message_to_the_owner": "Su mensaje al propietario", "your_surname": "Su nombre", "your_team_from_more_bookings": "Su equipo de More-Bookings"};
var backendHostUrl='https://fewoyieldmgmt.koberer.de/';
function guest_booking2(myelement, formname){
if (! document.getElementById("popupcontent")){
jQuery('body').append("");
}
var waitImage = document.getElementById('waitImage');
var backendHostUrl = 'https://fewoyieldmgmt.koberer.de/';
waitImage.style.visibility='visible';
var lang=jQuery(myelement).attr('data-lang');
var nom=jQuery(myelement).attr('data-nom');
var dialogue=jQuery(myelement).attr('data-dialogue');
var object_key = jQuery(myelement).attr('data-objectkey');
if (formname){
console.log('formname: '+formname);
var myId='#'+formname;
var myform=jQuery(myId);
var formcontent=myform.serialize();
console.log('myform: '+myform);
console.log('formcontent: '+formcontent);
}
else {
var formcontent='';
var formname='Objekt buchen'
}
var contact_intent = jQuery(myelement).attr('data-contact_intent');
if (contact_intent=='contact_owner'){
// var api_endpoint='http://localhost:8080/public_booking_dialogue?object_id=ag1mZXdveWllbGRtZ210chwLEhFjdXN0b21lcl9wcm9wZXJ0eSIFZGVtbzEM&lang=de&nom=3'
var api_endpoint=backendHostUrl+'/public_contact_owner_dialogue';
}
else {
var api_endpoint=backendHostUrl+'/public_booking_dialogue';
}
jQuery.ajax(api_endpoint, {
type: 'POST',
data: JSON.stringify({
'object_key':object_key,
'lang':lang,
'nom':nom,
'dialogue':dialogue,
'formcontent':formcontent }),
success: function(data){
jQuery('#popupcontent').html(data);
var wWidth = jQuery(window).width();
var dWidth = wWidth * 0.85;
var wHeight = jQuery(window).height();
var dHeight = wHeight * 0.9;
waitImage.style.visibility='hidden';
var mydialog=jQuery("#popupcontent").dialog({
modal: true,
title: 'Buchungsanfrage',
overlay: { opacity: 0.1, background: "black" },
width: dWidth,
height: dHeight,
draggable: true,
resizable: true
});
}
});
}
function guest_booking(myelement, formname){
var waitImage = document.getElementById('waitImage');
waitImage.style.visibility='visible';
var object_key = '';
var lang=jQuery(myelement).attr('data-lang');
var nom=jQuery(myelement).attr('data-nom');
if (formname){
console.log('formname: '+formname);
var myId='#'+formname;
var myform=jQuery(myId);
var formcontent=myform.serialize();
console.log('myform: '+myform);
console.log('formcontent: '+formcontent);
}
else {
var formcontent='';
var formname='Objekt buchen'
}
var contact_intent = jQuery(myelement).attr('data-contact_intent');
if (contact_intent=='contact_owner'){
var api_endpoint=backendHostUrl+'/public_contact_owner_dialogue';
var title = 'Contacto arrendador ';
}
else {
var api_endpoint=backendHostUrl+'/public_booking_dialogue';
var title = 'Información sobre precios ';
}
jQuery.ajax(api_endpoint, {
type: 'POST',
data: JSON.stringify({'object_key':object_key,
'lang':lang,
'nom':nom,
'formcontent':formcontent }),
success: function(data){
jQuery('#popupcontent').html(data);
var wWidth = jQuery(window).width();
var dWidth = wWidth * 0.85;
var wHeight = jQuery(window).height();
var dHeight = wHeight * 0.9;
waitImage.style.visibility='hidden';
var mydialog=jQuery("#popupcontent").dialog({
modal: true,
title: title,
overlay: { opacity: 0.1, background: "black" },
width: dWidth,
height: dHeight,
draggable: true,
resizable: true
});
}
});
}
function apply_voucher()
{
calculate_complete_form2();
}
function calculate_complete_form2()
{
var result=current_result;
if (result==='still empty') {
return;
}
function multiply_array(price, value_ordered){
var last_price_for_multiple=price[price.length-1];
var number_of_additions=Math.min(value_ordered,price.length);
var number_of_multiplications_with_last_price=value_ordered-number_of_additions;
var total=0;
for (let j = 0; j < number_of_additions; j++) {
total=total+price[j];
}
total=total+(last_price_for_multiple*number_of_multiplications_with_last_price);
return total;
}
var accomodation_price_manual=parseFloat(jQuery('#accomodation_price_manual').val());
console.log('accomodation price manual: '+accomodation_price_manual+typeof(accomodation_price_manual));
// var accomodation_price_computed=parseFloat(jQuery('#uebernachtungsbetrag').html().replace(',','.'));
var accomodation_price_computed=Number(result.rawprice);
console.log('accomodation price computed: '+accomodation_price_computed+typeof(accomodation_price_computed));
if ( isNaN(accomodation_price_manual))
{
// var accomodation_price=55;
var accomodation_price=Number(accomodation_price_computed);
console.log('accomodation price is from computed: '+accomodation_price);
}
else
{
console.log('accomodation price is from manual: '+accomodation_price_manual);
var accomodation_price=Number(accomodation_price_manual);
jQuery('#uebernachtungsbetrag').html(accomodation_price_manual+' '+window.currency);
};
console.log('accomodation price is now: '+accomodation_price);
var accomodation_items_manual=jQuery('#accomodation_items_manual').val();
if (accomodation_items_manual)
{
console.log('accomodation items manual was set: '+accomodation_items_manual);
jQuery('#rechnungstext').html(accomodation_items_manual);
}
console.log('accomodation price is now: '+accomodation_price);
// alert('accomodation price is now: '+accomodation_price);
// var accomodation_price=parseFloat(jQuery('#uebernachtungsbetrag').html())
billing_extra_total=0;
for (let i = 0; i < result.billing_extras.length; i++) {
var extra_total_location='#billing_extra_total_'+i;
var extra_price_target_location='#billing_extra_price_target_'+i;
var item_target='';
computation=result.billing_extras[i].computation;
price= result.billing_extras[i].price;
target_for_variable_price=result.billing_extras[i].target_for_variable_price;
console.log('last price: '+price[0]);
if (jQuery('#billing_extra_ordered_'+i).is(':checkbox'))
{
console.log('is checkbox');
if (jQuery('#billing_extra_ordered_'+i).is(':checked'))
{
console.log('is checked');
var value_ordered=1;
}
else
{
console.log('is not checked');
var value_ordered=0;
}
}
else
{
var value_ordered=Number(jQuery('#billing_extra_ordered_'+i).val());
}
console.log('value ordered: '+value_ordered);
if (computation==='number_per_day'){
item_target='pro Tag'
console.log('number_per_day. number ordered: '+value_ordered);
if (target_for_variable_price=='days'){
var total=multiply_array(price, window.number_of_nights)*value_ordered;
}
else {
var total=multiply_array(price, value_ordered)*window.number_of_nights;
}
}
else if (computation==='number_per_guest'){
item_target='pro Person'
if (target_for_variable_price=='guests'){
var total=multiply_array(price, window.number_of_guests)*value_ordered;
}
else {
var total=multiply_array(price, value_ordered)*window.number_of_guests;
}
}
else if (computation==='number'){
var total=multiply_array(price, value_ordered);
}
else if (['per_guest_per_day_mandatory','per_guest_per_day_optional', 'number_per_guest_per_day'].includes(computation)){
item_target='pro Person pro Tag'
if (target_for_variable_price=='days'){
var total=multiply_array(price, window.number_of_nights)*value_ordered*window.number_of_guests;
}
else if (target_for_variable_price=='guests'){
var total=multiply_array(price, window.number_of_guests)*window.number_of_nights*value_ordered;
}
else {
var total=multiply_array(price, value_ordered)*window.number_of_nights*window.number_of_guests;
}
}
else if (['per_adult_per_day_mandatory','per_adult_per_day_optional', 'number_per_adult_per_day'].includes(computation)){
item_target='pro Person pro Tag'
if (target_for_variable_price=='days'){
var total=multiply_array(price, window.number_of_nights)*value_ordered*window.number_of_adults;
}
else if (target_for_variable_price=='guests'){
var total=multiply_array(price, window.number_of_adults)*window.number_of_nights*value_ordered;
}
else {
var total=multiply_array(price, value_ordered)*window.number_of_nights*window.number_of_adults;
}
}
else if (['per_kid_per_day_mandatory','per_kid_per_day_optional', 'number_per_kid_per_day'].includes(computation)){
item_target='pro Person pro Tag'
if (target_for_variable_price=='days'){
var total=multiply_array(price, window.number_of_nights)*value_ordered*window.number_of_kids;
}
else if (target_for_variable_price=='guests'){
var total=multiply_array(price, window.number_of_kids)*window.number_of_nights*value_ordered;
}
else {
var total=multiply_array(price, value_ordered)*window.number_of_nights*window.number_of_kids;
}
}
else if (['per_guest_mandatory','per_guest_optional'].includes(computation)){
item_target='pro Person'
var total=multiply_array(price, window.number_of_guests)*value_ordered;
}
else if (['per_adult_mandatory','per_adult_optional'].includes(computation)){
item_target='pro Person'
var total=multiply_array(price, window.number_of_adults)*value_ordered;
}
else if (['per_kid_mandatory','per_kid_optional'].includes(computation)){
item_target='pro Person'
var total=multiply_array(price, window.number_of_kids)*value_ordered;
}
else if (['per_day_mandatory','per_day_optional'].includes(computation)){
item_target='pro Tag'
var total=multiply_array(price, window.number_of_nights)*value_ordered;
}
else if (['flat_mandatory','flat_optional'].includes(computation)){
var total=value_ordered*price;
}
else if (['percent_of_accomodation_mandatory','percent_of_accomodation_optional'].includes(computation)){
var total=accomodation_price*price*value_ordered/100;
}
else if (computation==='percent_of_total_mandatory'){
var pct = Array.isArray(price) ? Number(price[0]) : Number(price);
var base = (accomodation_price || 0) + (billing_extra_total || 0);
var total = value_ordered ? Math.round(base * pct / 100 * 100) / 100 : 0;
}
else if (computation==='percent_of_total_per_adult_mandatory'){
var pct = Array.isArray(price) ? Number(price[0]) : Number(price);
var base = (accomodation_price || 0) + (billing_extra_total || 0);
var total = 0;
if (window.number_of_guests && value_ordered) {
total = Math.round(base * pct / 100 * window.number_of_adults / window.number_of_guests * 100) / 100;
}
}
else {
console.log('computation not found');
console.log('computation: '+computation);
var total=Number(price);
}
billing_extra_total=billing_extra_total+total;
console.log('total für diese Zeile: '+total+typeof(total));
console.log('extra total: '+billing_extra_total);
// jQuery(extra_price_target_location).html(item_target);
jQuery(extra_total_location).html(total.toFixed(2).replace('.',',')+' '+window.currency);
}
var voucher_amount=Number(jQuery('#hidden_voucher_price').val())
console.log('voucher amount from hidden voucher price: '+voucher_amount);
var manual_voucher_amount=Number(jQuery('#voucher_amount').val());
var extra_amount=Number(jQuery('#extra_amount').val());
var total_total=(accomodation_price || 0)+(billing_extra_total || 0)
-(manual_voucher_amount || 0)
+(voucher_amount || 0)
+(extra_amount || 0);
jQuery('#total_total').html(total_total.toFixed(2).replace('.',',')+' '+window.currency);
jQuery('#total_amount').val(total_total);
}
function calculate_complete_form_old()
{
var linen_towels_price=parseFloat(jQuery('#linen_towels_price').html())
var linen_towels_ordered=Number(jQuery('#linen_towels_ordered').val());
var add1_ordered=Number(jQuery('#add1_ordered').val());
var add1_price=parseFloat(jQuery('#add1_price').html())
var add2_ordered=Number(jQuery('#add2_ordered').val());
var add2_price=parseFloat(jQuery('#add2_price').html());
var add1_computation=jQuery('#add1_computation').val();
var add2_computation=jQuery('#add2_computation').val();
console.log('add1_price: '+add1_price);
console.log('add1_ordered: '+add1_ordered);
console.log('add1_computation: '+add1_computation);
if (add1_computation ==='number_per_day')
{var add1_total=add1_ordered*window.number_of_nights*add1_price;
}
else if (add1_computation ==='flat')
{var add1_total=add1_price;}
else if (add1_computation ==='number')
{var add1_total=add1_ordered*add1_price;
}
else if (add1_computation ==='per_day')
{var add1_total=window.number_of_nights*add1_price;}
else if (add1_computation ==='per_guest_per_day')
{var number_of_guests=Number(jQuery('#number_of_guests').val());
var add1_total=window.number_of_nights*add1_price*number_of_guests;}
else if (add1_computation ==='per_adult_per_day')
{var number_of_guests=Number(jQuery('#number_of_guests').val()-jQuery('#number_of_kids').val());
var add1_total=window.number_of_nights*add1_price*number_of_guests;}
else if (add1_computation ==='per_kid_per_day')
{var number_of_guests=Number(jQuery('#number_of_kids').val());
var add1_total=window.number_of_nights*add1_price*number_of_guests;}
else if (add1_computation ==='per_guest')
{var number_of_guests=Number(jQuery('#number_of_guests').val());
var add1_total=number_of_guests*add1_price;}
else if (add1_computation ==='per_adult')
{var number_of_guests=Number(jQuery('#number_of_guests').val()-jQuery('#number_of_kids').val());
var add1_total=number_of_guests*add1_price;}
else if (add1_computation ==='per_kid')
{var number_of_guests=Number(jQuery('#number_of_kids').val());
var add1_total=number_of_guests*add1_price;}
else {var add1_total=add1_price;}
if (add2_computation ==='number_per_day')
{var add2_total=add2_ordered*window.number_of_nights*add2_price;
}
else if (add2_computation ==='flat')
{var add2_total=add2_price;}
else if (add2_computation ==='number')
{var add2_total=add2_ordered*add2_price;
}
else if (add2_computation ==='per_day')
{var add2_total=window.number_of_nights*add2_price;}
else if (add2_computation ==='per_guest_per_day')
{var number_of_guests=Number(jQuery('#number_of_guests').val());
var add2_total=window.number_of_nights*add2_price*number_of_guests;}
else if (add2_computation ==='per_adult_per_day')
{var number_of_guests=Number(jQuery('#number_of_guests').val()-jQuery('#number_of_kids').val());
var add2_total=window.number_of_nights*add2_price*number_of_guests;}
else if (add2_computation ==='per_kid_per_day')
{var number_of_guests=Number(jQuery('#number_of_kids').val());
var add2_total=window.number_of_nights*add2_price*number_of_guests;}
else if (add2_computation ==='per_guest')
{var number_of_guests=Number(jQuery('#number_of_guests').val());
var add2_total=number_of_guests*add2_price;}
else if (add2_computation ==='per_adult')
{var number_of_guests=Number(jQuery('#number_of_guests').val()-jQuery('#number_of_kids').val());
var add2_total=number_of_guests*add2_price;}
else if (add2_computation ==='per_kid')
{var number_of_guests=Number(jQuery('#number_of_kids').val());
var add2_total=number_of_guests*add2_price;}
else {var add2_total=add2_price;}
var linen_towels_total=linen_towels_price*linen_towels_ordered;
var kids_bed_price=parseFloat(jQuery('#kids_bed_price').html())
var kids_bed_ordered=Number(jQuery('#kids_bed_ordered').val());
var kids_bed_total=kids_bed_price*kids_bed_ordered;
// var voucher_amount=Number(jQuery('#voucher_amount').val())
var voucher_amount=Number(jQuery('#hidden_voucher_price').val())
console.log('voucher amount: '+voucher_amount);
var extra_amount=Number(jQuery('#extra_amount').val())
var kids_chair_price=parseFloat(jQuery('#kids_chair_price').html())
var kids_chair_ordered=Number(jQuery('#kids_chair_ordered').val());
var kids_chair_total=kids_chair_price*kids_chair_ordered;
// var booking_fee=Number(jQuery('#hidden_booking_fee').val());
var extra_amount=Number(jQuery('#extra_amount').val())
var pricelist_booking_fee_price=parseFloat(jQuery('#hidden_booking_fee').val());
console.log('hidden_booking_fee: '+pricelist_booking_fee_price);
// var pricelist_booking_fee_price=parseFloat(jQuery('#booking_fee_price').html());
var pricelist_final_cleaning_price=parseFloat(jQuery('#final_cleaning_price').html());
var accomodation_price=parseFloat(jQuery('#uebernachtungsbetrag').html().replace(',','.'))
console.log('accomodation_price: '+accomodation_price);
if (jQuery('#booking_fee_ordered').is(':checked')){
// if (jQuery("#booking_fee_ordered").prop("checked")){
console.log('booking fee checked');
var booking_fee_price=pricelist_booking_fee_price;
}
else {
var booking_fee_price=0;
console.log('booking fee unchecked');
}
if (jQuery("#final_cleaning_ordered").prop("checked")){
var final_cleaning_price=pricelist_final_cleaning_price;
console.log('cleaning fee checked');
}
else {
var final_cleaning_price=0;
}
var total_total=
( kids_bed_total || 0)
+(accomodation_price || 0)
+(booking_fee_price || 0)
+(kids_chair_total || 0)
+(linen_towels_total || 0)
+(add1_total || 0)
+(add2_total || 0)
+(voucher_amount || 0)
+(extra_amount || 0)
+(final_cleaning_price || 0);
if (linen_towels_total % 1 == 0){jQuery('#linen_towels_total').html(linen_towels_total.toFixed(0)+' '+'€');}
else {jQuery('#linen_towels_total').html(linen_towels_total.toFixed(2)+' '+'€');}
if (add1_total % 1 == 0){jQuery('#add1_total').html(add1_total.toFixed(0)+' '+'€');}
else {jQuery('#add1_total').html(add1_total.toFixed(2)+' '+'€');}
if (add2_total % 1 == 0){jQuery('#add2_total').html(add2_total.toFixed(0)+' '+'€');}
else {jQuery('#add2_total').html(add2_total.toFixed(2)+' '+'€');}
if (kids_chair_total % 1 == 0){jQuery('#kids_chair_total').html(kids_chair_total.toFixed(0)+' '+'€');}
else {jQuery('#kids_chair_total').html(kids_chair_total.toFixed(2)+' '+'€');}
if (kids_bed_total % 1 == 0){jQuery('#kids_bed_total').html(kids_bed_total.toFixed(0)+' '+'€');}
else {jQuery('#kids_bed_total').html(kids_bed_total.toFixed(2)+' '+'€');}
if (total_total % 1 == 0){jQuery('#total_total').html(total_total.toFixed(0)+' '+'€');}
else {jQuery('#total_total').html(total_total.toFixed(2)+' '+'€');}
jQuery('#booking_fee_total').html(booking_fee_price+' '+'€');
jQuery('#final_cleaning_total').html(final_cleaning_price+' '+'€');
jQuery('#total_amount').val(total_total);
};
function apply_voucher()
{
var waitImage = document.getElementById('waitImage');
waitImage.style.visibility = 'display';
var fewo_key=document.getElementById('object_id').value;
var voucher_id=jQuery('#voucher_id').val();
if (voucher_id == '') {
jQuery('#voucher_price').val('');
jQuery('#voucher_price').html('');
jQuery('#hidden_voucher_price').val(0);
jQuery('#hidden_voucher_text').val('');
jQuery('#voucher_text').html('');
calculate_complete_form2();
}
else {
var accomodation_price=parseFloat(document.getElementById('accomodation_price').value);
var formcontent=jQuery('#guest_booking').serialize();
console.log('formcontent in apply_voucher: '+formcontent);
jQuery.ajax(backendHostUrl+'/public_serve_json',{
dataType: "json",
method: 'POST',
data: JSON.stringify({'function':'voucherContent',
'fewo_key':fewo_key,
'voucher_id':voucher_id,
'accomodation_price': accomodation_price,
'formcontent': formcontent
}),
contentType : 'application/json'
}).done(
function(result){
if (result.code=='valid') {
jQuery('#voucher_text').html(result.text);
jQuery('#hidden_voucher_text').html(result.text);
jQuery('#voucher_price').html(result.price.toFixed(0)+ ' '+window.currency);
jQuery('#hidden_voucher_price').val(result.price.toFixed(0));
calculate_complete_form2();
}
else {
try {
var voucher_text=eval(javascript_literals[result.code]);
} catch (e) {
var voucher_text=javascript_literals[result.code];
}
console.log('voucher_text: '+voucher_text);
jQuery('#voucher_text').html(voucher_text);
jQuery('#voucher_price').val('');
jQuery('#voucher_price').html('');
jQuery('#hidden_voucher_price').val(0);
calculate_complete_form2();
}
waitImage.style.visibility = 'hidden';
});
}
}
// if (! document.getElementById("popupcontent")){
// alert('popupcontent does not exist');
// jQuery('body').append("");
// }
// else {
// alert('popupcontent exists');
// }
var create_buttons_and_legend = function(){
jQuery( document ).ready(function() {
jQuery( "#moreBookingsCal" ).addClass( "datepicker-center");
jQuery( "#moreBookingsCal" ).wrapAll( "
");
jQuery('body').append("");
jQuery('body').append("");
jQuery( " " ).insertAfter( "#moreBookingsCal" );
jQuery( " ").insertAfter('#moreBookingsCal');
jQuery( " \
\
\
gratis/disponible \
\
Llegada \
\
Ocupado \
\
Salida/libre \
\
\
\
\
\
\
de 75 € por noche\
\
\
\
\
").insertAfter('#moreBookingsCal');
jQuery('head').append(' ');
jQuery('head').append(' ');
// I am trying to find out if the bootstrap css is already loaded. If not, I will load it.
var load_bootstrap = true;
for (var i = 0; i < document.styleSheets.length; i++) {
if (document.styleSheets[i].href && document.styleSheets[i].href.match("bootstrap")) {
load_bootstrap = false;
}
}
if (load_bootstrap) {
jQuery('head').append(' ');
}
});
}
var functions_depending_on_jquery = function()
{
jQuery( document ).ready(function() {
create_buttons_and_legend();
// insert jquery-ui only when it is not already loaded in order to avoid conflicts
if (typeof jQuery.ui == 'undefined' || typeof jQuery.ui.datepicker == 'undefined'){
console.log('jquery-ui datepicker or whole library does not exist, need to load it');
jQuery.getScript("https://ajax.googleapis.com/ajax/libs/jqueryui/1.14.1/jquery-ui.min.js").done( function(){
console.log('jquery-ui loaded, done invoked');
jQuery.getScript('https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.1/i18n/jquery-ui-i18n.min.js', function() {
console.log('calling init_calendar');
init_calendar();
});
}
)
} // end if jquery-ui does not exist
else
{
console.log('jquery-ui was already loaded on page');
console.log('jQuery.ui.version: '+jQuery.ui.version);
jQuery.getScript('https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.1/i18n/jquery-ui-i18n.min.js').done(function() {
init_calendar();
}); // end getScript
}
}); // end document ready
}; // end functions depending on jquery
/*This is supposed to be jQuery(document).ready in plain javascript*/
function ready(fn) {
if (document.readyState !== 'loading') {
fn();
return;
}
document.addEventListener('DOMContentLoaded', fn);
}
ready(function(){
if (typeof jQuery == 'undefined' || jQuery.fn.jquery < '1.7.0')
{
var script = document.createElement('script');
document.head.appendChild(script);
script.type = "text/javascript";
script.src = "https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js";
script.onload=functions_depending_on_jquery;
console.log('had to load jquery');
}
else
{
console.log('jquery already loaded on original page');
functions_depending_on_jquery();
}
console.log('waited until document loaded and checked for jquery only then...');
}) // end ready
function openInfo(Link, w, h) {
parameters=jQuery('#MoreBookingsPre').serialize();
console.log('Parameters: '+parameters);
wide=parseInt(w);
high=parseInt(h);
var hoehe = screen.availHeight;
var breite = screen.availWidth;
console.log('Breite: '+breite);
var ypos = 100;
high=hoehe-150;
// wide=breite-150;
wide=900;
// if(high+100 > hoehe && hoehe > 300)
// {
// high = hoehe-100;
// ypos = 0;
// }
// name=String("info");
dimension=String("width=" + wide + "," + "height=" + high + "," + "screenX=100" + "," + "screenY=" + ypos + "," + "scrollbars");
info = window.open(Link+'&'+parameters, "New booking" ,dimension);
info.focus();
info.resizeTo(wide,high);
info.moveTo(100,ypos);
}
function openInfo2(Link, w, h) {
parameters=jQuery('#MoreBookingsPre').serialize();
console.log('Parameters: '+parameters);
wide=parseInt(w);
high=parseInt(h);
var hoehe = screen.availHeight;
var breite = screen.availWidth;
console.log('Breite: '+breite);
var ypos = 100;
high=hoehe-150;
wide=900;
dimension=String("width=" + wide + "," + "height=" + high + "," + "screenX=100" + "," + "screenY=" + ypos + "," + "scrollbars");
info = window.open(Link+'&'+parameters, "New booking" ,dimension);
info.focus();
info.resizeTo(wide,high);
info.moveTo(100,ypos);
}
function guest_booking2(myelement, formname){
if (! document.getElementById("popupcontent")){
jQuery('body').append("");
}
var waitImage = document.getElementById('waitImage');
var backendHostUrl = 'https://fewoyieldmgmt.koberer.de/';
waitImage.style.visibility='visible';
var lang=jQuery(myelement).attr('data-lang');
var nom=jQuery(myelement).attr('data-nom');
var dialogue=jQuery(myelement).attr('data-dialogue');
var object_key = jQuery(myelement).attr('data-objectkey');
if (formname){
console.log('formname: '+formname);
var myId='#'+formname;
var myform=jQuery(myId);
var formcontent=myform.serialize();
console.log('myform: '+myform);
console.log('formcontent: '+formcontent);
}
else {
var formcontent='';
var formname='Objekt buchen'
}
var contact_intent = jQuery(myelement).attr('data-contact_intent');
if (contact_intent=='contact_owner'){
// var api_endpoint='http://localhost:8080/public_booking_dialogue?object_id=ag1mZXdveWllbGRtZ210chwLEhFjdXN0b21lcl9wcm9wZXJ0eSIFZGVtbzEM&lang=de&nom=3'
var api_endpoint=backendHostUrl+'/public_contact_owner_dialogue';
var title = 'Contacto arrendador ';
}
else {
var title = 'Información sobre precios ';
var api_endpoint=backendHostUrl+'/public_booking_dialogue';
}
jQuery.ajax(api_endpoint, {
type: 'POST',
data: JSON.stringify({
'object_key':object_key,
'lang':lang,
'nom':nom,
'dialogue':dialogue,
'formcontent':formcontent }),
success: function(data){
jQuery('#popupcontent').html(data);
var wWidth = jQuery(window).width();
var dWidth = wWidth * 0.85;
var wHeight = jQuery(window).height();
var dHeight = wHeight * 0.9;
waitImage.style.visibility='hidden';
var mydialog=jQuery("#popupcontent").dialog({
modal: true,
title: title,
overlay: { opacity: 0.1, background: "black" },
width: dWidth,
height: dHeight,
draggable: true,
resizable: true
});
}
});
}