//==================================================================================================
// renderHeader
//==================================================================================================
function renderHeader( barSize, logo, header ) {
  document.write(
    '<table class=outer-table border=0 bordercolor=red cellpadding="0" cellspacing="0" >' +
      '<tr><td class=dark-blue-background height=' + barSize + '></td><tr>' +
      '<tr>' +
        '<td>' +
          '<table border=0 bordercolor=green cellpadding="0" cellspacing="0" width=100% >' +
            '<tr><td height=3></td></tr>' +
            '<tr>' +
              '<td>' +
                ( logo == "gs" ? "<img src='/images/gsLogo.gif' height='55px' width='200px' />" : "<a href='/'><img src='/images/GothamLogo.gif' height='55px' width='175px' border='0px' /></a>" ) +
              '</td>' +
              '<td height=100% valign=top>' +
                '<table border=0 bordercolor=blue cellpadding=0 cellspacing=0 height=100% width=100% >' +
                  '<tr>' +
                    '<td class=ancillary-text valign=top align=right >'
    );
  renderAncillaryLinks();
  document.write(
                    '</td>' +
                  '</tr>' +
                  '<tr><td class=page-title>' + ( header == null ? "&nbsp;" : header ) + '</td></tr>' +
                '</table>' +
              '</td>' +
            '</tr>' +
          '</table>' +
        '</td>' +
      '</tr>' +
    '</table>'
    );
  }

//==================================================================================================
// renderSubHeader
//==================================================================================================
function renderSubHeader( barSize ) {
  document.write(
/*
    '<map id="map_LifeCycle" name="map_LifeCycle">' +
      '<area coords="6,18,55,3" href="/strategy.html" >' +
      '<area coords="66,18,136,3" href="/assessment.html" >' +
      '<area coords="147,18,231,3" href="/implementation.html" >' +
      '<area coords="244,18,290,3" href="/training.html" >' +
      '<area coords="302,18,344,3" href="/sunset.html" >' +
    '</map>' +
*/
    '<table class="outer-table" border=0 bordercolor=red cellpadding="0" cellspacing="0" >' +
      '<tr><td class=dark-blue-background height="21px"></td></tr>' +
      '<tr>' +
        '<td class="dark-blue-background normal-text subheader-links">' +
          '<a href="/partners.aspx">Partners</a> | <a href="/casestudies.html">Publications</a> | <a href="/press.html">Press</a>' +
        '</td>' +
      '</tr>' +
      '<tr><td class=dark-blue-background height=4></td></tr>' +
    '</table>'
    );
  }

//==================================================================================================
// renderAncillaryLinks
//==================================================================================================
function renderAncillaryLinks() {
  document.write(
    '<a class=ancillary-link href="/aboutus.html">About Us</a>' +
    '&nbsp; | &nbsp;' +
    '<a class=ancillary-link href="/events/index.aspx">Events</a>' +
    '&nbsp; | &nbsp;' +
//    '<a class=ancillary-link href="/news.html">News</a>' +
//    '&nbsp; | &nbsp;' +
    '<a class=ancillary-link href="/careers.html" >Careers</a>' +
    '&nbsp; | &nbsp;' +
    '<a class=ancillary-link href="/contactus.html" >Contact Us</a>' +
    '&nbsp; | &nbsp;' +
    '<a class=ancillary-link href="/support" target=_support>Support</a>' +
    '&nbsp; | &nbsp;' +
    '<a class=ancillary-link href="/" >Home</a>' +
    '&nbsp;&nbsp;'
    );
  }

//==================================================================================================
// renderFooter
//==================================================================================================
function renderFooter() {
  document.write(
    '<table class=outer-table border=0 bordercolor=red cellpadding=0 cellspacing=0 >' +
      '<tr><td class=gray-background colspan=2 height=1></td></tr>' +
      '<tr><td height=5></td></tr>' +
      '<tr valign=top>' +
        '<td class=ancillary-text align=left valign=top>' +
          '&nbsp;&nbsp;' +
          '<a class=ancillary-link href="/partners.aspx" onMouseOver="javascript:return true;" title="Partners & Products" >Partners</a>' +
          '&nbsp;|&nbsp;' +
          '<a class=ancillary-link href="/casestudies.html" onMouseOver="javascript:return true;" title="Case Studies, White Papers and Newsletters" >Publications</a>' +
          '&nbsp;|&nbsp;' +
          '<a class=ancillary-link href="/press.html" onMouseOver="javascript:return true;" title="Press" >Press</a>' +
        '</td>' +
        '<td class=ancillary-text align=right valign=top>'
    );
  renderAncillaryLinks();
  document.write(
        '</td>' +
      '</tr>' +
      '<tr><td height=4></td></tr>' + 
      '<tr><td class=copyright colspan=2 align=center >Copyright 2009, Gotham Technology Group, LLC</td></tr>' +
      '<tr><td height=5></td></tr>' +
      '<tr><td class=gray-background colspan=2 height=1></td></tr>' +
    '</table>'
    );
/*
  document.write(
    '<script type="text/javascript">' +
      'try {' +
      '  _uacct = "UA-2331007-3";' +
      '  urchinTracker();' +
      '}' +
      'catch ( ex ) {' +
      '  }' +
    '</script>'
    );
*/
  }

