//// Dynamic page footer generator.// MLB - 11/08/2002//// Uses same format array as navbarfunction Footer (tabs, format){	this.tabs = tabs;	this.format = format;	this.draw = function()	{			if (tabs != null && format != null) {			document.write("<br>");			document.write("<table class='header-banner' bgcolor='" + this.format[FOOTER_COLOR] + "' cellpadding='0' cellspacing='0'>");			document.write("<tr><td width='100%'><img src='" + this.format[CLEARPIXEL] + "' height='1' width='" + getPageWidth(0) + "'></td></tr>");			document.write("</table>");			numtabs = this.tabs.length;			fontClass = "footer-link";			if (isOlderNetscape()) {				fontClass = "old-netscape-footer-link";			}			document.write("<center>");			for (i = 0;  i < numtabs;  i++) {				if (i > 0) {					document.write("<span class='" + fontClass + "'>&nbsp;&nbsp;|&nbsp;&nbsp;</span>");				}				if (this.tabs[i][2] == null) {					document.write("<a href='" + this.tabs[i][1] + "'><span class='" + fontClass + "'>" + this.tabs[i][0] + "</span></a>");				} else {					document.write("<a href='" + this.tabs[i][1] + "' onmouseover='self.status=\"" + this.tabs[i][2] + 					"\"; return true' onmouseout='self.status=\"\"'><span class='" + fontClass + "'>" + this.tabs[i][0] + "</span></a>");				}			}			document.write("</center>");						document.write("<table class='header-banner' bgcolor='" + this.format[FOOTER_COLOR] + "' cellpadding='0' cellspacing='0'>");			document.write("<tr><td width='100%'><img src='" + this.format[CLEARPIXEL] + "' height='1' width='" + getPageWidth(0) + "'></td></tr>");			document.write("</table>");			document.write("<img src='" + this.format[CLEARPIXEL] + "' height='4' width='1'><br>");			document.write("<a href='" + this.format[FOOTER_LINK] + "'><span class='small-link'>&nbsp;&nbsp;&copy; Michael Benson, 1997-2010</span></a>");			document.write("<br><br>");		}				this.drawBottomMargin();	}	this.drawBottomMargin = function()	{		document.write("</td><td class='page-background-color'><img src='" + this.format[CLEARPIXEL] + "' width='15' height='15' border='0'></td>");		document.write("<tr><td class='page-background-color' colspan='3'><img src='" + this.format[CLEARPIXEL] + "' width='15' height='15' border='0'></td></tr>");		document.write("</table>");	}}