1function getfirstchildtag(node,tag) { 2 // finds first child of node that is of type tag 3 if(node.tagName==tag) return node; 4 else if(node.hasChildNodes)for(var i=0;i<node.childNodes.length;i++) { 5 var r=getfirstchildtag(node.childNodes[i],tag); 6 if(r) return r; 7 } 8 return null; 9} 10 11function openlink(node) { 12 var link=getfirstchildtag(node,'A'); 13 if(link) window.location=link.href; 14} 15 16function labelclick(node) { 17// var input=getfirstchildtag(node,'INPUT'); 18// var type=input.getAttribute('type'); 19// if(type=='radio') input.checked=true; 20// else if(type=='checkbox') input.checked=!(input.checked); 21// else if(type=='text') input.focus(); 22} 23 24
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.