$( document ).ready(function() { $(".lazy").Lazy(); setTimeout(function() { autoScroll(); }, 3000); if ($(window).width() > 570 && $('#over_ons').length) { over_ons_same_height(); } /*var pages = []; var pageid = ''; var zindex = 10; $('section').each(function( index ) { var pageposition = $(this).offset(); pageid = $(this).attr('id'); $(this).css({ 'z-index' : zindex }); pages[index] = [pageid, pageposition.top]; zindex++; });*/ $(window).scroll(function(e){ var scrolled = $(window).scrollTop(); if (scrolled > 5) { $('#menu_container').addClass('scrolled'); } else { $('#menu_container').removeClass('scrolled'); } $('#header').css({ 'background-position' : 'center ' + (scrolled/2) + 'px' }); $( ".see_through" ).each(function( i ) { var elementLocation = $(this).offset(); if (scrolled+($(window).height()) > elementLocation.top) { $(this).css({ 'background-position' : 'center ' + (((scrolled-elementLocation.top)/2)+150) + 'px' }); } }); /* //onepager functie $( ".anchor" ).each(function( i ) { var elementLocation = $(this).offset(); if (scrolled >= (elementLocation.top-250) && scrolled < (elementLocation.top+100)) { var url = $(this).attr('id').replace('_anchor',''); if (!$('#link_' + url).hasClass('active')) { var pagetitle = $(this).attr('title'); window.history.pushState('obj', 'Lil People Fctry - ' + pagetitle, url); document.title = 'Lil People Fctry - ' + pagetitle; $('#menu').children().siblings().removeClass('active'); $('#link_' + url).addClass('active'); } } }); */ }); if ($(window).scrollTop() > 5) { $('#menu_container').addClass('scrolled'); } function rewriteLinks() { $('a').click(function(e){ var url = $(this).attr('href'); var name = $(this).attr('href').substr(1); var pagetitle = $(this).attr('title'); var pos = $('div[id='+name+'_anchor]').offset(); $('html, body').animate({scrollTop: pos.top - 75}, 1000); window.history.pushState('obj', 'Lil People Fctry - ' + pagetitle, url); document.title = 'Lil People Fctry - ' + pagetitle; $(this).parent().siblings().removeClass('active'); $(this).parent().addClass('active'); e.preventDefault(); }); } $( "#mobile_menu_activator" ).on( "click", function() { if ($( ".hamburger" ).hasClass( "is-active" )) { $( ".hamburger" ).removeClass( "is-active" ); $( "#menu" ).removeClass( "active" ); $( "#mobile_menu_activator" ).removeClass( "active" ); $( "#plaats_vacature" ).removeClass( "active" ); $( "#menu_container" ).removeClass( "active" ); } else { $( ".hamburger" ).addClass( "is-active" ); $( "#menu" ).addClass( "active" ); setTimeout(function(){ $( "#mobile_menu_activator" ).addClass( "active" ); }, 70); $( "#plaats_vacature" ).addClass( "active" ); $( "#menu_container" ).addClass( "active" ); } }); if ($(window).width() <= 800) { $( "#menu li a" ).on( "click", function() { if ($(".hamburger").hasClass("is-active")) { $(".hamburger").removeClass("is-active"); $("#menu").removeClass("active"); $("#mobile_menu_activator").removeClass("active"); $("#plaats_vacature").removeClass("active"); $( "#menu_container" ).removeClass( "active" ); } }); } /*$('#menu_logo').click(function(e){ $('#link_home').siblings().removeClass('active'); $('#link_home').addClass('active'); window.history.pushState('obj', 'Lil People Fctry - Home', '/'); document.title = 'Lil People Fctry - Home'; $('html, body').animate({scrollTop: 0}); });*/ $.datetimepicker.setLocale('nl'); $('#datum').datetimepicker({ format:'l d F Y H:i', lang:'nl', minDate: 0, dayOfWeekStart: 1, defaultTime: '09:00', allowTimes:['09:00', '09:30', '10:00', '10:30', '11:00', '11:30', '12:00', '12:30', '13:00', '13:30', '14:00', '14:30', '15:00', '15:30', '16:00', '16:30', '17:00', '17:30', '18:00', '18:30', '19:00', '19:30', '20:00'], disabledDates: ['2025-07-02 16:00', '2025-07-02 16:30', '2025-07-02 19:00', '2025-07-02 19:30', '2025-07-05 10:30', '2025-07-05 11:00', '2025-07-05 12:00', '2025-07-05 12:30', '2025-07-05 17:00', '2025-07-05 17:30', '2025-07-05 20:00', '2025-07-09 11:00', '2025-07-09 11:30', '2025-07-10 13:00', '2025-07-10 13:30', '2025-07-11 20:00', '2025-07-17 09:00', '2025-07-18 17:00', '2025-07-18 17:30', '2025-07-18 18:00', '2025-07-18 18:30', '2025-07-18 19:00', '2025-07-18 19:30', '2025-07-18 20:00', '2025-07-19 10:00', '2025-07-19 10:30', '2025-07-19 11:00', '2025-07-19 11:30', '2025-07-19 12:00', '2025-07-19 12:30', '2025-07-19 12:00', '2025-07-19 12:30', '2025-07-19 20:00', '2025-07-20 11:00', '2025-07-20 11:30', '2025-07-20 11:00', '2025-07-20 11:30', '2025-07-24 15:00', '2025-07-24 15:30', '2025-07-25 18:00', '2025-07-25 18:30', '2025-07-26 09:00', '2025-07-26 09:30', '2025-07-29 09:00', '2025-07-29 09:30', '2025-07-29 10:00', '2025-07-29 10:30', '2025-07-29 11:00', '2025-07-29 11:30', '2025-07-29 12:00', '2025-07-29 12:30', '2025-07-29 13:00', '2025-07-29 13:30', '2025-07-29 14:00', '2025-07-29 14:30', '2025-07-29 15:00', '2025-07-29 15:30', '2025-07-29 16:00', '2025-07-29 16:30', '2025-07-29 17:00', '2025-07-29 17:30', '2025-07-29 18:00', '2025-07-29 18:30', '2025-07-30 09:00', '2025-07-30 09:30', '2025-07-30 10:00', '2025-07-30 10:30', '2025-07-30 11:00', '2025-07-30 11:30', '2025-07-30 12:00', '2025-07-30 12:30', '2025-07-30 13:00', '2025-07-30 13:30', '2025-07-30 14:00', '2025-07-30 14:30', '2025-07-30 15:00', '2025-07-30 15:30', '2025-07-30 16:00', '2025-07-30 16:30', '2025-07-30 17:00', '2025-07-30 17:30', '2025-07-30 18:00', '2025-07-30 18:30', '2025-07-31 09:00', '2025-07-31 09:30', '2025-07-31 10:00', '2025-07-31 10:30', '2025-07-31 11:00', '2025-07-31 11:30', '2025-07-31 12:00', '2025-07-31 12:30', '2025-07-31 13:00', '2025-07-31 13:30', '2025-07-31 14:00', '2025-07-31 14:30', '2025-07-31 15:00', '2025-07-31 15:30', '2025-07-31 16:00', '2025-07-31 16:30', '2025-07-31 17:00', '2025-07-31 17:30', '2025-07-31 18:00', '2025-07-31 18:30', '2025-08-01 09:00', '2025-08-01 09:30', '2025-08-01 10:00', '2025-08-01 10:30', '2025-08-01 11:00', '2025-08-01 11:30', '2025-08-01 12:00', '2025-08-01 12:30', '2025-08-01 13:00', '2025-08-01 13:30', '2025-08-01 14:00', '2025-08-01 14:30', '2025-08-01 15:00', '2025-08-01 15:30', '2025-08-01 16:00', '2025-08-01 16:30', '2025-08-01 17:00', '2025-08-01 17:30', '2025-08-01 18:00', '2025-08-01 18:30', '2025-08-02 09:00', '2025-08-02 09:30', '2025-08-02 10:00', '2025-08-02 10:30', '2025-08-02 11:00', '2025-08-02 11:30', '2025-08-02 12:00', '2025-08-02 12:30', '2025-08-02 13:00', '2025-08-02 13:30', '2025-08-02 14:00', '2025-08-02 14:30', '2025-08-02 15:00', '2025-08-02 15:30', '2025-08-02 16:00', '2025-08-02 16:30', '2025-08-02 17:00', '2025-08-02 17:30', '2025-08-02 18:00', '2025-08-02 18:30', '2025-08-03 09:00', '2025-08-03 09:30', '2025-08-03 10:00', '2025-08-03 10:30', '2025-08-03 11:00', '2025-08-03 11:30', '2025-08-03 12:00', '2025-08-03 12:30', '2025-08-03 13:00', '2025-08-03 13:30', '2025-08-03 14:00', '2025-08-03 14:30', '2025-08-03 15:00', '2025-08-03 15:30', '2025-08-03 16:00', '2025-08-03 16:30', '2025-08-03 17:00', '2025-08-03 17:30', '2025-08-03 18:00', '2025-08-03 18:30', '2025-08-04 09:00', '2025-08-04 09:30', '2025-08-04 10:00', '2025-08-04 10:30', '2025-08-04 11:00', '2025-08-04 11:30', '2025-08-04 12:00', '2025-08-04 12:30', '2025-08-04 13:00', '2025-08-04 13:30', '2025-08-04 14:00', '2025-08-04 14:30', '2025-08-04 15:00', '2025-08-04 15:30', '2025-08-04 16:00', '2025-08-04 16:30', '2025-08-04 17:00', '2025-08-04 17:30', '2025-08-04 18:00', '2025-08-04 18:30', '2025-08-05 09:00', '2025-08-05 09:30', '2025-08-05 10:00', '2025-08-05 10:30', '2025-08-05 11:00', '2025-08-05 11:30', '2025-08-05 12:00', '2025-08-05 12:30', '2025-08-05 13:00', '2025-08-05 13:30', '2025-08-05 14:00', '2025-08-05 14:30', '2025-08-05 15:00', '2025-08-05 15:30', '2025-08-05 16:00', '2025-08-05 16:30', '2025-08-05 17:00', '2025-08-05 17:30', '2025-08-05 18:00', '2025-08-05 18:30', '2025-08-06 09:00', '2025-08-06 09:30', '2025-08-06 10:00', '2025-08-06 10:30', '2025-08-06 11:00', '2025-08-06 11:30', '2025-08-06 12:00', '2025-08-06 12:30', '2025-08-06 13:00', '2025-08-06 13:30', '2025-08-06 14:00', '2025-08-06 14:30', '2025-08-06 15:00', '2025-08-06 15:30', '2025-08-06 16:00', '2025-08-06 16:30', '2025-08-06 17:00', '2025-08-06 17:30', '2025-08-06 18:00', '2025-08-06 18:30', '2025-08-07 09:00', '2025-08-07 09:30', '2025-08-07 10:00', '2025-08-07 10:30', '2025-08-07 11:00', '2025-08-07 11:30', '2025-08-07 12:00', '2025-08-07 12:30', '2025-08-07 13:00', '2025-08-07 13:30', '2025-08-07 14:00', '2025-08-07 14:30', '2025-08-07 15:00', '2025-08-07 15:30', '2025-08-07 16:00', '2025-08-07 16:30', '2025-08-07 17:00', '2025-08-07 17:30', '2025-08-07 18:00', '2025-08-07 18:30', '2025-08-08 09:00', '2025-08-08 09:30', '2025-08-08 10:00', '2025-08-08 10:30', '2025-08-08 11:00', '2025-08-08 11:30', '2025-08-08 12:00', '2025-08-08 12:30', '2025-08-08 13:00', '2025-08-08 13:30', '2025-08-08 14:00', '2025-08-08 14:30', '2025-08-08 15:00', '2025-08-08 15:30', '2025-08-08 16:00', '2025-08-08 16:30', '2025-08-08 17:00', '2025-08-08 17:30', '2025-08-08 18:00', '2025-08-08 18:30', '2025-08-09 09:00', '2025-08-09 09:30', '2025-08-09 10:00', '2025-08-09 10:30', '2025-08-09 11:00', '2025-08-09 11:30', '2025-08-09 12:00', '2025-08-09 12:30', '2025-08-09 13:00', '2025-08-09 13:30', '2025-08-09 14:00', '2025-08-09 14:30', '2025-08-09 15:00', '2025-08-09 15:30', '2025-08-09 16:00', '2025-08-09 16:30', '2025-08-09 17:00', '2025-08-09 17:30', '2025-08-09 18:00', '2025-08-09 18:30', '2025-08-14 09:00', '2025-08-23 11:00', '2025-08-23 11:30', '2025-09-03 13:00', '2025-09-03 13:30', '2025-09-03 13:00', '2025-09-03 13:30', '2025-09-06 11:00', '2025-09-06 11:30', '2025-09-07 20:00', '2025-09-18 09:00', '2025-09-18 09:30', '2025-10-03 20:00', '2025-10-04 20:00', '2025-10-23 09:00', '2025-11-27 09:00'], formatDate:'Y-m-d H:i'//, //disabledWeekDays:[1] }); $( "#reservering_plaatsen" ).on( "click", function() { var validated = true $('#geslacht_fout').text(''); $('#naam_fout').text(''); $('#straat_fout').text(''); $('#postcode_fout').text(''); $('#plaats_fout').text(''); $('#email_fout').text(''); $('#telefoon_fout').text(''); $('#datum_fout').text(''); $('#aantal_personen_fout').text(''); if ($("#reserveren input[type='radio']:checked").val() == undefined) { $('#geslacht_fout').text('Selecteer je geslacht'); validated = false; } if ($('#reserveren_naam').val() == '') { $('#naam_fout').text('Vul je naam in'); validated = false; } if ($('#reserveren_straat').val() == '') { $('#straat_fout').text('Vul je straatnaam in'); validated = false; } if ($('#reserveren_postcode').val() == '') { $('#postcode_fout').text('Vul je postcode in'); validated = false; } if ($('#reserveren_plaats').val() == '') { $('#plaats_fout').text('Vul je plaatsnaam in'); validated = false; } if ($('#reserveren_email').val() == '') { $('#email_fout').text('Vul je emailadres in'); validated = false; } if ($('#reserveren_telefoon').val() == '') { $('#telefoon_fout').text('Vul je telefoonnummer in'); validated = false; } if ($('#datum').val() == '') { $('#datum_fout').text('Vul in wanneer je de afspraak wilt plannen'); validated = false; } if ($('#aantal_personen').val() == '') { $('#aantal_personen_fout').text('Vul het aantal personen in'); validated = false; } if (!validated) { return false; } var url = "/assets/components/lilpeoplefctry/reserveerModule.php"; // the script where you handle the form input. $.ajax({ type: "POST", url: url, data: $("#reserveren").serialize(), // serializes the form's elements. success: function (data) { if (data == 'ok') { $('#reservering_aangevraagd').slideToggle(); $('#reserveren').slideToggle(); $('#reservering_niet_verzonden').hide(); $('html, body').animate({ scrollTop: $('#pagina6').offset().top-100 }, 800, function () { // Add hash (#) to URL when done scrolling (default click behavior) //window.location.hash = 'reservering_geplaatst'; }); } else { $('#reservering_niet_verzonden').slideToggle(); $('html, body').animate({ scrollTop: $('#pagina6').offset().top-100 }, 800, function () { // Add hash (#) to URL when done scrolling (default click behavior) //window.location.hash = 'reservering_niet_geplaatst'; }); } } }); if (!validated) { $('html, body').animate({ scrollTop: $('#pagina6').offset().top-100 }, 800, function () { // Add hash (#) to URL when done scrolling (default click behavior) window.location.hash = '#reserveringsformulier'; }); } }); $( "#contactformulier" ).on( "submit", function(e) { var validated = true if ($('#contact_naam').val() == '') { $('#contact_naam').focus(); validated = false; } else if ($('#contact_email').val() == '') { $('#contact_email').focus(); validated = false; } else if ($('#contact_opmerking').val() == '') { $('#contact_opmerking').focus(); validated = false; } if (!validated) { return false; } var url = "/assets/components/lilpeoplefctry/contact.php"; // the script where you handle the form input. $.ajax({ type: "POST", url: url, data: $("#contactformulier").serialize(), // serializes the form's elements. success: function (data) { if (data == 'ok') { $('#contact_verzonden').slideToggle(); $('#contactformulier').slideToggle(); $('#contact_niet_verzonden').hide(); $('html, body').animate({ scrollTop: $('#footer').offset().top-100 }, 800, function () { // Add hash (#) to URL when done scrolling (default click behavior) //window.location.hash = 'reservering_geplaatst'; }); } else { $('#contact_niet_verzonden').slideToggle(); $('html, body').animate({ scrollTop: $('#footer').offset().top-100 }, 800, function () { // Add hash (#) to URL when done scrolling (default click behavior) //window.location.hash = 'reservering_niet_geplaatst'; }); } } }); if (!validated) { $('html, body').animate({ scrollTop: $('#footer').offset().top-100 }, 800, function () { // Add hash (#) to URL when done scrolling (default click behavior) window.location.hash = '#locatie'; }); } e.preventDefault(); }); function displayInfoWindow(map,iburl,mkr,infow){ xmlHttp = GetXmlHttpObject(); if(xmlHttp == null){ alert ("Your browser does not support AJAX!"); return; } xmlHttp.onreadystatechange = function(){ if(xmlHttp.readyState == 4){ var res = xmlHttp.responseText; err = res.split("ERROR:")[1]; if (!err) { infow.setContent(res); infow.open(map,mkr); } } } mkrid = mkr.docid; if ( mkrid > 0){ var params = "mkrid="+mkrid; xmlHttp.open("POST",iburl,true); xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); xmlHttp.setRequestHeader("Content-length", params.length); xmlHttp.setRequestHeader("Connection", "close"); xmlHttp.send(params); } } function addMarkerPlace(ptPlace, place, map, imgMkrs, infobulle){ mkrIcon = place[5]; marker = { position: ptPlace, map: map, title: place[0], link: place[4] }; marker.docid = place[3]; if (mkrIcon && imgMkrs[mkrIcon] && imgMkrs[mkrIcon]["image"]) { if (imgMkrs[mkrIcon]["image"][1]) marker.icon = new google.maps.MarkerImage("assets/images/gmaps/"+imgMkrs[mkrIcon]["image"][0], new google.maps.Size(imgMkrs[mkrIcon]["image"][1], imgMkrs[mkrIcon]["image"][2]), new google.maps.Point(imgMkrs[mkrIcon]["image"][3], imgMkrs[mkrIcon]["image"][4]), new google.maps.Point(imgMkrs[mkrIcon]["image"][5], imgMkrs[mkrIcon]["image"][6])); else marker.icon ="assets/images/gmaps/"+imgMkrs[mkrIcon]["image"][0]; } if (mkrIcon && imgMkrs[mkrIcon] && imgMkrs[mkrIcon]["shadow"]) { marker.shadow = new google.maps.MarkerImage("assets/images/gmaps/"+imgMkrs[mkrIcon]["shadow"][0], new google.maps.Size(imgMkrs[mkrIcon]["shadow"][1], imgMkrs[mkrIcon]["shadow"][2]), new google.maps.Point(imgMkrs[mkrIcon]["shadow"][3], imgMkrs[mkrIcon]["shadow"][4]), new google.maps.Point(imgMkrs[mkrIcon]["shadow"][5], imgMkrs[mkrIcon]["shadow"][6])); } if (mkrIcon && imgMkrs[mkrIcon] && imgMkrs[mkrIcon]["shape"]) { marker.shape = { coord: imgMkrs[mkrIcon]["shape"], type: 'poly'}; } var markerPlace = new google.maps.Marker(marker); google.maps.event.addListener(markerPlace, "click", function() { displayInfoWindow(map,'/adres-lil-people-fctry.txt',this,infobulle); }); google.maps.event.addListener(markerPlace, "mouseover", function() { displayInfoWindow(map,'/adres-lil-people-fctry.txt',this,infobulle); }); return markerPlace; } function setMarkers(map){ var places = new Array(); places = [ ["Lil People Fctry",51.461359,5.401836,"1","/adres-lil-people-fctry.txt",""] ]; var imgMkrs = new Array(); var imgMkrs = new Array(); var infobulle = new google.maps.InfoWindow(); var ptPlc = new google.maps.LatLng(places[0][1], places[0][2]); var markerPlace = addMarkerPlace(ptPlc, places[0], map, imgMkrs, infobulle); //map.center = ptPlc; } function initialize(){ if ($(window).width() <= 1020) { var centerMap = new google.maps.LatLng(51.461359,5.401836); } else if ($(window).width() > 1020 && $(window).width() <= 1800) { var centerMap = new google.maps.LatLng(51.461359,5.401836); } else { var centerMap = new google.maps.LatLng(51.461359,5.401836); } var optionsMap = { scrollwheel: false, zoom: 18, center: centerMap, mapTypeId: google.maps.MapTypeId.roadmap, styles:[ { "elementType": "labels.icon", "stylers": [ { "visibility": "off" } ] }, { "elementType": "labels.text.fill", "stylers": [ { "color": "#616161" } ] }, { "elementType": "labels.text.stroke", "stylers": [ { "color": "#f5f5f5" } ] }, { "featureType": "administrative.land_parcel", "elementType": "labels.text.fill", "stylers": [ { "color": "#bdbdbd" } ] }, { "featureType": "landscape", "stylers": [ { "visibility": "on" } ] }, { "featureType": "landscape", "elementType": "geometry", "stylers": [ { "saturation": -100 }, { "lightness": -45 } ] }, { "featureType": "landscape.natural.terrain", "stylers": [ { "color": "#8b261e" } ] }, { "featureType": "poi", "stylers": [ { "visibility": "on" } ] }, { "featureType": "poi", "elementType": "geometry", "stylers": [ { "color": "#eeeeee" } ] }, { "featureType": "poi", "elementType": "labels.icon", "stylers": [ { "saturation": -95 } ] }, { "featureType": "poi", "elementType": "labels.text.fill", "stylers": [ { "color": "#f7f6f6" } ] }, { "featureType": "poi", "elementType": "labels.text.stroke", "stylers": [ { "color": "#8b261e" }, { "visibility": "on" } ] }, { "featureType": "poi.park", "elementType": "geometry", "stylers": [ { "color": "#e5e5e5" } ] }, { "featureType": "poi.park", "elementType": "labels.text.fill", "stylers": [ { "color": "#9e9e9e" } ] }, { "featureType": "road", "elementType": "geometry", "stylers": [ { "color": "#ffffff" } ] }, { "featureType": "road.arterial", "elementType": "labels.text.fill", "stylers": [ { "color": "#757575" } ] }, { "featureType": "road.highway", "elementType": "geometry", "stylers": [ { "color": "#dadada" } ] }, { "featureType": "road.highway", "elementType": "labels.text.fill", "stylers": [ { "color": "#616161" } ] }, { "featureType": "road.local", "elementType": "geometry.fill", "stylers": [ { "color": "#8b261e" }, { "visibility": "on" } ] }, { "featureType": "road.local", "elementType": "labels.icon", "stylers": [ { "visibility": "off" } ] }, { "featureType": "road.local", "elementType": "labels.text.fill", "stylers": [ { "color": "#f4f3f3" } ] }, { "featureType": "road.local", "elementType": "labels.text.stroke", "stylers": [ { "color": "#8b261e" }, { "visibility": "on" } ] }, { "featureType": "transit.line", "elementType": "geometry", "stylers": [ { "color": "#e5e5e5" } ] }, { "featureType": "transit.station", "elementType": "geometry", "stylers": [ { "color": "#eeeeee" } ] }, { "featureType": "water", "elementType": "geometry", "stylers": [ { "color": "#c9c9c9" } ] }, { "featureType": "water", "elementType": "geometry.fill", "stylers": [ { "color": "#a0c7f5" } ] }, { "featureType": "water", "elementType": "geometry.stroke", "stylers": [ { "color": "#423b43" }, { "visibility": "on" } ] }, { "featureType": "water", "elementType": "labels.text", "stylers": [ { "color": "#f9f8f8" }, { "visibility": "on" } ] }, { "featureType": "water", "elementType": "labels.text.fill", "stylers": [ { "color": "#f9f8f8" }, { "visibility": "on" } ] }, { "featureType": "water", "elementType": "labels.text.stroke", "stylers": [ { "color": "#423b43" }, { "visibility": "on" }, { "weight": 8 } ] } ] } var map = new google.maps.Map(document.getElementById("Gmaps"), optionsMap); setMarkers(map); } google.maps.event.addDomListener(window, 'load', initialize); }); function autoScroll() { //if ($(window).scrollTop() == 0 && $("#menu:hover").length == 0 && $("#topmenu:hover").length == 0) { if ($(window).scrollTop() == 0) { $("html, body").animate({ scrollTop: "350px" }, 2000); } } $('#close_cookie_notification').on( "click", function() { $.cookie('hide_cookie_notification', 'true', { expires: 365 }); $( "#cookie_notification" ).slideToggle(); });