1//This file common-banner-reload.js is included from ajax-reload.php file and top of the html code. 2//Other file banner-reload.js file will also included from ajax-reload.php file but at end / bottom of the html code. 3function setCookie_Banner(cname, cvalue, exdays, cpath) { 4 var d = new Date(); 5 d.setTime(d.getTime() + (exdays*24*60*60*1000)); 6 var expires = "expires="+d.toUTCString(); 7 //alert(cname + "=" + cvalue + "; " + expires + "; path="+cpath); 8 if (cpath && cpath != 'undefined') 9 document.cookie = cname + "=" + cvalue + "; " + expires + "; path="+cpath; 10 else 11 document.cookie = cname + "=" + cvalue + "; " + expires; 12}//End of function setCookie 13 14//js code to clear the cookie on load of page first time. 15//setCookie_Banner('bannerDisplayed','',1,'/'); 16 17function getCookie_Banner(cname) { 18 var name = cname + "="; 19 var ca = document.cookie.split(';'); 20 for(var i=0; i<ca.length; i++) { 21 var c = ca[i]; 22 while (c.charAt(0)==' ') c = c.substring(1); 23 if (c.indexOf(name) == 0) return c.substring(name.length, c.length); 24 } 25 return ""; 26}//End of function getCookie 27 28//var bannerJsArr = new Array(); 29function sleepFor( sleepDuration ) { 30 var now = new Date().getTime(); 31 while(new Date().getTime() < now + sleepDuration){ /* do nothing */ } 32}//End of function sleepFor
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.