function buildHeader () {

   var currentURL=location.href;
   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<SUP>&#174</SUP><BR>'; 
         text += 'SystemMonitor Module for Windows</H1><BR>';
         text += '<H2>Version 1.1.0</B></H2>';
      text += '</TD>';

      text += '<TD ALIGN="center" VALIGN="top" WIDTH="100">';
         text += '<IMG SRC="pa-logo.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="HALWinSystemAlert-h.html">Overview</a></li>';
         text += '<li><a href="HALWinSystemAlert-loading-h.html">Loading the PrimeAlert SystemMonitor Module for Windows</a></li>';
         text += '<li><a href="HALWinSystemAlert-main-h.html">PrimeAlert SystemMonitor Module for Windows Console Window</a></li>';
         text += '<li><a href="HALWinSystemAlert-overview-h.html">System Overview Folder</a></li>';
         text += '<li><a href="HALWinSystemAlert-disk-h.html">Disk Information Folder</a></li>';
         text += '<li><a href="HALWinSystemAlert-proc-h.html">Processor Information Folder</a></li>';
         text += '<li><a href="HALWinSystemAlert-object-h.html">Object Information Folder</a></li>';
         text += '<li><a href="HALWinSystemAlert-alarm-h.html">Setting Alarm Limits</a></li>';
         text += '</UL>';
      text += '</TD>';

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

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

 
 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);

}

