1var a = document.getElementsByTagName("a"); 2 3for(var i = 0; i < a.length; i++) 4{ 5 if(a[i].id != '' && a[i].id.charAt(0) == 'b') 6 { 7 a[i].onmousedown = countBannerClick; 8 } 9} 10 11function countBannerClick() 12{ 13 var tp = this.id.charAt(0); 14 15 if(tp != 'b') 16 { 17 return true; 18 } 19 20 if(this.id.length < 2) 21 { 22 return true; 23 } 24 25 itemid = this.id.substring(1); 26 if(parseInt(itemid.charAt(0)) < 1 || itemid.match(/\D/)) 27 { 28 return true; 29 } 30 i = new Image(); 31 h = Math.random(); 32 33 i.src= root + 'banner-count.php?id=' + itemid + '&type='+tp+'&h='+h; 34 35 return true; 36}
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.