
  // What browser are we in?
  ns4 = (document.layers) ? true : false;
  ie  = (document.all) ? true : false;
  ns6 = (!document.all && document.getElementById) ? true : false;

  // What are the dimensions of the page / window?
  if (ie)
  {
    windowWidth  = document.body.offsetWidth - 20;
    windowHeight = document.body.offsetHeight;

    // show the vertical scrollbar (even if disabled)
    document.body.style.overflowY = "scroll";
    // hide the horizontal scrollbar
    document.body.style.overflowX = "hidden";
  }
  else if (ns4 || ns6)
  {
    windowWidth = window.innerWidth;
    windowHeight = window.innerHeight;
  }

  ////
  //
  // Description:
  //  If the layer is visible, it will hide it.
  //  If the layer is hidden, it will make it visible.
  //
  // Parameters:
  //  layerID    = the "id" parameter of a "div" tag
  //
  function showToggle(layerID)
  {
    if      (ie)  layer = eval (layerID + '.style');
    else if (ns4) layer = eval ('document.' + layerID);
    else if (ns6) layer = document.getElementById( layerID ).style;
  
    layer.display = ('' == layer.display ? 'none' : '');
  }
