1(function(){ 2 3var arrAD = []; 4var index; 5var invalidNumber = 0; 6 7 8 9next(); 10 11if(arrAD.length>1){ 12 var interval = setInterval(next,5000); 13} 14 15function next(){ 16 if(arrAD.length===0){ 17 return; 18 } 19 if(index==undefined){ 20 index=0; 21 }else{ 22 index++; 23 if(index>(arrAD.length-1)){ 24 index = 0; 25 invalidNumber = 0; 26 } 27 } 28 if(isInvalid(arrAD[index])){ 29 invalidNumber++; 30 if(invalidNumber===arrAD.length){ 31 invalidNumber = 0; 32 return; 33 } 34 next(); 35 return; 36 } 37 $("#js48").html(arrAD[index].content); 38} 39function isInvalid(ad){ 40 var nowDate = new Date(); 41 if((ad.startTime!=null && nowDate<ad.startTime) || (ad.endTime!=null && ad.endTime<nowDate)){ 42 return true; 43 } 44 return false; 45} 46 47})();
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.