1/*! 2 * CookieAlert v1.1 3 * http://cookiealert.sruu.pl/ 4 * 5 * Created by Klocek 6 * http://klocus.pl/ 7 */ 8var CookieAlert={defines:{divID:'CookieAlert',cookieName:'agreeCookies',cookieValue:'yes',cookieExpire:3},options:{style:'dark',position:'bottom',opacity:1,displayTime:0,text:'Ten serwis wykorzystuje pliki cookies. Korzystanie z witryny oznacza zgodÄ na ich zapis lub odczyt wg ustawieÅ przeglÄ darki.'},setCookie:function(name,value,expire){document.cookie=name+"="+escape(value)+((expire===null)?"":("; expires="+expire.toGMTString()))+"; path=/"},checkCookie:function(name){if(document.cookie!==""){var toCookie=document.cookie.split("; ");for(i=0;i<toCookie.length;i++){var CookieName=toCookie[i].split("=")[0];var CookieValue=toCookie[i].split("=")[1];if(CookieName==name)return unescape(CookieValue)}}},removeDiv:function(divID){var div=document.getElementById(divID);document.body.removeChild(div);var expire=new Date();expire.setMonth(expire.getMonth()+this.defines.cookieExpire);this.setCookie(this.defines.cookieName,this.defines.cookieValue,expire)},fadeOut:function(opacity,divID){div=document.getElementById(divID);div.style.opacity=opacity/100;div.style.filter='alpha(opacity='+opacity+')';if(opacity==1){div.style.display='none';done=true}},init:function(options){var CA=CookieAlert;window.onload=function(){for(var key in options){CA.options[key]=options[key]}var div=document.createElement('div');div.setAttribute('id',CA.defines.divID);var style='position:fixed;'+CA.options.position+':-1px;left:0px;right:0px;text-align:center;width:100%;z-index:1000;padding:10px;font-family:Arial;font-size:14px;opacity:'+CA.options.opacity+';';switch(CA.options.style){case'light':style+='background-color:#FFF; color:#373737; text-shadow: 1px 1px 0px rgba(0,0,0,0.1); border-top:1px solid #ccc; border-bottom:1px solid #ccc; box-shadow:0px 0px 8px rgba(0, 0, 0, 0.15);';break;case'dark':style+='background-color:#1b1b1b; color:#999; text-shadow: 1px 1px 0px rgba(255,255,255,0.1); border-top:1px solid #444; border-bottom:1px solid #444; box-shadow:0px 0px 8px rgba(0, 0, 0, 0.15);';break}div.setAttribute('style',style);var content=CA.options.text+' <a href="'+CA.options.cookiePolicy+'"><span class="glyphicon glyphicon-question-sign" style="border:0;position:absolute;top:9px;right:55px;" title="Informacje o ciasteczkach"/></a> <span class="glyphicon glyphicon-remove-sign" id="CookieAlertClose" style="border:0;position:absolute;top:9px;right:30px;cursor:pointer;" title="Zamknij komunikat"/>';div.innerHTML=content;if(CA.checkCookie(CA.defines.cookieName)!=CA.defines.cookieValue){document.body.appendChild(div);document.getElementById('CookieAlertClose').addEventListener('click',function(){CA.removeDiv(CA.defines.divID)},false);if(CA.options.displayTime>0){setTimeout(function(){for(var i=100;i>=1;i--){setTimeout("CookieAlert.fadeOut("+i+", CookieAlert.defines.divID)",(i-100)*-1*5)}},CA.options.displayTime)}}}}};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.