//==================================================================================================
// renderLeftNav
//==================================================================================================
function renderLeftNav( page ) {
  document.write(
    '<table border=0 bordercolor=green cellpadding="0" cellspacing="0" width=100% >' +
      '<tr valign="top"><td colspan="2"><img src="/images/DotClear.gif" width=1 height=5 border=0></td></tr>' +
      '<tr valign="top"><td colspan="2"><img src="/images/DotClear.gif" width=1 height=10 border=0></td></tr>' +
      '<tr><td><a href="/virtualization.html" class="left-nav-link' + ( page == 'virtualization' ? '-sel' : '' ) + '"><span>Virtualization</span></a></td></tr>' +
      '<tr valign="top"><td colspan="2"><img src="/images/DotClear.gif" width=1 height=2 border=0></td></tr>' +
      '<tr valign="top"><td colspan="2"><img src="/images/DotLightGrey.gif" width=168 height=1 border=0></td></tr>' +
      '<tr valign="top"><td colspan="2"><img src="/images/DotClear.gif" width=1 height=2 border=0></td></tr>' +
      '<tr><td><a href="/infrastructure.html" class="left-nav-link' + ( page == 'infrastructure' ? '-sel' : '' ) + '"><span>Infrastructure</span></a></td></tr>' +
      '<tr valign="top"><td colspan="2"><img src="/images/DotClear.gif" width=1 height=2 border=0></td></tr>' +
      '<tr valign="top"><td colspan="2"><img src="/images/DotLightGrey.gif" width=168 height=1 border=0></td></tr>' +
      '<tr valign="top"><td colspan="2"><img src="/images/DotClear.gif" width=1 height=2 border=0></td></tr>' +
      '<tr><td><a href="/storage.html" class="left-nav-link' + ( page == 'storage' ? '-sel' : '' ) + '"><span>Storage</span></a></td></tr>' +
      '<tr valign="top"><td colspan="2"><img src="/images/DotClear.gif" width=1 height=2 border=0></td></tr>' +
      '<tr valign="top"><td colspan="2"><img src="/images/DotLightGrey.gif" width=168 height=1 border=0></td></tr>' +
      '<tr valign="top"><td colspan="2"><img src="/images/DotClear.gif" width=1 height=2 border=0></td></tr>' +
      '<tr><td><a href="/security.html" class="left-nav-link' + ( page == 'security' ? '-sel' : '' ) + '"><span>Security</span></a></td></tr>' +
      '<tr valign="top"><td colspan="2"><img src="/images/DotClear.gif" width=1 height=2 border=0></td></tr>' +
      '<tr valign="top"><td colspan="2"><img src="/images/DotLightGrey.gif" width=168 height=1 border=0></td></tr>' +
      '<tr valign="top"><td colspan="2"><img src="/images/DotClear.gif" width=1 height=2 border=0></td></tr>' +
      '<tr><td><a href="/appdev.html" class="left-nav-link' + ( page == 'appdev' ? '-sel' : '' ) + '"><span>Application Development</span></a></td></tr>' +
      '<tr valign="top"><td colspan="2"><img src="/images/DotClear.gif" width=1 height=2 border=0></td></tr>' +
      '<tr valign="top"><td colspan="2"><img src="/images/DotLightGrey.gif" width=168 height=1 border=0></td></tr>' +
      '<tr valign="top"><td colspan="2"><img src="/images/DotClear.gif" width=1 height=2 border=0></td></tr>' +
      '<tr><td><a href="/staffing.html" class="left-nav-link' + ( page == 'staffing' ? '-sel' : '' ) + '"><span>Staffing</span></a></td></tr>' +
      '<tr valign="top"><td colspan="2"><img src="/images/DotClear.gif" width=1 height=2 border=0></td></tr>' +
      '<tr valign="top"><td colspan="2"><img src="/images/DotLightGrey.gif" width=168 height=1 border=0></td></tr>' +
      '<tr valign="top"><td colspan="2"><img src="/images/DotClear.gif" width=1 height=2 border=0></td></tr>' +
      '<tr><td><a href="/training.html" class="left-nav-link' + ( page == 'training' ? '-sel' : '' ) + '"><span>Training</span></a></td></tr>' +
      '<tr valign="top"><td colspan="2"><img src="/images/DotClear.gif" width=1 height=2 border=0></td></tr>' +
      '<tr valign="top"><td colspan="2"><img src="/images/DotLightGrey.gif" width=168 height=1 border=0></td></tr>' +
      '<tr valign="top"><td colspan="2"><img src="/images/DotClear.gif" width=1 height=2 border=0></td></tr>' +
      '<tr><td><a href="/gs.html" class="left-nav-link' + ( page == 'government' ? '-sel' : '' ) + '"><span>Government Solutions</span></a></td></tr>' +
      '<tr valign="top"><td colspan="2"><img src="/images/DotClear.gif" width=1 height=2 border=0></td></tr>' +
      '<tr valign="top"><td colspan="2"><img src="/images/DotLightGrey.gif" width=168 height=1 border=0></td></tr>' +
      '<tr valign="top"><td colspan="2"><img src="/images/DotClear.gif" width=1 height=12 border=0></td></tr>' +
    '</table>'
    );
  }
