function tableheader() {

  var wHeight, wWidth, sHeight, sWidth, bitDepth;

  // catch the sizes of screen and viewable window
  if (document.all){
    wHeight = document.body.scrollHeight;
    wWidth = document.body.clientWidth;
    sHeight = screen.height;
    sWidth = screen.width;
    bitDepth = screen.colorDepth; 
  }
  else if (document.layers){
    wHeight = window.innerHeight;
    wWidth = window.innerWidth;
    sHeight = screen.height;
    sWidth = screen.width;
    bitDepth = screen.colorDepth;
  }



document.write("<table border='0' cellpadding='0' cellspacing='0' width='787' height=");
document.write(wHeight);
document.write("> ");
document.write("    <tr>");
// bgcolor='rgb(60,111,177)' bgcolor='#3C6FB1'
document.write("        <td colspan=2 bgcolor='#3C6FB1'><a><img src='/pics/logo.gif' width='189' height='80'></a></td>");
document.write("        <td bgcolor='#3C6FB1'><a><img src='/pics/title_cover.gif' width='598'");
document.write("        height='80'></a></td>");
document.write("    </tr>");
document.write("    <tr><td valign=top bgcolor='#3C6FB1' width=132>");

document.write("<table border='0' width=100% cellpadding='0' cellspacing='0'>");
document.write("    <tr> ");
document.write("        <td align='left' valign='top'> <img src='/pics/foreground.gif' border='0' width='132' height='100'> </td>");
document.write("    </tr><tr><td>");
document.write("<table border='0' width=100% cellpadding='0' cellspacing='0'>");
document.write("    <tr>");
document.write("        <td align='left' valign='top'><a href='/index.html'><img");
document.write("        src='/pics/main.gif' border='0' width='132' height='42'");
document.write("        onmouseover=\"src='/pics/main_over.gif'\"");
document.write("        onmouseout=\"src='/pics/main.gif'\"></a></td>");
document.write("    </tr>");
document.write("    <tr>");
document.write("        <th align='left' valign='top'><a");
document.write("        href='/introduction.html'><img src='/pics/intro.gif'");
document.write("        border='0' width='132' height='42'");
document.write("        onmouseover=\"src='/pics/intro_over.gif'\"");
document.write("        onmouseout=\"src='/pics/intro.gif'\"></a></th>");
document.write("    </tr>");
document.write("    <tr>");
document.write("        <th align='left' valign='top'><a");
document.write("        href='/cgi-bin/builder.pl'><img src='/pics/build.gif'");
document.write("        border='0' width='132' height='42'");
document.write("        onmouseover=\"src='/pics/build_over.gif'\"");
document.write("        onmouseout=\"src='/pics/build.gif'\"></a></th>");
document.write("    </tr>");
document.write("    <tr>");
document.write("        <th align='left' valign='top'><a");
document.write("        href='/cgi-bin/results.pl'><img src='/pics/results.gif'");
document.write("        border='0' width='132' height='42'");
document.write("        onmouseover=\"src='/pics/results_over.gif'\"");
document.write("        onmouseout=\"src='/pics/results.gif'\"></a></th>");
document.write("    </tr>");
document.write("    <tr>");
document.write("        <th align='left' valign='top'><a href='/references.html'><img");
document.write("        src='/pics/ref.gif' border='0' width='132' height='42'");
document.write("        onmouseover=\"src='/pics/ref_over.gif'\"");
document.write("        onmouseout=\"src='/pics/ref.gif'\"></a></th>");
document.write("    </tr>");
document.write("    <tr>");
document.write("        <th align='left' valign='top'><a href='/sponsors.html'><img");
document.write("        src='/pics/sponsor.gif' border='0' width='132'");
document.write("        height='42' onmouseover=\"src='/pics/sponsor_over.gif'\"");
document.write("        onmouseout=\"src='/pics/sponsor.gif'\"></a></th>");
document.write("    </tr>");
document.write("    <tr>");
document.write("        <th align='left' valign='top'><a href='/contact.html'><img");
document.write("        src='/pics/contact.gif' border='0' width='132'");
document.write("        height='42' onmouseover=\"src='/pics/contact_over.gif'\"");
document.write("        onmouseout=\"src='/pics/contact.gif'\"></a></th>");
document.write("    </tr>");
//document.write("    <tr>");
//document.write("        <th align='left' valign='top' width='132'><img");
//document.write("        src='/pics/foreground.gif' width='132' height='42'>");
//document.write("</th>");
//document.write("    </tr>");
document.write("</table></td></tr>");
document.write("</table>");

document.write("   </td><td width=57></td><td valign=top>");

}

