1Event.onDOMReady( function() 2{ 3 if(isCookiesAccepted() == 0) 4 document.getElementById('cookie-warning-main-container').style.visibility = 'visible'; 5 6 return true; 7} ) 8 9function isCookiesAccepted() 10{ 11 var name = "eu_cookies_accepted="; 12 var ca = document.cookie.split(';'); 13 //var cookieVal = ''; 14 for(var i=0; i<ca.length; i++) 15 { 16 var c = ca[i]; 17 while (c.charAt(0)==' ') c = c.substring(1); 18 if (c.indexOf(name) != -1) 19 return c.substring(name.length,c.length); 20 } 21 return 0; 22} 23 24function acceptCookie() 25{ 26 document.cookie="eu_cookies_accepted=1; path=/"; 27 document.getElementById('cookie-warning-main-container').style.display = 'none'; 28}
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.