..........................................................................................................................................................................................................................................................................
2009-2011  foto-kielar.pl | Fotografia slubna, zdjecia slubne, Nowy Tomysl ,Poznan, Buk,Opalenica,Wolsztyn,Zbaszyn,Grodzisk Wlkp.,Szamotuly,Pniewy
Copyright 2009 by Bartosz Kielar. Wszelkie prawa zastrzezone. Wykonanie strony Bartosz Kielar
function WHCreateCookie(name, value, days) { var date = new Date(); date.setTime(date.getTime() + (days*24*60*60*1000)); var expires = "; expires=" + date.toGMTString(); document.cookie = name+"="+value+expires+"; path=/"; } function WHReadCookie(name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); for(var i=0; i < ca.length; i++) { var c = ca[i]; while (c.charAt(0) == ' ') c = c.substring(1, c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length); } return null; } window.onload = WHCheckCookies; function WHCheckCookies() { if(WHReadCookie('cookies_accepted') != 'T') { var message_container = document.createElement('div'); message_container.id = 'cookies-message-container'; var html_code = '
Ta strona używa ciasteczek (cookies), dzięki którym nasz serwis może działać lepiej. Dowiedz się więcejRozumiem
'; message_container.innerHTML = html_code; document.body.appendChild(message_container); } } function WHCloseCookiesWindow() { WHCreateCookie('cookies_accepted', 'T', 365); document.getElementById('cookies-message-container').removeChild(document.getElementById('cookies-message')); }