
navOff = new Array();
navOn = new Array();
names = new Array();
names = [null, "credits", "contact", "mailinglist"];

for (var i=1; i<=3; i++) {
	navOff[i] = new Image();
	navOn[i] = new Image();
	navOff[i].src = "images/midfooter_" + names[i] + "_off.gif";
	navOn[i].src = "images/midfooter_" + names[i] + "_on.gif";
}

function select(num) {
	document["f" + num].src = navOn[num].src;
}

function deselect(num) {
	document["f" + num].src = navOff[num].src;
}

function credits() {
	creditwindow = window.open("credits.html", "credits", 
'toolbar=no,location=no,directories=no,menubar=no,status=yes,width=350,height=165,resizable=no,scrollbars=no');

	if (window.focus)
		creditwindow.focus();
}

document.write('<table border="0" align="center" cellpadding="0" cellspacing="0"><tr>');
document.write('<td colspan="7"><img src="images/midfooter_line.gif" alt="" width="517" height="1" /></td></tr><tr>');
document.write('<td><img src="images/midfooter_copyright.gif" alt="&copy; Robot Is The Future" width="179" height="22" /></td>');
document.write('<td><img src="images/midfooter_bullet.gif" alt="*" width="12" height="22" /></td>');
document.write('<td><a href="javascript:credits()" onmouseover="select(1)" onmouseout="deselect(1)"><img src="images/midfooter_credits_off.gif" alt="Site Credits" name="f1" width="85" height="22" border="0" id="f1" /></a></td>');
document.write('<td><img src="images/midfooter_bullet.gif" alt="*" width="12" height="22" /></td>');
document.write('<td><a href="mailto:info@robotisthefuture.com" onmouseover="select(2)" onmouseout="deselect(2)"><img src="images/midfooter_contact_off.gif" alt="Contact Us" name="f2" width="81" height="22" border="0" id="f2" /></a></td>');
document.write('<td><img src="images/midfooter_bullet.gif" alt="*" width="12" height="22" /></td>');
document.write('<td><a href="mailto:list@robotisthefuture.com?subject=add me" onmouseover="select(3)" onmouseout="deselect(3)"><img src="images/midfooter_mailinglist_off.gif" alt="Join the Mailing List" name="f3" width="136" height="22" border="0" id="f3" /></a></td></tr></table>');
