<!--

/* =======================================================================
  Script ID   : global.js

  Desc        : Include file containing global functions for PHS web site.

  Included by : index.html

  Functions Defined in this File
  NAME            DESCRIPTION
  -------------   ------------------------------------------------------------
  setTop          Resets top.location property thereby reloading the web site.
  setContent      Sets the HREF property for the CONTENT frame.
  -------------   ------------------------------------------------------------

 ========================================================================== */


/** Set top, resets the top.location property thereby reloading the web site.
  *
  * @param  page     : HTML file name that represents the "home" or bootstrap page.
  *         type     : string
  *
  * @param  id       : window id.
  *         type     : string
  *
  */
function setTop( page )      { top.location = page ; }


/** Set Content, sets the HREF property for the CONTENT frame.
  *
  * @param  page     : HTML file name to be loaded into the CONTENT frame.
  *         type     : string
  *
  */
function setContent( page )  { parent.CONTENT.document.location.href = page;  }

// end hide -->

