function buildHeader () {

   var text="";

   text += '<TABLE  COLS=3 CELLPADDING="10" WIDTH="640" NOSAVE>';
   text += '<TR>';
      text += '<TD ALIGN="center" VALIGN="top" WIDTH="100">';
         text += '<IMG SRC="logo-Halcyon.gif" WIDTH="100" HEIGHT="132">';
      text += '</TD>';

      text += '<TD ALIGN="center" WIDTH="340">';
         text += '<H1>Halcyon PrimeAlert<FONT SIZE="4"><SUP>&#174</SUP></FONT><BR>';
         text += 'for Sun Application Server</B></H1><BR>';
         text += '<H2>Version 1.0.0</B></H2>';
      text += '</TD>';

      text += '<TD ALIGN="center" VALIGN="top" WIDTH="100">';
         text += '<IMG SRC="logo-PrimeAlert.gif" WIDTH="100" HEIGHT="132">';
      text += '</TD>';
   text += '</TR>';
   text += '</TABLE>';

   text += '<HR ALIGN=LEFT SIZE=4 NOSHADE WIDTH="640">';

   text += '<TABLE border="0" cellspacing="0" CELLPADDING="0" WIDTH="640"><BR>';
   text += '<TR>';
      text += '<TD VALIGN="top">';
         text += '<BLOCKQUOTE><B><FONT SIZE=+1>Contents</FONT></B></BLOCKQUOTE>';
         text += '<UL>';
            text += '<LI><A HREF="HALSunAppServer-h.html">Overview</A></LI>';
            text += '<LI><A HREF="HALSunAppServer-loading-h.html">Module Loading</A></LI>';
            text += '<LI><A HREF="HALSunAppServer-server-h.html">Server</A></LI>';
            text += '<LI><A HREF="HALSunAppServer-ejb-h.html">Enterprise Java Beans</A></LI>';
            text += '<UL>';
                text += '<LI><A HREF="HALSunAppServer-ejb-pools-h.html">EJB Pools</A></LI>';
                text += '<LI><A HREF="HALSunAppServer-ejb-cache-h.html">EJB Cache</A></LI>';
            text += '</UL>';
            text += '<LI><A HREF="HALSunAppServer-jdbc-h.html">JDBC</A></LI>';
            text += '<LI><A HREF="HALSunAppServer-orbs-h.html">ORBs</A></LI>';
            text += '<LI><A HREF="HALSunAppServer-jts-h.html">Java Transaction Services</A></LI>';
            text += '<LI><A HREF="HALSunAppServer-http-h.html">HTTP</A></LI>';
            text += '<UL>';
                text += '<LI><A HREF="HALSunAppServer-http-server-h.html">Server Traffic</A></LI>';
                text += '<LI><A HREF="HALSunAppServer-http-virtual-server-h.html">Virtual Server Traffic</A></LI>';
                text += '<LI><A HREF="HALSunAppServer-http-threads-conns-h.html">Threads and Connections</A></LI>';
                text += '<LI><A HREF="HALSunAppServer-http-thread-pool-h.html">Thread Pool</A></LI>';
            text += '</UL>';
            text += '<LI><A HREF="HALSunAppServer-processes-h.html">Processes</A></LI>';
            text += '<LI><A HREF="HALSunAppServer-logs-h.html">Server Log</A></LI>';
            text += '<LI><A HREF="README">README Documentation</A></LI>';
            text += '<UL>';
               text += '<LI><A HREF="README">README</A></LI>';
               text += '<LI><A HREF="README.install">README.install</A></LI>';
               text += '<LI><A HREF="ReleaseNotes">Release Notes</A></LI>';
               text += '<LI><A HREF="TroubleShooting">TroubleShooting</A></LI>';
            text += '</UL>';
         text += '</UL>';
      text += '</TD>';

      text += '<TD VALIGN="top">';
         text += '<IMG SRC="logo-HALSunAppServer.gif">';
      text += '</TD>';
   text += '</TR>';
   text += '</TABLE>';

   text += '<HR ALIGN=LEFT SIZE=4 NOSHADE WIDTH="640">';

 
 var currentURL=location.href;
 var re = /.*\//;
 currentURL=currentURL.replace(re,"");

 var replaceString = "class=currentPage";

 var searchExp = new RegExp(); 
 searchExp.compile("HREF" + "\\s*=\\s*" + "\"\\s*" + currentURL + "\\s*\""  ,"i");

 text = text.replace(searchExp,replaceString);

 document.write(text);

}

