<!--

document.write("<table width=780 cellpadding=0 cellspacing=0><tr><td align=right><span class='6black'>&copy;1998-" + year + " webmason</span></div></td><tr></table>");

var menuheadings = new Array(
	new Array("home","../home/home.html"),
//	new Array("gallery","http://fcfc.fotopic.net/"),
	new Array("gallery","../gallery/gallery.html"),
	new Array("squad","../squad/squad.html"),
	new Array("fun","../fun/fun" + (Math.floor(Math.random() * 2) + 1) + ".html"),
//	new Array("stats","../stats/stats.html"),
	new Array("stats","../stats/groundstats.html"),
	new Array("grounds","../grounds/grounds.html"),
//	new Array("match reports","../matches/" + year + ".html"),
	new Array("match reports","../matches/2007.html"),
	new Array("tour reports","../tour/reports.html")
//	new Array("planner","http://server.com/WebApps/calendar-add.cgi?unique=8438401")
//	new Array("planner","../planner/planner.html")
);

// var today = new Date("2004","11","14");
// var year = today.getFullYear();
// var month = today.getMonth();
// var date = today.getDate();

var background = "fcfc";
if (( month == 11 ) && ( date <= 25 )) background = "fcfcxmas";
if (( month == 5 ) && ( date == 10 ) && (year == 2006)) background = "fcfcengland";
if (( month == 5 ) && ( date == 15 ) && (year == 2006)) background = "fcfcengland";
if (( month == 5 ) && ( date == 20 ) && (year == 2006)) background = "fcfcengland";
if (( month == 1 ) && ( date == 14 )) background = "fcfcvalentines";
if (( month == 2 ) && ( date == 17 )) background = "fcfcstpatricks";


document.write("<table height=45 cellpadding=2 cellspacing=0 background='../home/" + background + ".jpg' width=780 class='menu'>");
document.write("<tr>");
document.write("<td colspan=" + menuheadings.length + ">");
document.write("<div align=right>");

CheckDST();
writeTable();
startClocks();

document.write(weekday[today.getDay()] + " ");
document.write(today.getDate() + GetSuffix(today.getDate()) + " ");
document.write(months[today.getMonth()] + " ");
document.write(year);
document.write("<img src='../space.gif' width=10 height=10>");
document.write("</div>");
document.write("</td>");
document.write("</tr>");

document.write("<tr>");
for ( i = 0 ; i < menuheadings.length ; i++ ) {
	document.write("<td align=center valign=center>");
	document.write("<img src='../space.gif' width=10 height=10>");
	document.write("<a class='menu' href='" + menuheadings[i][1] + "' title='" + menuheadings[i][0] + "'>" + menuheadings[i][0] + "</a>");
	document.write("<img src='../space.gif' width=10 height=10>");
	document.write("</td>");
}
document.write("</tr>");
document.write("</table>");

// -->
