function WHCreateCookie(e,o,i){var n=new Date;n.setTime(n.getTime()+24*i*60*60*1e3);var t="; expires="+n.toGMTString();document.cookie=e+"="+o+t+"; path=/"}function WHReadCookie(e){for(var o=e+"=",i=document.cookie.split(";"),n=0;n<i.length;n++){for(var t=i[n];" "==t.charAt(0);)t=t.substring(1,t.length);if(0==t.indexOf(o))return t.substring(o.length,t.length)}return null}function WHCheckCookies(){if("T"!=WHReadCookie("cookies_accepted")){var e=document.createElement("div");e.id="cookies-message-container";var o='<div id="cookies-message" style="padding: 10px 0px; font-size: 14px; line-height: 22px; border-top: 1px solid rgb(211, 208, 208); text-align: center; position: fixed; bottom: 0px; background-color: #E2E3E4; width: 100%; z-index: 999;">Ta strona używa plików cookies w celu świadczenia usług na najwyższym poziomie. Więcej informacji można znaleźć w naszej <a href="/polityka-prywatnosci.html">Polityce Prywatności   </a><a href="javascript:WHCloseCookiesWindow();" id="accept-cookies-checkbox" name="accept-cookies" type="button" class="btn btn-success btn-sm">Rozumiem <span class="glyphicon glyphicon-remove" aria-hidden="true"></span></a></div>';e.innerHTML=o,document.body.appendChild(e)}}function WHCloseCookiesWindow(){WHCreateCookie("cookies_accepted","T",365),document.getElementById("cookies-message-container").removeChild(document.getElementById("cookies-message"))}window.onload=WHCheckCookies;