PageSourceSearch

https://montegodata.co.uk/frameWest/Trees.js

js montegodata.co.uk collected 2026-10-08 16:47:28 UTC 1,764 bytes, 39 lines download raw bytes

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'  >&#9827; Forests            </a>&nbsp;");
34    document.write("<a class=SmallLink href='" + folderdir + "beech.htm'    >&#9827; Beech              </a>&nbsp;");
35    document.write("<a class=SmallLink href='" + folderdir + "hawthorn.htm' >&#9827; Hawthorn           </a>&nbsp;");
36    document.write("<a class=SmallLink href='" + folderdir + "hornbeam.htm' >&#9827; Hornbeam           </a>&nbsp;");
37    document.write("<a class=SmallLink href='" + folderdir + "oak.htm'      >&#9827; Oak                </a>&nbsp;");
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.