function headerStart()
{
  if (parent.frames.length != 0)
  {
    //hides home link when in frames
    document.write("<style>.homeLink { display: none; }</style>");
    document.write("<style>.framesHide { display: none; }</style>");
  }
}

function writeHomeDivStart()
{
  var x=parent.document.getElementsByName("Navigation");
  
  //if not in a GBC frameset
  if ((x!=null)&&(x.length > 0 ))
  {
    //hide the following paragraph if in a GBC frameset
    document.write("<div style='display: none;}'>");
  }
}

function writeHomeDivEnd()
{
  var x=parent.document.getElementsByName("Navigation");
  
  //if not in a GBC frameset
  if ((x!=null)&&(x.length > 0 ))
  {
    //close the DIV tag that hides the preceeding paragraph if in a GBC frameset
    document.write("</div>");
  }
}