// navbar.js 2007 

var navURLs = new Array('index08.htm', 'project08.htm', 'rules.htm', 'docs/Enduro08RefForm.pdf "target=#"', 'faq.htm' , 'sponsors.htm' , 'route.htm' , 'docs/eBriefing.pdf "target=#"' , 'participants.htm', 'donations.htm', 'results.htm' );

var linkText = new Array('Project 2008', 'Info', 'Rules', 'Register', 'FAQ', 'Sponsors', 'Route Info' , 'eBriefing' , 'Participants' , 'Donations' ,'Results' );

function navbar() {
	var navStr= '';
	for (var i = 0; i < navURLs.length; i++) {
//	if (location.href != navURLs[i]) {  Uncomment this line and comment 
	if (location.href.indexOf(navURLs[i]) == -1) {	
// this one when not browsing locally
	navStr += '|' + '<A HREF="' + navURLs[i] + '"> ' + linkText[i] + ' </A>' + '|'; 
			}
		}
	document.writeln(''+navStr);
	}
