/*-----------------------------------------------------------------------------
 header.js

 JavaScript code used by the header of pages of Solid Logic's web site.

 Change history (most recent first):

  <1>  01/19/03  Thomas C. Eaton  Created.

 Copyright © 2003 by Solid Logic Computer Solutions Inc.  All rights reserved.
------------------------------------------------------------------------------*/

/*******************************************************************************
 Highlights the specified button in the header navigation bar.
 
 idPrefix  the ID prefix of the HTML elements that this function will highlight.
           For example, if idPrefix is "services", this function will highlight
           the elements services-button-1 and services-button-2, which are the
           visual components of the Services button.
*******************************************************************************/

function header_highlightButton(idPrefix) {
  changeBackgroundColor(idPrefix + "-button-1", "rgb(153, 102, 102)")
  // changeBackgroundColor(idPrefix + "-button-2", "rgb(102, 102, 102)")
}

/*******************************************************************************
 Unhighlights the specified button in the header navigation bar.
 
 idPrefix  the ID prefix of the HTML elements that this function will
           unhighlight.  For example, if idPrefix is "services", this function
           will unhighlight the elements services-button-1 and
           services-button-2, which are the visual components of the Services
           button.
*******************************************************************************/

function header_unhighlightButton(idPrefix) {
  changeBackgroundColor(idPrefix + "-button-1", "rgb(204, 153, 153)")
  // changeBackgroundColor(idPrefix + "-button-2", "rgb(153, 153, 153)")
}

