
// assumes that c:\inetpub\wwwroot\montego\jscript\leftmenu.js has been included
// see DEVELOPER NOTE [Educate] BusinessArticles.js aux1=insFld(foldersTree,gFld("Business Articles"),"");

function my_trim( key1 )
{
	var key = key1;
	while ( key.length && key.charAt( key.length - 1 ) == " "  ) key = key.slice(0, -1);
	while ( key.length && key.charAt( 0 ) == " " ) key = key.substring( 1 ) ;		
	
	return key;
}

function Educate ( foldersTree, nestdir, folderdir )
{
var path_f = nestdir || "";
var folderdir_f = folderdir	|| "Educate/";
var aux1;

path_f      = my_trim( path_f );
folderdir_f = my_trim( folderdir_f );


aux1=insFld(foldersTree,gFld("African Wild Life Pictures"),"");								/*  1* */
insDoc(aux1,gLnk(0,"African Wild Life",					path_f + folderdir_f + "wildlife.htm"));	/*	2  */
insDoc(aux1,gLnk(0,"Buffalo",							path_f + folderdir_f + "buffalo.htm"));	/*	3  */
insDoc(aux1,gLnk(0,"Cheetah",							path_f + folderdir_f + "cheetah.htm"));	/*	4  */
insDoc(aux1,gLnk(0,"Elephant",							path_f + folderdir_f + "elephant.htm"));	/*	5  */
insDoc(aux1,gLnk(0,"Lion",								path_f + folderdir_f + "lion.htm"));		/*	6  */
insDoc(aux1,gLnk(0,"Rhinoceros",						path_f + folderdir_f + "rhino.htm"));		/*	7  */
aux1=insFld(foldersTree,gFld("Education News"),"");											/*  8* */
insDoc(aux1,gLnk(0,"English Monarchs",					path_f + folderdir_f + "Monarchs.htm"));	/*	9  */
insDoc(aux1,gLnk(0,"Solar System",						path_f + folderdir_f + "planets.asp"));	/* 10  */
insDoc(aux1,gLnk(0,"UK Rivers",							path_f + folderdir_f + "rivers.htm"));	/* 11  */
insDoc(aux1,gLnk(0,"Jokes",								path_f + folderdir_f + "jokes.htm"));		/* 12  */
insDoc(aux1,gLnk(0,"Abdominal Exercise",				path_f + folderdir_f + "exercise.htm"));		/* 13  */

aux1=insFld(foldersTree,gFld("Forestry"),"");												/* 14* */
insDoc(aux1,gLnk(0,"Forests",							path_f + folderdir_f + "forests.htm"));	/* 15  */
insDoc(aux1,gLnk(0,"Beech",								path_f + folderdir_f + "beech.htm"));		/* 16  */
insDoc(aux1,gLnk(0,"Hawthorn",							path_f + folderdir_f + "hawthorn.htm"));	/* 17  */
insDoc(aux1,gLnk(0,"Hornbeam",							path_f + folderdir_f + "hornbeam.htm"));	/* 18  */
insDoc(aux1,gLnk(0,"Oak",								path_f + folderdir_f + "oak.htm"));		/* 19  */
}

