1var win = window; // window to search. 2var n = 0; 3function findInPage(str) { 4if (document.all) intik= setInterval("findInPage2('"+str+"')",200) 5if (!document.all && !window.opera && document.getElementById) window.find(str, false); //false=case insensitive 6} 7function findInPage2(str) { 8 9 var txt, i, found; 10 if (str == "") 11 return false; 12 13 if (document.all) { 14 15 txt = win.document.body.createTextRange(); 16 for (i = 0; i <= n && (found = txt.findText(str)) != false; i++) { 17 txt.moveStart("character", 1); 18 txt.moveEnd("textedit"); 19 } 20 if (found) { 21 txt.moveStart("character", -1); 22 txt.findText(str); 23 txt.pasteHTML("<span style=\"background-color:highlight;color:highlighttext\">"+str+"</span>"); 24 if (n==0)txt.scrollIntoView(); 25 26 n++; 27 }else { 28 if (n > 0) { 29 n = 0; 30 clearInterval(intik); 31 } 32 else 33 { 34return false;} 35 } 36 } 37return false; 38} 39 40 41 42/* var jak="ne"; var textik;var titlik=" (kliknutím návrat na miniatury)"; 43function fotoSt(zdroj,stary){ 44if(jak=="ne") { 45titulek=zdroj.firstChild.title+titlik; 46if (zdroj.id!="FotkaHneda2.jpg") {zdroj.style.borderStyle="inset"; 47zdroj.style.backgroundColor="silver";} 48document.getElementById("vnitrek").style.display="none"; 49document.getElementById("nahled").style.display="block"; 50document.getElementById("nahled").innerHTML="<div style=\"text-align:center\"><a onclick=\"fotoSt('','"+zdroj.id+"')\"><img title=\""+titulek+"\" style=\"cursor:pointer;_cursor:hand;border:outset white 2px\" src='"+zdroj.href+"'\" border=\"0\"></a><h5>"+zdroj.firstChild.title+titlik+"<h5></a></div>"; 51jak="jo";titlik=""; 52} else { 53document.getElementById("vnitrek").style.display="block"; 54document.getElementById("nahled").style.display="none"; 55var srovnani=winH()-document.getElementById("content").offsetTop-15; 56//alert(document.getElementById(stary).offsetTop+"\n"+srovnani) 57if(document.getElementById(stary).offsetTop>srovnani) document.getElementById(stary).scrollIntoView(true); 58 59jak="ne"; 60} 61} */ 62 63var jak="ne"; var textik;var titlik=" (kliknutím návrat na miniatury)"; 64function fotoSt(zdroj,stary,staryTop,odkud){ 65if(jak=="ne") { 66var odscrolovano; 67if (document.documentElement && document.documentElement.scrollTop) 68 odscrolovano = document.documentElement.scrollTop; 69else odscrolovano = document.body.scrollTop; 70zdroj.firstChild.style.borderStyle="inset"; 71zdroj.firstChild.style.backgroundColor="silver"; 72document.getElementById("vnitrek").style.display="none"; 73document.getElementById("nahled").style.display="block"; 74if (odkud=="titulni") popisek=zdroj.firstChild.title; 75else popisek=zdroj.lastChild.data; 76document.getElementById("nahled").innerHTML="<div style=\"text-align:center;\"><a onclick=\"fotoSt('','"+zdroj.id+"','"+odscrolovano+"')\"><img title=\""+zdroj.lastChild.data+titlik+"\" alt=\""+zdroj.href+"\" style=\"cursor:pointer;_cursor:hand;border:outset white 2px\" src='"+zdroj.href+"'\" border=\"0\"></a><h5>"+popisek+titlik+"<h5></a></div>"; 77jak="jo";titlik=""; 78} else { 79document.getElementById("vnitrek").style.display="block"; 80document.getElementById("nahled").style.display="none"; 81 82document.getElementById(stary).focus(); 83if (document.documentElement && document.documentElement.scrollTop) 84document.documentElement.scrollTop=staryTop; 85else document.body.scrollTop=staryTop; 86 87jak="ne"; 88} 89} 90 91function okno(src,sirka,vyska){ 92open(src,'',''+sirka+','+vyska+',top=10,left=10,toolbar=no,directories=no,resizable=yes,menubar=no,scrollbars=yes,status=no') 93} 94function pruhy(){ 95tr=document.getElementsByTagName('tr'); 96for(var i=0;i<tr.length;i++){ 97if (((i%2)==0)&(i!=0)) tr[i].style.backgroundColor="#FFF0D8"; 98else tr[i].style.backgroundColor="#D8C4A8"; 99} 100} 101function barva(kolik){ 102if (kolik==0) 103return "gray"; else return "blue"; 104}
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.