1 function cookiesave(n, v, mins, dn, path){ 2 if(n) 3 { 4 if(!mins) mins = 365 * 24 * 60; 5 //if(!mins) mins = 1; 6 if(!path) path = "/"; 7 var date = new Date(); 8 date.setTime(date.getTime() + (mins * 60 * 1000)); 9 var expires = "; expires=" + date.toGMTString(); 10 if(dn) dn = "domain=" + dn + "; "; 11 document.cookie = n + "=" + v + expires + "; " + dn + "path=" + path; 12 } 13 } 14 15 function cookieget(n){ 16 var name = n + "="; 17 var ca = document.cookie.split(';'); 18 for(var i=0;i<ca.length;i++) { 19 var c = ca[i]; 20 while (c.charAt(0)==' ') c = c.substring(1,c.length); 21 if (c.indexOf(name) == 0) return c.substring(name.length,c.length); 22 } 23 return ""; 24 } 25 function closeclick(){ 26 document.getElementById('privacy-prompt').style.display='none'; 27 cookiesave('closeclick','closeclick','','',''); 28 } 29 function clickclose(){ 30 if(cookieget('closeclick')=='closeclick'){ 31 document.getElementById('privacy-prompt').style.display='none'; 32 }else{ 33 document.getElementById('privacy-prompt').style.display='inline-block'; 34 } 35 } 36 37 window.onload=clickclose; 38 39function myFunction() { 40 document.getElementById("privacy-prompt").style.display='none'; 41}
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.