Kirchberg Startseite Kontakt Impressum

Drucken

-A +A

Aktuelles

16.12.2013
Bürozeiten Stadtbürgermeister Udo Kunz
...
06.05.2010

„Kirchberg-live“ auch in diesem Jahr mit vielfältigem Programm
 
Auch in diesem Sommer wird Kirchberg, die älteste...

08.04.2010

Ansprechpartner: Rolf Schmidt
Telefon-Nr. 06763-960003

Großes Rahmenprogramm

Livemusik- Custombikes -...

var domIsReady = (function (domIsReady) { var isBrowserIeOrNot = function () { return (!document.attachEvent || typeof document.attachEvent === 'undefined' ? 'not-ie' : 'ie'); } domIsReady = function (callback) { if (callback && typeof callback === 'function') { if (isBrowserIeOrNot() !== 'ie') { document.addEventListener('DOMContentLoaded', function () { return callback(); }); } else { document.attachEvent('onreadystatechange', function () { if (document.readyState === 'complete') { return callback(); } }); } } else { console.error('The callback is not a function!'); } } return domIsReady; })(domIsReady || {}); (function (document, window, domIsReady, undefined) { domIsReady(function () { var cookieButton = document.getElementById('eu_cookie_button'); cookieButton.addEventListener('click', function (e) { // prevent the button from actually submitting the form e.preventDefault(); // immediately remove cookie message from dom var cookieForm = document.getElementById('eu_cookie_form'); cookieForm.parentNode.removeChild(mCCForm); // now let's send the request to place the cookie // we could set the cookie via js, // but the code with all user defined settings is already there var xhr = new XMLHttpRequest(); xhr.open('POST', './', true); xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest'); xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); xhr.send('action=acceptCookies'); }); }); })(document, window, domIsReady);