//This Javascript write a dynamic menu to the page.

var NUMBERofLINKS = 4;
var Menu=" ";

var LINK=new Array();
LINK[0]="index.htm";
LINK[1]="cal.htm";
LINK[2]="photo.htm";
LINK[3]="form.htm";
LINK[4]="venturing.htm";
//LINK[5]=""; //Insert the filenames of new pages

var LINKNAME=new Array();
LINKNAME[0]="Home";
LINKNAME[1]="Calendar";
LINKNAME[2]="Photos";
LINKNAME[3]="Forms";
LINKNAME[4]="Venturing";
//LINKNAME[5]=""; //Insert the title that the user sees of new pages

for(var i=0; i<=NUMBERofLINKS; i++)
{
	Menu+='<li><a href="';
	Menu+=LINK[i];
	Menu+='">';
	Menu+=LINKNAME[i];
	Menu+='</a></li>';
}
document.getElementById("nav").innerHTML=Menu;