function tabletail() {

document.write("</td></tr></table>");
document.write("<!-- Start of StatCounter Code -->");
document.write("<script type='text/javascript'>");
document.write("var sc_project=4023246; ");
document.write("var sc_invisible=1; ");
document.write("var sc_partition=31; ");
document.write("var sc_click_stat=1; ");
document.write("var sc_security='3b9b010f'; ");
document.write("</script>");
document.write("<script type='text/javascript' src='http://www.statcounter.com/counter/counter.js'></script><noscript><div class='statcounter'><a title='site stats' href='http://www.statcounter.com/' target='_blank'><img class='statcounter' src='http://c.statcounter.com/4023246/0/3b9b010f/1/' alt='site stats' ></a></div></noscript>");
document.write("<!-- End of StatCounter Code -->");


}

function colortop_profile() {

        document.write("<table width=%100 cellpadding=1 cellspacing=0 border=0 bgcolor=6699ff>");
        document.write("  <tr>");
        document.write("    <td>");
        document.write("      <table width=100% cellpadding=0 cellspacing=0 border=0  bgcolor=white>");
        document.write("        <tr>");
        document.write("          <td>");
        document.write("            <table width=100% cellpadding=0 cellspacing=0 border=0>");
        document.write("              <tr bgcolor=lightblue>");

        document.write("                <td align = center><font size='4'><strong>Model Profile</strong></font></td>");

        document.write("              </tr>");
        document.write("              <tr valign=top>");
        document.write("                <td>");

}

function colortop_damping() {

        document.write("<table width=%100 cellpadding=1 cellspacing=0 border=0 bgcolor=6699ff>");
        document.write("  <tr>");
        document.write("    <td>");
        document.write("      <table width=100% cellpadding=0 cellspacing=0 border=0  bgcolor=white>");
        document.write("        <tr>");
        document.write("          <td>");
        document.write("            <table width=100% cellpadding=0 cellspacing=0 border=0>");
        document.write("              <tr bgcolor=lightblue>");

        document.write("                <td align = center><font size='4'><strong>Rayleigh Damping</strong></font></td>");

        document.write("              </tr>");
        document.write("              <tr valign=top>");
        document.write("                <td>");

}


function colortop_soilproperties() {

        document.write("<table width=%100 cellpadding=1 cellspacing=0 border=0 bgcolor=6699ff>");
        document.write("  <tr>");
        document.write("    <td>");
        document.write("      <table width=100% cellpadding=0 cellspacing=0 border=0  bgcolor=white>");
        document.write("        <tr>");
        document.write("          <td>");
        document.write("            <table width=100% cellpadding=0 cellspacing=0 border=0>");
        document.write("              <tr bgcolor=lightblue>");

        document.write("                <td align = center>");
        document.write("                  <font size='4'><strong>Soil Properties</strong></font>");
        document.write("                ");
        document.write("                    <font size=2>(<a");
        document.write("                    href=\"../../../../../intro_modelParam.html#top\">view");
        document.write("                    properties here</a>)</font></td>");

        document.write("              </tr>");
        document.write("              <tr valign=top>");
        document.write("                <td>");

}


function colortop_inputmotion() {

        document.write("<table width=%100 cellpadding=1 cellspacing=0 border=0 bgcolor=6699ff>");
        document.write("  <tr>");
        document.write("    <td>");
        document.write("      <table width=100% cellpadding=0 cellspacing=0 border=0  bgcolor=white>");
        document.write("        <tr>");
        document.write("          <td>");
        document.write("            <table width=100% cellpadding=0 cellspacing=0 border=0>");
        document.write("              <tr bgcolor=lightblue>");

        document.write("                <td align = center><font size='4'><strong>Input Motion </strong></font><font size=2><a");
        document.write("                                    href=\"javascript:input_motion()\">(view");
        document.write("                                    motions here)</a></font></td>");

        document.write("              </tr>");
        document.write("              <tr valign=top>");
        document.write("                <td>");

}



function colorbase() {

        document.write("                </td>");
        document.write("              </tr>");
        document.write("            </table>");
        document.write("          </td>");
        document.write("        </tr>");
        document.write("      </table>");
        document.write("    </td>");
        document.write("  </tr>");
        document.write("</table>");

}












