1jQuery(document).ready(function() { 2 3 if (document.cookie.indexOf("visited") < 0) { 4 // Date()'s toGMTSting() method will format the date correctly for a cookie 5 var date = new Date(); 6 var dias = 365; 7 date.setTime(date.getTime()+(dias * 86400000)); 8 document.cookie = "visited=yes; expires=" + date.toGMTString() + "; path=/"; 9 jQuery('#cookies_advice').removeClass('hide'); 10 } 11 12 if (jQuery('.close_advice').length) { 13 jQuery('.close_advice').click(function() { 14 jQuery('#cookies_advice').toggle("slow"); 15 }); 16 } 17})
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.