// menu.js
// Nikitas Marangos 5/1/06
// nmarangos@gmail.com
// If you want to edit links go down to where it says "links go HERE"

// create a new Link
function Link(pageTitle, pageURL){
	this.pageTitle = pageTitle;
	this.pageURL = pageURL;
}

// show a link
function showLink(linkToShow){
	document.write("&nbsp; \n");
	document.write("<a class=\"topBarLinks\" href=\"");
	document.write(linkToShow.pageURL);
	document.write("\"> ");
	document.write(linkToShow.pageTitle);
	document.write(" </a> \n");
	document.write("&nbsp;");
}

// The links go HERE
var LINKS = new Array();
LINKS[0] = new Link("Home", "http://www.eden.rutgers.edu/~hca");
LINKS[1] = new Link("About Us", "about.html");
LINKS[2] = new Link("Calendar", "cal.php");
LINKS[3] = new Link("Gallery", "pics.html");
LINKS[4] = new Link("Links", "link.html");
LINKS[5] = new Link("Culture", "info.html");
LINKS[6] = new Link("Forum", "forum/");

// show the links
for (i=0; i<LINKS.length; i++){
	if (LINKS[i] != undefined){
		showLink(LINKS[i]);
	}
}
