1 2function my_trim( key1 ) 3{ 4 var key = key1; 5 while ( key.length && key.charAt( key.length - 1 ) == " " ) key = key.slice(0, -1); 6 while ( key.length && key.charAt( 0 ) == " " ) key = key.substring( 1 ) ; 7 8 return key; 9} 10 11function drawTreesTree ( foldersTree, nestdir, folderdir ){ 12var path_f = nestdir || ""; 13var folderdir_f = folderdir || "../Trees/"; 14var aux1; 15 16path_f = my_trim( path_f ); 17folderdir_f = my_trim( folderdir_f ); 18 19aux1 = insFld(foldersTree, gFld("Forestry"), ""); /* 14* */ 20insDoc(aux1,gLnk(0,"Forests", path_f + folderdir_f + "forests.htm")); /* 15 */ 21insDoc(aux1,gLnk(0,"Beech", path_f + folderdir_f + "beech.htm")); /* 16 */ 22insDoc(aux1,gLnk(0,"Hawthorn", path_f + folderdir_f + "hawthorn.htm")); /* 17 */ 23insDoc(aux1,gLnk(0,"Hornbeam", path_f + folderdir_f + "hornbeam.htm")); /* 18 */ 24insDoc(aux1,gLnk(0,"Oak", path_f + folderdir_f + "oak.htm")); /* 19 */ 25 26} 27 28function drawTreesLinks(folderdir_f) { 29 var folderdir = ""; 30 if (folderdir_f) folderdir = folderdir_f; 31 32 document.write("<span class='SmallText'>"); 33 document.write("<a class=SmallLink href='" + folderdir + "forests.htm' >♣ Forests </a> "); 34 document.write("<a class=SmallLink href='" + folderdir + "beech.htm' >♣ Beech </a> "); 35 document.write("<a class=SmallLink href='" + folderdir + "hawthorn.htm' >♣ Hawthorn </a> "); 36 document.write("<a class=SmallLink href='" + folderdir + "hornbeam.htm' >♣ Hornbeam </a> "); 37 document.write("<a class=SmallLink href='" + folderdir + "oak.htm' >♣ Oak </a> "); 38 document.write("</span>"); 39}
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.