(function() { var a = setInterval( function() { if ( ( 'undefined' === typeof jQuery ) || ! window.jQuery ) { return; } clearInterval( a ); jQuery( document ).ready( function (){ jQuery(".widget_wpdev_booking .booking_form.form-horizontal").removeClass("form-horizontal");
var visible_calendars_count = _wpbc.get_other_param( "calendars__on_this_page" ).length;
if (visible_calendars_count !== null ) {
for (var i=0;i< visible_calendars_count ;i++){
if ( _wpbc.get_other_param( "calendars__on_this_page" )[i] === 1 ) {
document.getElementById("form_id869782205376").innerHTML = "
Achtung! Buchungskalender für diese Unterkunft bereits auf der Seite enthalten. Bitte lesen Sie mehr hierzu auf dieser Seite: https://wpbookingcalendar.com/faq/why-the-booking-calendar-widget-not-show-on-page/";
jQuery("#form_id869782205376").animate( {opacity: 1}, 10000 ).fadeOut(5000);
return;
}
}
_wpbc.get_other_param( "calendars__on_this_page" )[ visible_calendars_count ]=1;
} } ); }, 500 ); })(); (function() { var a = setInterval( function() { if ( ( 'undefined' === typeof jQuery ) || ! window.jQuery ) { return; } clearInterval( a ); jQuery( document ).ready( function (){ _wpbc.balancer__set_max_threads( 3 ); _wpbc.calendar__set_param_value( 1 , 'calendar_scroll_to' , false ); _wpbc.calendar__set_param_value( 1 , 'booking_max_monthes_in_calendar' , '1y' ); _wpbc.calendar__set_param_value( 1 , 'booking_start_day_weeek' , '1' ); _wpbc.calendar__set_param_value( 1 , 'calendar_number_of_months' , '1' ); _wpbc.calendar__set_param_value( 1, 'days_select_mode', 'multiple' ); _wpbc.calendar__set_param_value( 1, 'fixed__days_num', 0 ); _wpbc.calendar__set_param_value( 1, 'fixed__week_days__start', [] ); _wpbc.calendar__set_param_value( 1, 'dynamic__days_min', 0 ); _wpbc.calendar__set_param_value( 1, 'dynamic__days_max', 0 ); _wpbc.calendar__set_param_value( 1, 'dynamic__days_specific', [] ); _wpbc.calendar__set_param_value( 1, 'dynamic__week_days__start', [] ); _wpbc.calendar__set_param_value( 1, 'booking_date_format', 'j. F Y' ); _wpbc.calendar__set_param_value( 1, 'booking_time_format', 'G:i' ); if ( 'function' === typeof ( wpbc__conditions__SAVE_INITIAL__days_selection_params__bm ) ){ wpbc__conditions__SAVE_INITIAL__days_selection_params__bm( 1 ); } wpbc_calendar_show( '1' ); _wpbc.set_secure_param( 'nonce', '4494edeedd' ); _wpbc.set_secure_param( 'user_id', '0' ); _wpbc.set_secure_param( 'locale', 'de_DE' ); wpbc_calendar__load_data__ajx( {"resource_id":1,"booking_hash":"","request_uri":"\/wpbc-booking\/?print=print","custom_form":"standard","aggregate_resource_id_str":"","aggregate_type":"all"} ); } ); }, 500 ); })();