
// signature email and footer information
	{
	var Mth = new Array('January','February','March','April','May','June','July','August','September','October','November','December');
	var dt = new Date();
	var y  = dt.getFullYear();
	var m  = dt.getMonth();
	var contact = "Brisbane&#32;City&#32;Football&#32;Club&#32;Ltd.";
	var email = "secretary";
	var emailHost = "brisbanecityfootball&#46;com&#46;au";
	}
// in the body tag of the page containing the form, be sure to 
// <body OnLoad="placeFocus()"> put the onload function in the body tag
	function placeFocus() 
	{			
		if (document.forms.length > 0) 
		{
			var field = document.forms[0];
			for (i = 0; i < field.length; i++) 
			{
				if ((field.elements[i].type == "text") || (field.elements[i].type == "textarea") || (field.elements[i].type.toString().charAt(0) == "s")) 
				{
				document.forms[0].elements[i].focus();
				break;
				}
			}
		}
	}
	
	window.onload = function()
	{
	var htmlStyle = document.getElementsByTagName('html')[0].style;
	var bodyStyle = document.body.style;
	bodyStyle.scrollbarFaceColor = htmlStyle.scrollbarFaceColor = '#0000ff';
	bodyStyle.scrollbarArrowColor = htmlStyle.scrollbarArrowColor = '#cccc99';
	bodyStyle.scrollbarTrackColor = htmlStyle.scrollbarTrackColor = '#efefef';
	bodyStyle.scrollbarShadowColor = htmlStyle.scrollbarShadowColor = '#cccc99';
	bodyStyle.scrollbarHighlightColor = htmlStyle.scrollbarHighlightColor = '#e4e4e4';
	bodyStyle.scrollbar3dlightColor = htmlStyle.scrollbar3dlightColor = '#e4e4e4';
	bodyStyle.scrollbarDarkshadowColor = htmlStyle.scrollbarDarkshadowColor = '#607C8C';
	placeFocus() 
	}	
// banner area - table 1 - blue bg 
document.write("<table width='100%' height='180' border='0' cellspacing='0' cellpadding='0' align='center'>"); 	
document.write("<tbody style='background: #99CCFF url(images/grandstand08.gif) no-repeat left;'>");
document.write("<tr><td width='100%' valign='bottom' align='center'>"); 	//height='180'
document.write("<p class='pcenter'> ");
document.write("<a class='menu' href='index.asp' target='_self'>&nbsp;Home&nbsp;</a> ");
document.write("<a class='menu' href='history.asp'>&nbsp;About&nbsp;Us&nbsp;</a> ");
document.write("<a class='menu' href='juniorsjoining.asp' rel='noindex nofollow'>&nbsp;Football&nbsp;</a> "); 
document.write("<a class='menu' href='calendar.asp' rel='noindex nofollow'>&nbsp;Calendar&nbsp;</a> ");
document.write("<a class='menu' href='news.asp' rel='noindex nofollow'>&nbsp;News&nbsp;</a> ");
document.write("<a class='menu' href='sponsors.asp'>&nbsp;Sponsors&nbsp;</a> ");
document.write("<a class='menu' href='contact.asp' rel='noindex nofollow'>&nbsp;Contact&nbsp;Us&nbsp;</a> ");
document.write("<a class='menu' href='juniorsfootballcommunity.asp' rel='noindex nofollow'>&nbsp;Community Program&nbsp;</a>&nbsp;");
document.write("<a class='menu' href='memberlogin.asp' rel='noindex nofollow'>&nbsp;Members&nbsp;</a>&nbsp;");
document.write("</p>");
document.write("</td></tr></tbody></table>");
// end page header - banner area - table 1 - 

// table 2 - outside table
	var screenwidth, midColWidth, lrColWidth;
	if (window.innerWidth) {	// if mozilla/netscrape/whatever
		var initialWidth = window.innerWidth;
		var initialHeight = window.innerHeight;
	  }
	if (document.body.offsetWidth) {	// if iE
		var initialWidth = document.body.offsetWidth;	
		var initialHeight = document.body.offsetHeight;	
	  }
	screenwidth = initialWidth;
	lrColWidth = 340;
//outside table beneath menu bar - define width table 2
	if (screenwidth <= 1024) 
		{
		document.write("<table width='98%' ");
		}
	else 			//if (screenwidth > 1024) 
		{
		document.write("<table width='1000' ");
		}
	midColWidth = screenwidth - lrColWidth - 2;
//	alert("mid col w = " + midColWidth);
	document.write(" align='left' border='0' bordercolor='blue' cellspacing='0' cellpadding='0'><tbody>");
	document.write("<tr><td><img src='blank.gif' border='0' width='170' height='1'></td>");
	document.write("<td width='");
	document.write(midColWidth);
	document.write("'>&nbsp;</td>");
	document.write("<td><img src='blank.gif' border='0' width='170' height='1'></td></tr>");