var color1="#FFFFFF" // background 
var color2="#000099" // text color 

var color3="#008080" // border color
var color4="#003399" // Title color 
var color5="#5B8484" // color for text titles
var color6="#CC3300" // color for red (highlighted menu links)
var color7="#FFCC66" // gold/orange background color for menus


function simIndexHead(banner,title) {

document.write("<BODY BGCOLOR='"+color1+"'>");
document.write("<STRONG>");
document.write("<table border='0' width='626'>");
document.write("<tr>");
document.write("<td width='24'>");
document.write("<img border='0' src='spacer.gif' width='24' height='1'>");
document.write("</td>");
document.write("<td width='100%'>");
document.write("<STRONG>");

document.write("<TABLE BORDER=0 CELLPADDING=5 WIDTH=600 bordercolorlight='"+color3+"'>");
document.write("<TR>");
document.write("<TD width='50%'>");
document.write("<P><font face='Arial'>");
// document.write("<img border='0' src='"+banner+"' width='147' height='69'>");
document.write("<img border='0' src='"+banner+"' >");
document.write("</font></P>");
document.write("</TD>");
document.write("<TD width='50%' valign='middle' align='left'>");
document.write("<p align='left'>");
document.write("<font size='4' face='Arial' color='"+color4+"'>")
document.write("<strong><b>"+title+"</b></strong>")
document.write("</font></P>"); 
document.write("</TD>");
document.write("</TR>");
document.write("</TABLE>");

document.write("</STRONG>");
document.write("<HR width='600' align='left' size='3' color='"+color3+"'>");
}

// Table with links to setups and simulators goes here

function simIndexFoot() {

document.write("<p>");
document.write("<HR width='600' align='left' size='3' color='"+color3+"'>");

document.write("<font face='Arial' size='2'>");
document.write("Copyright © 2011 San Diego State University Foundation");
document.write("</font>");

document.write("</p>");
document.write("</td>");
document.write("</tr>");
document.write("</table>");
document.write("</STRONG>");
document.write("</BODY>");

}
