1 <!-- 2 function GoThere(yourname) 3 { 4 whoyou = yourname.value; 5 whoyou = Replace(whoyou, "'", ""); //clip out single quotes 6 whoyou = Replace(whoyou, ":", "_"); // replace colon, 7 whoyou = Replace(whoyou, "/", "_"); // and slash 8 whoyou = Replace(whoyou, " ", "_"); // and spaces. 9 10 window.location.href="http://www.genealogybuff.com/surname_research/data11.htm" + "#" + whoyou; 11 } 12 13 function Replace ( target, todo, withwhat) 14 { var fixme = target; // load string to alter (into fixme) 15 var atpos = fixme.indexOf(todo); // find position of string to replace 16 while ( atpos > -1) // while still to replace.. 17 { fixme = fixme.substring(0,atpos) 18 + withwhat 19 + fixme.substring(todo.length + atpos); //replace 20 atpos = fixme.indexOf(todo); // find next position (if exists) 21 }; // .. end while 22 return fixme; // return altered string 23 } 24 25 26 //-->
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.