myNavBar1.border = 1;
myNavBar1.padding = 2;
//myNavBar1.itmFontWeight = "normal";
// setColors parameter definition:
//setColors(bdColor, hdrFgColor, hdrBgColor, hdrHiFgColor, hdrHiBgColor, itmFgColor, itmBgColor, itmHiFgColor, itmHiBgColor)
myNavBar1.setColors("#000000", "#FFFFFF", "#6699CC", "#FFFFFF", "#000080","#000000", "#E7E7E7", "#000000", "#FFFFCC");
//This has no effect in NS?
//myNavBar1.setFonts("Verdana, Helvetica, sans-serif", "plain", "bold", "12","Verdana, Helvetica, sans-serif", "plain", "normal", "10")

var fullWidth;

function init()
{
  // Get width of window, need to account for scrollbar width in Netscape.

  fullWidth = getWindowWidth() - (isMinNS4 && getWindowHeight() < getPageHeight() ? 16 : 0);
  //fullWidth = getWindowWidth();
  //fullWidth=800;
  
  //myNavBar1.resize(fullWidth);
  myNavBar1.resize(myNavBar1.getMinWidth());
  myNavBar1.create();
  myNavBar1.moveTo(fullWidth-myNavBar1.getMinWidth(), 0);
  myNavBar1.setzIndex(2);
  
  //The onLoad method of the scrolling marquee had to be moved here
  //Can't have more than one onLoad call
  if(DISPLAY_MARQUEE)
    regenerate2();
}
