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[ "de" ] );
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+ ' Nächte in Standard-Saison à ' +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+ ' 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}`;
// 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+' = Preis f. erste Nacht in Saison '+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+ ' Nächte Aufpreis für '+item.surplus_persons+' Person(en) mehr als '+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+ ' Nächte Aufpreis für '+item.surplus_persons+' Jugendliche(en) mehr als '+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='Kurzbucher-Aufschlag für Buchungen unter '+item.short_stay_max+' Tagen. ';
// 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+ ' Nächte '+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='de';
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( 'Maximale Anzahl Gäste ist: '+entry.max_number_of_guests+ ' Sie haben '+entry.requested_number_of_guests+ ' Gäste gewählt. ')
} else if (entry.type=='collision'){
jQuery('#errorlist').append( 'Es gibt eine Überschneidung mit einer anderen Buchung. Bitte wählen Sie andere Daten. ')
} else if (entry.type=='start_day_not_valid'){
jQuery('#errorlist').append( 'Ihr Anreise-Wochentag ist in der Saison '+entry.season_name+' nicht möglich. Bitte wählen Sie einen anderen Tag. ')
} else if (entry.type=='end_day_not_valid'){
jQuery('#errorlist').append( 'Ihr Abreise-Wochentag ist in der Saison '+entry.season_name+' nicht möglich. Bitte wählen Sie einen anderen Tag. ')
} else if (entry.type=='booking_duration_not_valid'){
jQuery('#errorlist').append( 'Leider ist die Buchungsdauer in der Saison '+entry.season_name+' nicht möglich. Ihre Anfrage beträgt '+entry.days_requested+' Nächte. Das Minimum für diese Saison beträgt '+entry.season_min_duration+' Nächte.')
} 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[ "de" ] );
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, "", "frei/verfügbar"];
}
else {
if (ret_object[3]==0){
return [true, ret_object[1], 'frei/verfügbar '+ret_object[2]];
} else{
return [true, ret_object[1], 'Belegt '+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, "", "frei/verfügbar"];
}
else {
if (ret_object[3]=='0'){
return [true, ret_object[1], "frei/verfügbar"+ret_object[2]];
} else {
return [false, ret_object[1], ret_object[2]];
}
}
}
var augmented_calendar={"d20260901": ["d20260901", "season0", "249 \u20ac", 0], "d20260902": ["d20260902", "season0", "249 \u20ac", 0], "d20260903": ["d20260903", "season0", "249 \u20ac", 0], "d20260904": ["d20260904", "season0", "249 \u20ac", 0], "d20260905": ["d20260905", "season0", "249 \u20ac", 0], "d20260906": ["d20260906", "season0arrival", "249 \u20ac", 0], "d20260907": ["d20260907", "occupied", "249 \u20ac", 1], "d20260908": ["d20260908", "occupied", "249 \u20ac", 1], "d20260909": ["d20260909", "occupied", "179 \u20ac", 1], "d20260910": ["d20260910", "occupied", "179 \u20ac", 1], "d20260911": ["d20260911", "occupied", "179 \u20ac", 1], "d20260912": ["d20260912", "occupied", "179 \u20ac", 1], "d20260913": ["d20260913", "occupied", "179 \u20ac", 1], "d20260914": ["d20260914", "occupied", "179 \u20ac", 1], "d20260915": ["d20260915", "occupied", "179 \u20ac", 1], "d20260916": ["d20260916", "occupied", "179 \u20ac", 1], "d20260917": ["d20260917", "occupied", "179 \u20ac", 1], "d20260918": ["d20260918", "occupied", "179 \u20ac", 1], "d20260919": ["d20260919", "occupied", "179 \u20ac", 1], "d20260920": ["d20260920", "season0departure", "179 \u20ac", 0], "d20260921": ["d20260921", "season0arrival", "179 \u20ac", 0], "d20260922": ["d20260922", "occupied", "179 \u20ac", 1], "d20260923": ["d20260923", "occupied", "179 \u20ac", 1], "d20260924": ["d20260924", "occupied", "179 \u20ac", 1], "d20260925": ["d20260925", "occupied", "179 \u20ac", 1], "d20260926": ["d20260926", "occupied", "179 \u20ac", 1], "d20260927": ["d20260927", "occupied", "179 \u20ac", 1], "d20260928": ["d20260928", "occupied", "189 \u20ac", 1], "d20260929": ["d20260929", "season0departure", "189 \u20ac", 0], "d20260930": ["d20260930", "season0", "189 \u20ac", 0], "d20261001": ["d20261001", "season0", "189 \u20ac", 0], "d20261002": ["d20261002", "season0", "189 \u20ac", 0], "d20261003": ["d20261003", "season0", "189 \u20ac", 0], "d20261004": ["d20261004", "season0", "189 \u20ac", 0], "d20261005": ["d20261005", "season0", "189 \u20ac", 0], "d20261006": ["d20261006", "season0", "189 \u20ac", 0], "d20261007": ["d20261007", "season0", "189 \u20ac", 0], "d20261008": ["d20261008", "season0arrival", "189 \u20ac", 0], "d20261009": ["d20261009", "occupied", "189 \u20ac", 1], "d20261010": ["d20261010", "occupied", "189 \u20ac", 1], "d20261011": ["d20261011", "occupied", "189 \u20ac", 1], "d20261012": ["d20261012", "occupied", "189 \u20ac", 1], "d20261013": ["d20261013", "occupied", "189 \u20ac", 1], "d20261014": ["d20261014", "occupied", "189 \u20ac", 1], "d20261015": ["d20261015", "season0departure", "189 \u20ac", 0], "d20261016": ["d20261016", "season0", "189 \u20ac", 0], "d20261017": ["d20261017", "season0", "189 \u20ac", 0], "d20261018": ["d20261018", "season0", "189 \u20ac", 0], "d20261019": ["d20261019", "season0", "189 \u20ac", 0], "d20261020": ["d20261020", "season0", "189 \u20ac", 0], "d20261021": ["d20261021", "season0", "189 \u20ac", 0], "d20261022": ["d20261022", "season0", "189 \u20ac", 0], "d20261023": ["d20261023", "season0", "189 \u20ac", 0], "d20261024": ["d20261024", "season0", "189 \u20ac", 0], "d20261025": ["d20261025", "season0", "189 \u20ac", 0], "d20261026": ["d20261026", "season0", "189 \u20ac", 0], "d20261027": ["d20261027", "season0", "189 \u20ac", 0], "d20261028": ["d20261028", "season0", "189 \u20ac", 0], "d20261029": ["d20261029", "season0", "189 \u20ac", 0], "d20261030": ["d20261030", "season0", "189 \u20ac", 0], "d20261031": ["d20261031", "season0", "189 \u20ac", 0], "d20261101": ["d20261101", "season0", "189 \u20ac", 0], "d20261102": ["d20261102", "season0", "189 \u20ac", 0], "d20261103": ["d20261103", "season0", "119 \u20ac", 0], "d20261104": ["d20261104", "season0", "119 \u20ac", 0], "d20261105": ["d20261105", "season0", "119 \u20ac", 0], "d20261106": ["d20261106", "season0", "119 \u20ac", 0], "d20261107": ["d20261107", "season0", "119 \u20ac", 0], "d20261108": ["d20261108", "season0", "119 \u20ac", 0], "d20261109": ["d20261109", "season0", "119 \u20ac", 0], "d20261110": ["d20261110", "season0", "119 \u20ac", 0], "d20261111": ["d20261111", "season0", "119 \u20ac", 0], "d20261112": ["d20261112", "season0", "119 \u20ac", 0], "d20261113": ["d20261113", "season0", "119 \u20ac", 0], "d20261114": ["d20261114", "season0", "119 \u20ac", 0], "d20261115": ["d20261115", "season0", "119 \u20ac", 0], "d20261116": ["d20261116", "season0", "119 \u20ac", 0], "d20261117": ["d20261117", "season0", "119 \u20ac", 0], "d20261118": ["d20261118", "season0", "119 \u20ac", 0], "d20261119": ["d20261119", "season0", "119 \u20ac", 0], "d20261120": ["d20261120", "season0", "119 \u20ac", 0], "d20261121": ["d20261121", "season0", "119 \u20ac", 0], "d20261122": ["d20261122", "season0", "119 \u20ac", 0], "d20261123": ["d20261123", "season0", "119 \u20ac", 0], "d20261124": ["d20261124", "season0", "119 \u20ac", 0], "d20261125": ["d20261125", "season0", "119 \u20ac", 0], "d20261126": ["d20261126", "season0", "119 \u20ac", 0], "d20261127": ["d20261127", "season0", "119 \u20ac", 0], "d20261128": ["d20261128", "season0", "119 \u20ac", 0], "d20261129": ["d20261129", "season0", "119 \u20ac", 0], "d20261130": ["d20261130", "season0", "119 \u20ac", 0], "d20261201": ["d20261201", "season0", "119 \u20ac", 0], "d20261202": ["d20261202", "season0", "119 \u20ac", 0], "d20261203": ["d20261203", "season0", "119 \u20ac", 0], "d20261204": ["d20261204", "season0", "119 \u20ac", 0], "d20261205": ["d20261205", "season0", "119 \u20ac", 0], "d20261206": ["d20261206", "season0", "119 \u20ac", 0], "d20261207": ["d20261207", "season0", "119 \u20ac", 0], "d20261208": ["d20261208", "season0", "119 \u20ac", 0], "d20261209": ["d20261209", "season0", "119 \u20ac", 0], "d20261210": ["d20261210", "season0", "119 \u20ac", 0], "d20261211": ["d20261211", "season0", "119 \u20ac", 0], "d20261212": ["d20261212", "season0", "119 \u20ac", 0], "d20261213": ["d20261213", "season0", "119 \u20ac", 0], "d20261214": ["d20261214", "season0", "119 \u20ac", 0], "d20261215": ["d20261215", "season0", "119 \u20ac", 0], "d20261216": ["d20261216", "season0", "119 \u20ac", 0], "d20261217": ["d20261217", "season0", "119 \u20ac", 0], "d20261218": ["d20261218", "season0", "119 \u20ac", 0], "d20261219": ["d20261219", "season0", "119 \u20ac", 0], "d20261220": ["d20261220", "season0", "119 \u20ac", 0], "d20261221": ["d20261221", "season0", "119 \u20ac", 0], "d20261222": ["d20261222", "season0", "219 \u20ac", 0], "d20261223": ["d20261223", "season0", "219 \u20ac", 0], "d20261224": ["d20261224", "season0", "219 \u20ac", 0], "d20261225": ["d20261225", "season0", "219 \u20ac", 0], "d20261226": ["d20261226", "season0", "219 \u20ac", 0], "d20261227": ["d20261227", "season0", "219 \u20ac", 0], "d20261228": ["d20261228", "season0", "259 \u20ac", 0], "d20261229": ["d20261229", "season0", "259 \u20ac", 0], "d20261230": ["d20261230", "season0", "259 \u20ac", 0], "d20261231": ["d20261231", "season0", "259 \u20ac", 0], "d20270101": ["d20270101", "season0", "259 \u20ac", 0], "d20270102": ["d20270102", "season0", "259 \u20ac", 0], "d20270103": ["d20270103", "season0", "259 \u20ac", 0], "d20270104": ["d20270104", "season0", "259 \u20ac", 0], "d20270105": ["d20270105", "season0", "119 \u20ac", 0], "d20270106": ["d20270106", "season0", "119 \u20ac", 0], "d20270107": ["d20270107", "season0", "119 \u20ac", 0], "d20270108": ["d20270108", "season0", "119 \u20ac", 0], "d20270109": ["d20270109", "season0", "119 \u20ac", 0], "d20270110": ["d20270110", "season0", "119 \u20ac", 0], "d20270111": ["d20270111", "season0", "119 \u20ac", 0], "d20270112": ["d20270112", "season0", "119 \u20ac", 0], "d20270113": ["d20270113", "season0", "119 \u20ac", 0], "d20270114": ["d20270114", "season0", "119 \u20ac", 0], "d20270115": ["d20270115", "season0", "119 \u20ac", 0], "d20270116": ["d20270116", "season0", "119 \u20ac", 0], "d20270117": ["d20270117", "season0", "119 \u20ac", 0], "d20270118": ["d20270118", "season0", "119 \u20ac", 0], "d20270119": ["d20270119", "season0", "119 \u20ac", 0], "d20270120": ["d20270120", "season0", "119 \u20ac", 0], "d20270121": ["d20270121", "season0", "119 \u20ac", 0], "d20270122": ["d20270122", "season0", "119 \u20ac", 0], "d20270123": ["d20270123", "season0", "119 \u20ac", 0], "d20270124": ["d20270124", "season0", "119 \u20ac", 0], "d20270125": ["d20270125", "season0", "119 \u20ac", 0], "d20270126": ["d20270126", "season0", "119 \u20ac", 0], "d20270127": ["d20270127", "season0", "119 \u20ac", 0], "d20270128": ["d20270128", "season0", "119 \u20ac", 0], "d20270129": ["d20270129", "season0", "119 \u20ac", 0], "d20270130": ["d20270130", "season0", "119 \u20ac", 0], "d20270131": ["d20270131", "season0", "119 \u20ac", 0], "d20270201": ["d20270201", "season0", "119 \u20ac", 0], "d20270202": ["d20270202", "season0", "119 \u20ac", 0], "d20270203": ["d20270203", "season0", "119 \u20ac", 0], "d20270204": ["d20270204", "season0", "119 \u20ac", 0], "d20270205": ["d20270205", "season0", "119 \u20ac", 0], "d20270206": ["d20270206", "season0", "119 \u20ac", 0], "d20270207": ["d20270207", "season0", "119 \u20ac", 0], "d20270208": ["d20270208", "season0", "119 \u20ac", 0], "d20270209": ["d20270209", "season0", "119 \u20ac", 0], "d20270210": ["d20270210", "season0", "119 \u20ac", 0], "d20270211": ["d20270211", "season0", "119 \u20ac", 0], "d20270212": ["d20270212", "season0", "119 \u20ac", 0], "d20270213": ["d20270213", "season0", "119 \u20ac", 0], "d20270214": ["d20270214", "season0", "119 \u20ac", 0], "d20270215": ["d20270215", "season0", "119 \u20ac", 0], "d20270216": ["d20270216", "season0", "119 \u20ac", 0], "d20270217": ["d20270217", "season0", "119 \u20ac", 0], "d20270218": ["d20270218", "season0", "119 \u20ac", 0], "d20270219": ["d20270219", "season0", "119 \u20ac", 0], "d20270220": ["d20270220", "season0", "119 \u20ac", 0], "d20270221": ["d20270221", "season0", "119 \u20ac", 0], "d20270222": ["d20270222", "season0", "119 \u20ac", 0], "d20270223": ["d20270223", "season0", "119 \u20ac", 0], "d20270224": ["d20270224", "season0", "119 \u20ac", 0], "d20270225": ["d20270225", "season0", "119 \u20ac", 0], "d20270226": ["d20270226", "season0", "119 \u20ac", 0], "d20270227": ["d20270227", "season0", "119 \u20ac", 0], "d20270228": ["d20270228", "season0", "119 \u20ac", 0], "d20270301": ["d20270301", "season0", "119 \u20ac", 0], "d20270302": ["d20270302", "season0", "119 \u20ac", 0], "d20270303": ["d20270303", "season0", "119 \u20ac", 0], "d20270304": ["d20270304", "season0", "119 \u20ac", 0], "d20270305": ["d20270305", "season0", "119 \u20ac", 0], "d20270306": ["d20270306", "season0", "119 \u20ac", 0], "d20270307": ["d20270307", "season0", "119 \u20ac", 0], "d20270308": ["d20270308", "season0", "119 \u20ac", 0], "d20270309": ["d20270309", "season0", "119 \u20ac", 0], "d20270310": ["d20270310", "season0", "119 \u20ac", 0], "d20270311": ["d20270311", "season0", "119 \u20ac", 0], "d20270312": ["d20270312", "season0", "119 \u20ac", 0], "d20270313": ["d20270313", "season0", "119 \u20ac", 0], "d20270314": ["d20270314", "season0", "119 \u20ac", 0], "d20270315": ["d20270315", "season0", "119 \u20ac", 0], "d20270316": ["d20270316", "season0", "119 \u20ac", 0], "d20270317": ["d20270317", "season0", "119 \u20ac", 0], "d20270318": ["d20270318", "season0", "119 \u20ac", 0], "d20270319": ["d20270319", "season0arrival", "119 \u20ac", 0], "d20270320": ["d20270320", "occupied", "119 \u20ac", 1], "d20270321": ["d20270321", "season0departure", "189 \u20ac", 0], "d20270322": ["d20270322", "season0", "189 \u20ac", 0], "d20270323": ["d20270323", "season0", "189 \u20ac", 0], "d20270324": ["d20270324", "season0", "189 \u20ac", 0], "d20270325": ["d20270325", "season0", "189 \u20ac", 0], "d20270326": ["d20270326", "season0", "189 \u20ac", 0], "d20270327": ["d20270327", "season0", "189 \u20ac", 0], "d20270328": ["d20270328", "season0", "189 \u20ac", 0], "d20270329": ["d20270329", "season0", "189 \u20ac", 0], "d20270330": ["d20270330", "season0", "189 \u20ac", 0], "d20270331": ["d20270331", "season0", "189 \u20ac", 0], "d20270401": ["d20270401", "season0", "189 \u20ac", 0], "d20270402": ["d20270402", "season0", "189 \u20ac", 0], "d20270403": ["d20270403", "season0", "189 \u20ac", 0], "d20270404": ["d20270404", "season0", "129 \u20ac", 0], "d20270405": ["d20270405", "season0", "129 \u20ac", 0], "d20270406": ["d20270406", "season0", "129 \u20ac", 0], "d20270407": ["d20270407", "season0", "129 \u20ac", 0], "d20270408": ["d20270408", "season0", "129 \u20ac", 0], "d20270409": ["d20270409", "season0", "129 \u20ac", 0], "d20270410": ["d20270410", "season0", "129 \u20ac", 0], "d20270411": ["d20270411", "season0", "129 \u20ac", 0], "d20270412": ["d20270412", "season0", "129 \u20ac", 0], "d20270413": ["d20270413", "season0", "129 \u20ac", 0], "d20270414": ["d20270414", "season0", "129 \u20ac", 0], "d20270415": ["d20270415", "season0", "129 \u20ac", 0], "d20270416": ["d20270416", "season0", "129 \u20ac", 0], "d20270417": ["d20270417", "season0", "129 \u20ac", 0], "d20270418": ["d20270418", "season0", "129 \u20ac", 0], "d20270419": ["d20270419", "season0", "129 \u20ac", 0], "d20270420": ["d20270420", "season0", "129 \u20ac", 0], "d20270421": ["d20270421", "season0", "129 \u20ac", 0], "d20270422": ["d20270422", "season0", "129 \u20ac", 0], "d20270423": ["d20270423", "season0", "129 \u20ac", 0], "d20270424": ["d20270424", "season0", "129 \u20ac", 0], "d20270425": ["d20270425", "season0", "129 \u20ac", 0], "d20270426": ["d20270426", "season0", "129 \u20ac", 0], "d20270427": ["d20270427", "season0", "129 \u20ac", 0], "d20270428": ["d20270428", "season0", "129 \u20ac", 0], "d20270429": ["d20270429", "season0", "129 \u20ac", 0], "d20270430": ["d20270430", "season0", "129 \u20ac", 0], "d20270501": ["d20270501", "season0", "129 \u20ac", 0], "d20270502": ["d20270502", "season0", "129 \u20ac", 0], "d20270503": ["d20270503", "season0", "129 \u20ac", 0], "d20270504": ["d20270504", "season0", "129 \u20ac", 0], "d20270505": ["d20270505", "season0", "129 \u20ac", 0], "d20270506": ["d20270506", "season0", "129 \u20ac", 0], "d20270507": ["d20270507", "season0", "129 \u20ac", 0], "d20270508": ["d20270508", "season0", "189 \u20ac", 0], "d20270509": ["d20270509", "season0", "189 \u20ac", 0], "d20270510": ["d20270510", "season0", "189 \u20ac", 0], "d20270511": ["d20270511", "season0", "189 \u20ac", 0], "d20270512": ["d20270512", "season0", "189 \u20ac", 0], "d20270513": ["d20270513", "season0", "189 \u20ac", 0], "d20270514": ["d20270514", "season0", "189 \u20ac", 0], "d20270515": ["d20270515", "season0", "189 \u20ac", 0], "d20270516": ["d20270516", "season0", "189 \u20ac", 0], "d20270517": ["d20270517", "season0", "189 \u20ac", 0], "d20270518": ["d20270518", "season0", "189 \u20ac", 0], "d20270519": ["d20270519", "season0", "189 \u20ac", 0], "d20270520": ["d20270520", "season0", "189 \u20ac", 0], "d20270521": ["d20270521", "season0", "189 \u20ac", 0], "d20270522": ["d20270522", "season0", "189 \u20ac", 0], "d20270523": ["d20270523", "season0", "189 \u20ac", 0], "d20270524": ["d20270524", "season0", "189 \u20ac", 0], "d20270525": ["d20270525", "season0", "189 \u20ac", 0], "d20270526": ["d20270526", "season0", "189 \u20ac", 0], "d20270527": ["d20270527", "season0", "189 \u20ac", 0], "d20270528": ["d20270528", "season0", "189 \u20ac", 0], "d20270529": ["d20270529", "season0", "189 \u20ac", 0], "d20270530": ["d20270530", "season0", "189 \u20ac", 0], "d20270531": ["d20270531", "season0", "189 \u20ac", 0], "d20270601": ["d20270601", "season0", "189 \u20ac", 0], "d20270602": ["d20270602", "season0", "189 \u20ac", 0], "d20270603": ["d20270603", "season0", "189 \u20ac", 0], "d20270604": ["d20270604", "season0", "189 \u20ac", 0], "d20270605": ["d20270605", "season0", "189 \u20ac", 0], "d20270606": ["d20270606", "season0", "189 \u20ac", 0], "d20270607": ["d20270607", "season0", "189 \u20ac", 0], "d20270608": ["d20270608", "season0", "189 \u20ac", 0], "d20270609": ["d20270609", "season0", "189 \u20ac", 0], "d20270610": ["d20270610", "season0", "189 \u20ac", 0], "d20270611": ["d20270611", "season0", "189 \u20ac", 0], "d20270612": ["d20270612", "season0", "189 \u20ac", 0], "d20270613": ["d20270613", "season0", "189 \u20ac", 0], "d20270614": ["d20270614", "season0", "189 \u20ac", 0], "d20270615": ["d20270615", "season0", "189 \u20ac", 0], "d20270616": ["d20270616", "season0", "189 \u20ac", 0], "d20270617": ["d20270617", "season0", "189 \u20ac", 0], "d20270618": ["d20270618", "season0", "189 \u20ac", 0], "d20270619": ["d20270619", "season0", "189 \u20ac", 0], "d20270620": ["d20270620", "season0", "249 \u20ac", 0], "d20270621": ["d20270621", "season0", "249 \u20ac", 0], "d20270622": ["d20270622", "season0", "249 \u20ac", 0], "d20270623": ["d20270623", "season0", "249 \u20ac", 0], "d20270624": ["d20270624", "season0", "249 \u20ac", 0], "d20270625": ["d20270625", "season0", "249 \u20ac", 0], "d20270626": ["d20270626", "season0", "249 \u20ac", 0], "d20270627": ["d20270627", "season0", "249 \u20ac", 0], "d20270628": ["d20270628", "season0", "249 \u20ac", 0], "d20270629": ["d20270629", "season0", "249 \u20ac", 0], "d20270630": ["d20270630", "season0", "249 \u20ac", 0], "d20270701": ["d20270701", "season0", "249 \u20ac", 0], "d20270702": ["d20270702", "season0", "249 \u20ac", 0], "d20270703": ["d20270703", "season0", "249 \u20ac", 0], "d20270704": ["d20270704", "season0", "249 \u20ac", 0], "d20270705": ["d20270705", "season0", "249 \u20ac", 0], "d20270706": ["d20270706", "season0", "259 \u20ac", 0], "d20270707": ["d20270707", "season0", "259 \u20ac", 0], "d20270708": ["d20270708", "season0", "259 \u20ac", 0], "d20270709": ["d20270709", "season0", "259 \u20ac", 0], "d20270710": ["d20270710", "season0", "259 \u20ac", 0], "d20270711": ["d20270711", "season0", "259 \u20ac", 0], "d20270712": ["d20270712", "season0", "259 \u20ac", 0], "d20270713": ["d20270713", "season0", "259 \u20ac", 0], "d20270714": ["d20270714", "season0", "259 \u20ac", 0], "d20270715": ["d20270715", "season0", "259 \u20ac", 0], "d20270716": ["d20270716", "season0", "259 \u20ac", 0], "d20270717": ["d20270717", "season0", "259 \u20ac", 0], "d20270718": ["d20270718", "season0", "259 \u20ac", 0], "d20270719": ["d20270719", "season0", "259 \u20ac", 0], "d20270720": ["d20270720", "season0", "259 \u20ac", 0], "d20270721": ["d20270721", "season0", "259 \u20ac", 0], "d20270722": ["d20270722", "season0", "259 \u20ac", 0], "d20270723": ["d20270723", "season0", "259 \u20ac", 0], "d20270724": ["d20270724", "season0", "259 \u20ac", 0], "d20270725": ["d20270725", "season0", "259 \u20ac", 0], "d20270726": ["d20270726", "season0", "259 \u20ac", 0], "d20270727": ["d20270727", "season0", "259 \u20ac", 0], "d20270728": ["d20270728", "season0", "259 \u20ac", 0], "d20270729": ["d20270729", "season0", "259 \u20ac", 0], "d20270730": ["d20270730", "season0", "259 \u20ac", 0], "d20270731": ["d20270731", "season0", "259 \u20ac", 0], "d20270801": ["d20270801", "season0", "259 \u20ac", 0], "d20270802": ["d20270802", "season0", "259 \u20ac", 0], "d20270803": ["d20270803", "season0", "259 \u20ac", 0], "d20270804": ["d20270804", "season0", "259 \u20ac", 0], "d20270805": ["d20270805", "season0", "259 \u20ac", 0], "d20270806": ["d20270806", "season0", "259 \u20ac", 0], "d20270807": ["d20270807", "season0", "259 \u20ac", 0], "d20270808": ["d20270808", "season0", "259 \u20ac", 0], "d20270809": ["d20270809", "season0", "259 \u20ac", 0], "d20270810": ["d20270810", "season0", "259 \u20ac", 0], "d20270811": ["d20270811", "season0", "259 \u20ac", 0], "d20270812": ["d20270812", "season0", "259 \u20ac", 0], "d20270813": ["d20270813", "season0", "259 \u20ac", 0], "d20270814": ["d20270814", "season0", "259 \u20ac", 0], "d20270815": ["d20270815", "season0", "259 \u20ac", 0], "d20270816": ["d20270816", "season0", "259 \u20ac", 0], "d20270817": ["d20270817", "season0", "259 \u20ac", 0], "d20270818": ["d20270818", "season0", "259 \u20ac", 0], "d20270819": ["d20270819", "season0", "259 \u20ac", 0], "d20270820": ["d20270820", "season0", "259 \u20ac", 0], "d20270821": ["d20270821", "season0", "259 \u20ac", 0], "d20270822": ["d20270822", "season0", "259 \u20ac", 0], "d20270823": ["d20270823", "season0", "259 \u20ac", 0], "d20270824": ["d20270824", "season0", "259 \u20ac", 0], "d20270825": ["d20270825", "season0", "259 \u20ac", 0], "d20270826": ["d20270826", "season0", "259 \u20ac", 0], "d20270827": ["d20270827", "season0", "259 \u20ac", 0], "d20270828": ["d20270828", "season0", "259 \u20ac", 0], "d20270829": ["d20270829", "season0", "259 \u20ac", 0], "d20270830": ["d20270830", "season0", "259 \u20ac", 0], "d20270831": ["d20270831", "season0", "259 \u20ac", 0], "d20270901": ["d20270901", "season0", "249 \u20ac", 0], "d20270902": ["d20270902", "season0", "249 \u20ac", 0], "d20270903": ["d20270903", "season0", "249 \u20ac", 0], "d20270904": ["d20270904", "season0", "249 \u20ac", 0], "d20270905": ["d20270905", "season0", "249 \u20ac", 0], "d20270906": ["d20270906", "season0", "249 \u20ac", 0], "d20270907": ["d20270907", "season0", "249 \u20ac", 0], "d20270908": ["d20270908", "season0", "249 \u20ac", 0], "d20270909": ["d20270909", "season0", "179 \u20ac", 0], "d20270910": ["d20270910", "season0", "179 \u20ac", 0], "d20270911": ["d20270911", "season0", "179 \u20ac", 0], "d20270912": ["d20270912", "season0", "179 \u20ac", 0], "d20270913": ["d20270913", "season0", "179 \u20ac", 0], "d20270914": ["d20270914", "season0", "179 \u20ac", 0], "d20270915": ["d20270915", "season0", "179 \u20ac", 0], "d20270916": ["d20270916", "season0", "179 \u20ac", 0], "d20270917": ["d20270917", "season0", "179 \u20ac", 0], "d20270918": ["d20270918", "season0", "179 \u20ac", 0], "d20270919": ["d20270919", "season0", "179 \u20ac", 0], "d20270920": ["d20270920", "season0", "179 \u20ac", 0], "d20270921": ["d20270921", "season0", "179 \u20ac", 0], "d20270922": ["d20270922", "season0", "179 \u20ac", 0], "d20270923": ["d20270923", "season0", "179 \u20ac", 0], "d20270924": ["d20270924", "season0", "179 \u20ac", 0], "d20270925": ["d20270925", "season0", "179 \u20ac", 0], "d20270926": ["d20270926", "season0", "179 \u20ac", 0], "d20270927": ["d20270927", "season0", "179 \u20ac", 0], "d20270928": ["d20270928", "season0", "189 \u20ac", 0], "d20270929": ["d20270929", "season0", "189 \u20ac", 0], "d20270930": ["d20270930", "season0", "189 \u20ac", 0], "d20271001": ["d20271001", "season0", "189 \u20ac", 0], "d20271002": ["d20271002", "season0", "189 \u20ac", 0], "d20271003": ["d20271003", "season0", "189 \u20ac", 0], "d20271004": ["d20271004", "season0", "189 \u20ac", 0], "d20271005": ["d20271005", "season0", "189 \u20ac", 0], "d20271006": ["d20271006", "season0", "189 \u20ac", 0], "d20271007": ["d20271007", "season0", "189 \u20ac", 0], "d20271008": ["d20271008", "season0", "189 \u20ac", 0], "d20271009": ["d20271009", "season0", "189 \u20ac", 0], "d20271010": ["d20271010", "season0", "189 \u20ac", 0], "d20271011": ["d20271011", "season0", "189 \u20ac", 0], "d20271012": ["d20271012", "season0", "189 \u20ac", 0], "d20271013": ["d20271013", "season0", "189 \u20ac", 0], "d20271014": ["d20271014", "season0", "189 \u20ac", 0], "d20271015": ["d20271015", "season0", "189 \u20ac", 0], "d20271016": ["d20271016", "season0", "189 \u20ac", 0], "d20271017": ["d20271017", "season0", "189 \u20ac", 0], "d20271018": ["d20271018", "season0", "189 \u20ac", 0], "d20271019": ["d20271019", "season0", "189 \u20ac", 0], "d20271020": ["d20271020", "season0", "189 \u20ac", 0], "d20271021": ["d20271021", "season0", "189 \u20ac", 0], "d20271022": ["d20271022", "season0", "189 \u20ac", 0], "d20271023": ["d20271023", "season0", "189 \u20ac", 0], "d20271024": ["d20271024", "season0", "189 \u20ac", 0], "d20271025": ["d20271025", "season0", "189 \u20ac", 0], "d20271026": ["d20271026", "season0", "189 \u20ac", 0], "d20271027": ["d20271027", "season0", "189 \u20ac", 0], "d20271028": ["d20271028", "season0", "189 \u20ac", 0], "d20271029": ["d20271029", "season0", "189 \u20ac", 0], "d20271030": ["d20271030", "season0", "189 \u20ac", 0], "d20271031": ["d20271031", "season0", "189 \u20ac", 0], "d20271101": ["d20271101", "season0", "189 \u20ac", 0], "d20271102": ["d20271102", "season0", "189 \u20ac", 0], "d20271103": ["d20271103", "season0", "119 \u20ac", 0], "d20271104": ["d20271104", "season0", "119 \u20ac", 0], "d20271105": ["d20271105", "season0", "119 \u20ac", 0], "d20271106": ["d20271106", "season0", "119 \u20ac", 0], "d20271107": ["d20271107", "season0", "119 \u20ac", 0], "d20271108": ["d20271108", "season0", "119 \u20ac", 0], "d20271109": ["d20271109", "season0", "119 \u20ac", 0], "d20271110": ["d20271110", "season0", "119 \u20ac", 0], "d20271111": ["d20271111", "season0", "119 \u20ac", 0], "d20271112": ["d20271112", "season0", "119 \u20ac", 0], "d20271113": ["d20271113", "season0", "119 \u20ac", 0], "d20271114": ["d20271114", "season0", "119 \u20ac", 0], "d20271115": ["d20271115", "season0", "119 \u20ac", 0], "d20271116": ["d20271116", "season0", "119 \u20ac", 0], "d20271117": ["d20271117", "season0", "119 \u20ac", 0], "d20271118": ["d20271118", "season0", "119 \u20ac", 0], "d20271119": ["d20271119", "season0", "119 \u20ac", 0], "d20271120": ["d20271120", "season0", "119 \u20ac", 0], "d20271121": ["d20271121", "season0", "119 \u20ac", 0], "d20271122": ["d20271122", "season0", "119 \u20ac", 0], "d20271123": ["d20271123", "season0", "119 \u20ac", 0], "d20271124": ["d20271124", "season0", "119 \u20ac", 0], "d20271125": ["d20271125", "season0", "119 \u20ac", 0], "d20271126": ["d20271126", "season0", "119 \u20ac", 0], "d20271127": ["d20271127", "season0", "119 \u20ac", 0], "d20271128": ["d20271128", "season0", "119 \u20ac", 0], "d20271129": ["d20271129", "season0", "119 \u20ac", 0], "d20271130": ["d20271130", "season0", "119 \u20ac", 0], "d20271201": ["d20271201", "season0", "119 \u20ac", 0], "d20271202": ["d20271202", "season0", "119 \u20ac", 0], "d20271203": ["d20271203", "season0", "119 \u20ac", 0], "d20271204": ["d20271204", "season0", "119 \u20ac", 0], "d20271205": ["d20271205", "season0", "119 \u20ac", 0], "d20271206": ["d20271206", "season0", "119 \u20ac", 0], "d20271207": ["d20271207", "season0", "119 \u20ac", 0], "d20271208": ["d20271208", "season0", "119 \u20ac", 0], "d20271209": ["d20271209", "season0", "119 \u20ac", 0], "d20271210": ["d20271210", "season0", "119 \u20ac", 0], "d20271211": ["d20271211", "season0", "119 \u20ac", 0], "d20271212": ["d20271212", "season0", "119 \u20ac", 0], "d20271213": ["d20271213", "season0", "119 \u20ac", 0], "d20271214": ["d20271214", "season0", "119 \u20ac", 0], "d20271215": ["d20271215", "season0", "119 \u20ac", 0], "d20271216": ["d20271216", "season0", "119 \u20ac", 0], "d20271217": ["d20271217", "season0", "119 \u20ac", 0], "d20271218": ["d20271218", "season0", "119 \u20ac", 0], "d20271219": ["d20271219", "season0", "119 \u20ac", 0], "d20271220": ["d20271220", "season0", "119 \u20ac", 0], "d20271221": ["d20271221", "season0", "119 \u20ac", 0], "d20271222": ["d20271222", "season0", "219 \u20ac", 0], "d20271223": ["d20271223", "season0", "219 \u20ac", 0], "d20271224": ["d20271224", "season0", "219 \u20ac", 0], "d20271225": ["d20271225", "season0", "219 \u20ac", 0], "d20271226": ["d20271226", "season0", "219 \u20ac", 0], "d20271227": ["d20271227", "season0", "219 \u20ac", 0], "d20271228": ["d20271228", "season0", "259 \u20ac", 0], "d20271229": ["d20271229", "season0", "259 \u20ac", 0], "d20271230": ["d20271230", "season0", "259 \u20ac", 0], "d20271231": ["d20271231", "season0", "259 \u20ac", 0], "d20280101": ["d20280101", "season0", "259 \u20ac", 0], "d20280102": ["d20280102", "season0", "259 \u20ac", 0], "d20280103": ["d20280103", "season0", "259 \u20ac", 0], "d20280104": ["d20280104", "season0", "259 \u20ac", 0], "d20280105": ["d20280105", "season0", "119 \u20ac ", 0], "d20280106": ["d20280106", "season0", "119 \u20ac ", 0], "d20280107": ["d20280107", "season0", "119 \u20ac ", 0], "d20280108": ["d20280108", "season0", "119 \u20ac ", 0], "d20280109": ["d20280109", "season0", "119 \u20ac ", 0], "d20280110": ["d20280110", "season0", "119 \u20ac ", 0], "d20280111": ["d20280111", "season0", "119 \u20ac ", 0], "d20280112": ["d20280112", "season0", "119 \u20ac ", 0], "d20280113": ["d20280113", "season0", "119 \u20ac ", 0], "d20280114": ["d20280114", "season0", "119 \u20ac ", 0], "d20280115": ["d20280115", "season0", "119 \u20ac ", 0], "d20280116": ["d20280116", "season0", "119 \u20ac ", 0], "d20280117": ["d20280117", "season0", "119 \u20ac ", 0], "d20280118": ["d20280118", "season0", "119 \u20ac ", 0], "d20280119": ["d20280119", "season0", "119 \u20ac ", 0], "d20280120": ["d20280120", "season0", "119 \u20ac ", 0], "d20280121": ["d20280121", "season0", "119 \u20ac ", 0], "d20280122": ["d20280122", "season0", "119 \u20ac ", 0], "d20280123": ["d20280123", "season0", "119 \u20ac ", 0], "d20280124": ["d20280124", "season0", "119 \u20ac ", 0], "d20280125": ["d20280125", "season0", "119 \u20ac ", 0], "d20280126": ["d20280126", "season0", "119 \u20ac ", 0], "d20280127": ["d20280127", "season0", "119 \u20ac ", 0], "d20280128": ["d20280128", "season0", "119 \u20ac ", 0], "d20280129": ["d20280129", "season0", "119 \u20ac ", 0], "d20280130": ["d20280130", "season0", "119 \u20ac ", 0], "d20280131": ["d20280131", "season0", "119 \u20ac ", 0], "d20280201": ["d20280201", "season0", "119 \u20ac ", 0], "d20280202": ["d20280202", "season0", "119 \u20ac ", 0], "d20280203": ["d20280203", "season0", "119 \u20ac ", 0], "d20280204": ["d20280204", "season0", "119 \u20ac ", 0], "d20280205": ["d20280205", "season0", "119 \u20ac ", 0], "d20280206": ["d20280206", "season0", "119 \u20ac ", 0], "d20280207": ["d20280207", "season0", "119 \u20ac ", 0], "d20280208": ["d20280208", "season0", "119 \u20ac ", 0], "d20280209": ["d20280209", "season0", "119 \u20ac ", 0], "d20280210": ["d20280210", "season0", "119 \u20ac ", 0], "d20280211": ["d20280211", "season0", "119 \u20ac ", 0], "d20280212": ["d20280212", "season0", "119 \u20ac ", 0], "d20280213": ["d20280213", "season0", "119 \u20ac ", 0], "d20280214": ["d20280214", "season0", "119 \u20ac ", 0], "d20280215": ["d20280215", "season0", "119 \u20ac ", 0], "d20280216": ["d20280216", "season0", "119 \u20ac ", 0], "d20280217": ["d20280217", "season0", "119 \u20ac ", 0], "d20280218": ["d20280218", "season0", "119 \u20ac ", 0], "d20280219": ["d20280219", "season0", "119 \u20ac ", 0], "d20280220": ["d20280220", "season0", "119 \u20ac ", 0], "d20280221": ["d20280221", "season0", "119 \u20ac ", 0], "d20280222": ["d20280222", "season0", "119 \u20ac ", 0], "d20280223": ["d20280223", "season0", "119 \u20ac ", 0], "d20280224": ["d20280224", "season0", "119 \u20ac ", 0], "d20280225": ["d20280225", "season0", "119 \u20ac ", 0], "d20280226": ["d20280226", "season0", "119 \u20ac ", 0], "d20280227": ["d20280227", "season0", "119 \u20ac ", 0], "d20280228": ["d20280228", "season0", "119 \u20ac ", 0], "d20280229": ["d20280229", "season0", "119 \u20ac ", 0], "d20280301": ["d20280301", "season0", "119 \u20ac ", 0], "d20280302": ["d20280302", "season0", "119 \u20ac ", 0], "d20280303": ["d20280303", "season0", "119 \u20ac ", 0], "d20280304": ["d20280304", "season0", "119 \u20ac ", 0], "d20280305": ["d20280305", "season0", "119 \u20ac ", 0], "d20280306": ["d20280306", "season0", "119 \u20ac ", 0], "d20280307": ["d20280307", "season0", "119 \u20ac ", 0], "d20280308": ["d20280308", "season0", "119 \u20ac ", 0], "d20280309": ["d20280309", "season0", "119 \u20ac ", 0], "d20280310": ["d20280310", "season0", "119 \u20ac ", 0], "d20280311": ["d20280311", "season0", "119 \u20ac ", 0], "d20280312": ["d20280312", "season0", "119 \u20ac ", 0], "d20280313": ["d20280313", "season0", "119 \u20ac ", 0], "d20280314": ["d20280314", "season0", "119 \u20ac ", 0], "d20280315": ["d20280315", "season0", "119 \u20ac ", 0], "d20280316": ["d20280316", "season0", "119 \u20ac ", 0], "d20280317": ["d20280317", "season0", "119 \u20ac ", 0], "d20280318": ["d20280318", "season0", "119 \u20ac ", 0], "d20280319": ["d20280319", "season0", "119 \u20ac ", 0], "d20280320": ["d20280320", "season0", "119 \u20ac ", 0], "d20280321": ["d20280321", "season0", "119 \u20ac ", 0], "d20280322": ["d20280322", "season0", "119 \u20ac ", 0], "d20280323": ["d20280323", "season0", "119 \u20ac ", 0], "d20280324": ["d20280324", "season0", "119 \u20ac ", 0], "d20280325": ["d20280325", "season0", "119 \u20ac ", 0], "d20280326": ["d20280326", "season0", "119 \u20ac ", 0], "d20280327": ["d20280327", "season0", "119 \u20ac ", 0], "d20280328": ["d20280328", "season0", "119 \u20ac ", 0], "d20280329": ["d20280329", "season0", "119 \u20ac ", 0], "d20280330": ["d20280330", "season0", "119 \u20ac ", 0], "d20280331": ["d20280331", "season0", "119 \u20ac ", 0], "d20280401": ["d20280401", "season0", "119 \u20ac ", 0], "d20280402": ["d20280402", "season0", "119 \u20ac ", 0], "d20280403": ["d20280403", "season0", "119 \u20ac ", 0], "d20280404": ["d20280404", "season0", "119 \u20ac ", 0], "d20280405": ["d20280405", "season0", "119 \u20ac ", 0], "d20280406": ["d20280406", "season0", "119 \u20ac ", 0], "d20280407": ["d20280407", "season0", "119 \u20ac ", 0], "d20280408": ["d20280408", "season0", "119 \u20ac ", 0], "d20280409": ["d20280409", "season0", "119 \u20ac ", 0], "d20280410": ["d20280410", "season0", "119 \u20ac ", 0], "d20280411": ["d20280411", "season0", "119 \u20ac ", 0], "d20280412": ["d20280412", "season0", "119 \u20ac ", 0], "d20280413": ["d20280413", "season0", "119 \u20ac ", 0], "d20280414": ["d20280414", "season0", "119 \u20ac ", 0], "d20280415": ["d20280415", "season0", "119 \u20ac ", 0], "d20280416": ["d20280416", "season0", "119 \u20ac ", 0], "d20280417": ["d20280417", "season0", "119 \u20ac ", 0], "d20280418": ["d20280418", "season0", "119 \u20ac ", 0], "d20280419": ["d20280419", "season0", "119 \u20ac ", 0], "d20280420": ["d20280420", "season0", "119 \u20ac ", 0], "d20280421": ["d20280421", "season0", "119 \u20ac ", 0], "d20280422": ["d20280422", "season0", "119 \u20ac ", 0], "d20280423": ["d20280423", "season0", "119 \u20ac ", 0], "d20280424": ["d20280424", "season0", "119 \u20ac ", 0], "d20280425": ["d20280425", "season0", "119 \u20ac ", 0], "d20280426": ["d20280426", "season0", "119 \u20ac ", 0], "d20280427": ["d20280427", "season0", "119 \u20ac ", 0], "d20280428": ["d20280428", "season0", "119 \u20ac ", 0], "d20280429": ["d20280429", "season0", "119 \u20ac ", 0], "d20280430": ["d20280430", "season0", "119 \u20ac ", 0], "d20280501": ["d20280501", "season0", "119 \u20ac ", 0], "d20280502": ["d20280502", "season0", "119 \u20ac ", 0], "d20280503": ["d20280503", "season0", "119 \u20ac ", 0], "d20280504": ["d20280504", "season0", "119 \u20ac ", 0], "d20280505": ["d20280505", "season0", "119 \u20ac ", 0], "d20280506": ["d20280506", "season0", "119 \u20ac ", 0], "d20280507": ["d20280507", "season0", "119 \u20ac ", 0], "d20280508": ["d20280508", "season0", "119 \u20ac ", 0], "d20280509": ["d20280509", "season0", "119 \u20ac ", 0], "d20280510": ["d20280510", "season0", "119 \u20ac ", 0], "d20280511": ["d20280511", "season0", "119 \u20ac ", 0], "d20280512": ["d20280512", "season0", "119 \u20ac ", 0], "d20280513": ["d20280513", "season0", "119 \u20ac ", 0], "d20280514": ["d20280514", "season0", "119 \u20ac ", 0], "d20280515": ["d20280515", "season0", "119 \u20ac ", 0], "d20280516": ["d20280516", "season0", "119 \u20ac ", 0], "d20280517": ["d20280517", "season0", "119 \u20ac ", 0], "d20280518": ["d20280518", "season0", "119 \u20ac ", 0], "d20280519": ["d20280519", "season0", "119 \u20ac ", 0], "d20280520": ["d20280520", "season0", "119 \u20ac ", 0], "d20280521": ["d20280521", "season0", "119 \u20ac ", 0], "d20280522": ["d20280522", "season0", "119 \u20ac ", 0], "d20280523": ["d20280523", "season0", "119 \u20ac ", 0], "d20280524": ["d20280524", "season0", "119 \u20ac ", 0], "d20280525": ["d20280525", "season0", "119 \u20ac ", 0], "d20280526": ["d20280526", "season0", "119 \u20ac ", 0], "d20280527": ["d20280527", "season0", "119 \u20ac ", 0], "d20280528": ["d20280528", "season0", "119 \u20ac ", 0], "d20280529": ["d20280529", "season0", "119 \u20ac ", 0], "d20280530": ["d20280530", "season0", "119 \u20ac ", 0], "d20280531": ["d20280531", "season0", "119 \u20ac ", 0], "d20280601": ["d20280601", "season0", "119 \u20ac ", 0], "d20280602": ["d20280602", "season0", "119 \u20ac ", 0], "d20280603": ["d20280603", "season0", "119 \u20ac ", 0], "d20280604": ["d20280604", "season0", "119 \u20ac ", 0], "d20280605": ["d20280605", "season0", "119 \u20ac ", 0], "d20280606": ["d20280606", "season0", "119 \u20ac ", 0], "d20280607": ["d20280607", "season0", "119 \u20ac ", 0], "d20280608": ["d20280608", "season0", "119 \u20ac ", 0], "d20280609": ["d20280609", "season0", "119 \u20ac ", 0], "d20280610": ["d20280610", "season0", "119 \u20ac ", 0], "d20280611": ["d20280611", "season0", "119 \u20ac ", 0], "d20280612": ["d20280612", "season0", "119 \u20ac ", 0], "d20280613": ["d20280613", "season0", "119 \u20ac ", 0], "d20280614": ["d20280614", "season0", "119 \u20ac ", 0], "d20280615": ["d20280615", "season0", "119 \u20ac ", 0], "d20280616": ["d20280616", "season0", "119 \u20ac ", 0], "d20280617": ["d20280617", "season0", "119 \u20ac ", 0], "d20280618": ["d20280618", "season0", "119 \u20ac ", 0], "d20280619": ["d20280619", "season0", "119 \u20ac ", 0], "d20280620": ["d20280620", "season0", "119 \u20ac ", 0], "d20280621": ["d20280621", "season0", "119 \u20ac ", 0], "d20280622": ["d20280622", "season0", "119 \u20ac ", 0], "d20280623": ["d20280623", "season0", "119 \u20ac ", 0], "d20280624": ["d20280624", "season0", "119 \u20ac ", 0], "d20280625": ["d20280625", "season0", "119 \u20ac ", 0], "d20280626": ["d20280626", "season0", "119 \u20ac ", 0], "d20280627": ["d20280627", "season0", "119 \u20ac ", 0], "d20280628": ["d20280628", "season0", "119 \u20ac ", 0], "d20280629": ["d20280629", "season0", "119 \u20ac ", 0], "d20280630": ["d20280630", "season0", "119 \u20ac ", 0], "d20280701": ["d20280701", "season0", "119 \u20ac ", 0], "d20280702": ["d20280702", "season0", "119 \u20ac ", 0], "d20280703": ["d20280703", "season0", "119 \u20ac ", 0], "d20280704": ["d20280704", "season0", "119 \u20ac ", 0], "d20280705": ["d20280705", "season0", "119 \u20ac ", 0], "d20280706": ["d20280706", "season0", "119 \u20ac ", 0], "d20280707": ["d20280707", "season0", "119 \u20ac ", 0], "d20280708": ["d20280708", "season0", "119 \u20ac ", 0], "d20280709": ["d20280709", "season0", "119 \u20ac ", 0], "d20280710": ["d20280710", "season0", "119 \u20ac ", 0], "d20280711": ["d20280711", "season0", "119 \u20ac ", 0], "d20280712": ["d20280712", "season0", "119 \u20ac ", 0], "d20280713": ["d20280713", "season0", "119 \u20ac ", 0], "d20280714": ["d20280714", "season0", "119 \u20ac ", 0], "d20280715": ["d20280715", "season0", "119 \u20ac ", 0], "d20280716": ["d20280716", "season0", "119 \u20ac ", 0], "d20280717": ["d20280717", "season0", "119 \u20ac ", 0], "d20280718": ["d20280718", "season0", "119 \u20ac ", 0], "d20280719": ["d20280719", "season0", "119 \u20ac ", 0], "d20280720": ["d20280720", "season0", "119 \u20ac ", 0], "d20280721": ["d20280721", "season0", "119 \u20ac ", 0], "d20280722": ["d20280722", "season0", "119 \u20ac ", 0], "d20280723": ["d20280723", "season0", "119 \u20ac ", 0], "d20280724": ["d20280724", "season0", "119 \u20ac ", 0], "d20280725": ["d20280725", "season0", "119 \u20ac ", 0], "d20280726": ["d20280726", "season0", "119 \u20ac ", 0], "d20280727": ["d20280727", "season0", "119 \u20ac ", 0], "d20280728": ["d20280728", "season0", "119 \u20ac ", 0], "d20280729": ["d20280729", "season0", "119 \u20ac ", 0], "d20280730": ["d20280730", "season0", "119 \u20ac ", 0], "d20280731": ["d20280731", "season0", "119 \u20ac ", 0], "d20280801": ["d20280801", "season0", "119 \u20ac ", 0], "d20280802": ["d20280802", "season0", "119 \u20ac ", 0], "d20280803": ["d20280803", "season0", "119 \u20ac ", 0], "d20280804": ["d20280804", "season0", "119 \u20ac ", 0], "d20280805": ["d20280805", "season0", "119 \u20ac ", 0], "d20280806": ["d20280806", "season0", "119 \u20ac ", 0], "d20280807": ["d20280807", "season0", "119 \u20ac ", 0], "d20280808": ["d20280808", "season0", "119 \u20ac ", 0], "d20280809": ["d20280809", "season0", "119 \u20ac ", 0], "d20280810": ["d20280810", "season0", "119 \u20ac ", 0], "d20280811": ["d20280811", "season0", "119 \u20ac ", 0], "d20280812": ["d20280812", "season0", "119 \u20ac ", 0], "d20280813": ["d20280813", "season0", "119 \u20ac ", 0], "d20280814": ["d20280814", "season0", "119 \u20ac ", 0], "d20280815": ["d20280815", "season0", "119 \u20ac ", 0], "d20280816": ["d20280816", "season0", "119 \u20ac ", 0], "d20280817": ["d20280817", "season0", "119 \u20ac ", 0], "d20280818": ["d20280818", "season0", "119 \u20ac ", 0], "d20280819": ["d20280819", "season0", "119 \u20ac ", 0], "d20280820": ["d20280820", "season0", "119 \u20ac ", 0], "d20280821": ["d20280821", "season0", "119 \u20ac ", 0], "d20280822": ["d20280822", "season0", "119 \u20ac ", 0], "d20280823": ["d20280823", "season0", "119 \u20ac ", 0], "d20280824": ["d20280824", "season0", "119 \u20ac ", 0], "d20280825": ["d20280825", "season0", "119 \u20ac ", 0], "d20280826": ["d20280826", "season0", "119 \u20ac ", 0], "d20280827": ["d20280827", "season0", "119 \u20ac ", 0], "d20280828": ["d20280828", "season0", "119 \u20ac ", 0], "d20280829": ["d20280829", "season0", "119 \u20ac ", 0], "d20280830": ["d20280830", "season0", "119 \u20ac ", 0], "d20280831": ["d20280831", "season0", "119 \u20ac ", 0], "d20280901": ["d20280901", "season0", "119 \u20ac ", 0], "d20280902": ["d20280902", "season0", "119 \u20ac ", 0], "d20280903": ["d20280903", "season0", "119 \u20ac ", 0], "d20280904": ["d20280904", "season0", "119 \u20ac ", 0], "d20280905": ["d20280905", "season0", "119 \u20ac ", 0]};
var javascript_literals= {"Apartments": "Apartments", "Ferienhaus": "Ferienh\u00e4user", "Ferienwohnung": "Ferienwohnungen", "Hausboot": "Hausboote", "Objekt": "Objekte", "Trike": "Trikes", "Villa": "Villen", "Wohnmobil": "Wohnmobile", "activities": "Aktivit\u00e4ten", "address_title": "Adresse", "amenities": "Ausstattung", "anything_per_night_text": "item.number_of_nights+ \u0027 N\u00e4chte \u0027+item.name+\u0027 \u00e0 \u0027+item.price+ window.currency+\u0027 \u0027", "arrival": "Anreisedatum", "arrival_calendar": "Anreise", "arrival_days": "Anreise-Tage", "availability": "Kalender", "available": "frei/verf\u00fcgbar", "basic_price": "Grundpreis, wenn keine Saison", "booking": "Buchung", "booking_button_label": "Preisauskunft \u0026 Buchung", "booking_duration_not_valid_text": "\u0027Leider ist die Buchungsdauer in der Saison \u0027+entry.season_name+\u0027 nicht m\u00f6glich. Ihre Anfrage betr\u00e4gt \u0026nbsp;\u0027+entry.days_requested+\u0027\u0026nbsp; N\u00e4chte. Das Minimum f\u00fcr diese Saison betr\u00e4gt \u0026nbsp;\u0027+entry.season_min_duration+\u0027 N\u00e4chte.\u0027", "booking_fee": "Buchungsgeb\u00fchr", "booking_headline_dates_and_people": "Ihre Reisedaten", "booking_headline_extras": "Zusatzleistungen", "booking_headline_guest_data": "Ihre Kontaktdaten", "booking_menu_label": "Preisauskunft \u0026 Buchung", "calendar_title": "Belegungskalender", "city": "Ort", "click_here": "ansehen", "close_window": "Fenster schlie\u00dfen", "collision_text": "\u0027Es gibt eine \u00dcberschneidung mit einer anderen Buchung. Bitte w\u00e4hlen Sie andere Daten. \u003cbr\u003e\u0027", "company_name": "Firma", "contact_owner_label": "Vermieter kontaktieren", "country": "Land", "days": "N\u00e4chte", "december": "Dezember", "default_prompt_for_number_of_kids": "davon unter 18 Jahre", "default_rate_nights_text": "item.first_night+\u0027 - \u0027+item.last_night+\u0027 = \u0027+item.number_of_nights+ \u0027 N\u00e4chte in Standard-Saison \u00e0 \u0027 +item.price+ window.currency+\u0027 \u0027", "departure": "Abreisedatum", "departure_calendar": "Abreise/frei", "departure_days": "Abreise-Tage", "description": "Beschreibung", "email": "E-Mail", "end_day_not_valid_text": "\u0027Ihr Abreise-Wochentag ist in der Saison \u0026nbsp;\u0027+entry.season_name+\u0027 nicht m\u00f6glich. Bitte w\u00e4hlen Sie einen anderen Tag. \u003cbr\u003e\u0027", "error_please_correct_booking": "Bitte \u00e4ndern Sie Ihre Buchungsdaten.", "error_please_correct_data": "Bitte \u00e4ndern Sie die markierten Daten", "error_please_enter": "Bitte eingeben.", "expired": "Der Gutschein ist leider abgelaufen", "facts": "Fakten", "final_cleaning": "Endreinigung", "first_name": "Vorname", "first_night": "Erste Nacht", "first_night_surcharge_text": "item.first_night+\u0027 - \u0027+item.last_night+\u0027 = Preis f. erste Nacht in Saison \u0027+item.season_name+\u0027 : \u0027+item.price+ window.currency+\u0027 \u0027", "from": "von", "gdpr_title": "Datenschutz-Erkl\u00e4rung", "import_file_season_list": "season_list_de.html", "imprint_title": "Impressum", "invalid": "Gutscheincode ist nicht g\u00fcltig", "invoice_items": "Rechnungspositionen", "january": "Januar", "kid_surcharge_text": "item.first_night+\u0027 - \u0027+item.last_night+\u0027 = \u0027+item.number_of_nights+ \u0027 N\u00e4chte Aufpreis f\u00fcr \u0027+item.surplus_persons+\u0027 Jugendliche(en) mehr als \u0027+item.base_persons + \u0027 \u00e0 \u0027+item.price+ window.currency+\u0027 \u0027", "kids_beds": "Kinderbetten", "kids_chairs": "Kinder-Hochst\u00fchle", "last_name": "Nachname", "linen_towels": "Bettw\u00e4sche / Handt\u00fccher", "load_maps_image": "https://lh3.googleusercontent.com/HPvTwkrM0x5tXt7j2iBhu418jho2GZvamj-bPk90yFOigPsMSgCUZMGjgFyPd06RHh3kVpMZt0tfWAKIkbHavasRKjWF_J24H3Z4koM=s0", "load_maps_text": "Wir respektieren Ihre Privatsph\u00e4re: Erst wenn Sie hier klicken, wird die passende Karte von Google-Maps geladen. Mit Ihrem Klick erkl\u00e4ren Sie sich damit einverstanden. ", "location": "Lage", "location_title": "Lage und Umgebung", "map_title": "Karte", "mb_slogan": "Websites f\u00fcr Ferienwohnungen", "message": "Nachricht", "message_placeholder": "Ihre Nachricht an uns...", "minimum_booking": "Min. Buchung", "more_bookings_promo": "Sichere Buchungs- und Kontaktfunktion. Bereitgestellt von More-Bookings", "night": "Nacht", "normal_season_nights_text": "item.first_night+\u0027 - \u0027+item.last_night+\u0027 = \u0027+item.number_of_nights+ \u0027 N\u00e4chte in Saison \u0027+item.name+\u0027 \u00e0 \u0027+item.price+ window.currency+\u0027 \u0027", "number_of_guests": "G\u00e4ste", "occupied": "Belegt", "or": "oder", "or_enter_email": "oder E-Mail eingeben", "or_enter_phone": "oder Telefon eingeben", "overbooking_text": "\u0027Maximale Anzahl G\u00e4ste ist:\u0026nbsp;\u0027+entry.max_number_of_guests+ \u0027\u0026nbsp;Sie haben\u0026nbsp; \u0027+entry.requested_number_of_guests+ \u0027\u0026nbsp;G\u0026auml;ste gew\u0026auml;hlt. \u003cbr\u003e\u0027", "per_night": "pro Nacht", "person": "Person", "person_surcharge_text": "item.first_night+\u0027 - \u0027+item.last_night+\u0027 = \u0027+item.number_of_nights+ \u0027 N\u00e4chte Aufpreis f\u00fcr \u0027+item.surplus_persons+\u0027 Person(en) mehr als \u0027+item.base_persons + \u0027 \u00e0 \u0027+item.price+ window.currency+\u0027 \u0027", "phone": "Telefon", "phone_number": "Telefon", "photos": "Fotos", "please_correct_the_red_inputs": "Bitte korrigieren Sie die in rot markierten Felder", "please_enter": "bitte eingeben", "postcode": "Postleitzahl", "price": "Preis", "price_per_night": "Preis / Nacht", "prices": "Preise", "pricing_from": "ab", "pricing_title": "Preisliste", "promo_text": "Kalender und Buchungsfunktion bereitgestellt von More-Bookings - Clevere Websites f\u00fcr Ferienwohnungen", "redeemed": "Dieser Gutschein wurde schon eingel\u00f6st", "salutation_firma": "Firma", "salutation_frau": "Frau", "salutation_herr": "Herr", "salutation_label": "Anrede", "season_name": "Saison", "send_booking": "Buchung absenden", "send_enquiry": "Anfrage absenden", "short_stay_charge_text": "\u0027Kurzbucher-Aufschlag f\u00fcr Buchungen unter \u0027+item.short_stay_max+\u0027 Tagen. \u0027", "short_stay_surcharge_up_to": "Kurzbucher-Aufschlag bis zu", "start_day_not_valid_text": "\u0027Ihr Anreise-Wochentag ist in der Saison \u0026nbsp;\u0027+entry.season_name+\u0027 nicht m\u00f6glich. Bitte w\u00e4hlen Sie einen anderen Tag. \u003cbr\u003e\u0027", "street_with_number": "Strasse/Nr.", "subsequent_night": "Folgenacht", "surcharge_from_person_number": "Aufpreis ab Person Nummer", "thank_you_for_your_enquiry": "Vielen Dank f\u00fcr Ihre Anfrage", "thank_you_for_your_interest": "Vielen Dank f\u00fcr Ihr Interesse", "to": "bis", "total": "Gesamt", "total_accomodation": "Gesamt \u00dcbernachtungen", "total_total": "Gesamtpreis", "valid_only_on_following_days": "gilt nur f\u00fcr folgende Tage", "voucher_arrival_too_early": "Anreisedatum zu fr\u00fch f\u00fcr diesen Gutschein", "voucher_arrival_too_late": "Anreisedatum zu sp\u00e4t f\u00fcr diesen Gutschein", "voucher_code": "Gutschein-Code (wenn vorhanden)", "voucher_departure_too_late": "\u0027Abreisedatum zu sp\u00e4t f\u00fcr diesen Gutschein. Sp\u00e4testes Datum: \u0027+result.value", "voucher_min_duration_violation": "\u0027Gutschein gilt erst ab\u0027+result.value+\u0027N\u00e4chten\u0027", "week": "Woche", "you_wanted_to_ask_something": "Irgendetwas wollten Sie ja fragen...", "your_booking_will_be_dealt_with_shortly": "Ihre Anfrage wird versandt und Sie bekommen so schnell wie m\u00f6glich eine Buchungsbest\u00e4tigung", "your_email": "Ihre E-Mail", "your_landlord_will_contact_you_soon": "Ihr Vermieter wird sich so schnell wie m\u00f6glich mit Ihnen in Verbindung setzen ", "your_message": "Ihre Nachricht", "your_message_for_us": "Ihre Nachricht f\u00fcr uns", "your_message_to_the_owner": "Ihre Nachricht an den Vermieter", "your_surname": "Ihr Name", "your_team_from_more_bookings": "Ihr Team von 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 = 'Vermieter kontaktieren ANTARES ONE: Schwimmendes Ferienhaus/ Hausboot im OstseeResort Olpenitz/ Kappeln';
}
else {
var api_endpoint=backendHostUrl+'/public_booking_dialogue';
var title = 'Preisauskunft & Buchung ANTARES ONE: Schwimmendes Ferienhaus/ Hausboot im OstseeResort Olpenitz/ Kappeln';
}
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( " \
\
\
frei/verfügbar \
\
Anreise \
\
Belegt \
\
Abreise/frei \
\
\
\
").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 = 'Vermieter kontaktieren ANTARES ONE: Schwimmendes Ferienhaus/ Hausboot im OstseeResort Olpenitz/ Kappeln';
}
else {
var title = 'Preisauskunft & Buchung ANTARES ONE: Schwimmendes Ferienhaus/ Hausboot im OstseeResort Olpenitz/ Kappeln';
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
});
}
});
}