var myNavBar1 = new NavBar(0);
myNavBar1.setSizes(1, 4, 2)
myNavBar1.setColors("#9B1C1C",
  "#ffffff", "#9B1C1C", "#9B1C1C", "#728CAF",
  "#ffffff", "#9B1C1C", "#9B1C1C", "#728CAF");
myNavBar1.setFonts("Arial", "plain", "normal", "10pt",
  "Arial", "plain", "normal", "10pt");
myNavBar1.moveTo(0, 100)

var tempMenu;

tempMenu = new NavBarMenu(0, 100);
tempMenu.addItem(new NavBarMenuItem("| Main |", ""));
tempMenu.addItem(new NavBarMenuItem("Main Page", "index.htm"));
myNavBar1.addMenu(tempMenu);

tempMenu = new NavBarMenu(0, 130);
tempMenu.addItem(new NavBarMenuItem("| About Lansbrook |", ""));
tempMenu.addItem(new NavBarMenuItem("Communities", "lansbrook-communities.htm"));
tempMenu.addItem(new NavBarMenuItem("Amenities", "lansbrook-amenities.htm"));
tempMenu.addItem(new NavBarMenuItem("Street Map", "javascript:window.open('http://mapsonus.switchboard.com/bin/maps-maponly/usr=~40a3c654.50827.45c8.7/c=1/isredir=1','','width=700,height=550')"));
myNavBar1.addMenu(tempMenu);

tempMenu = new NavBarMenu(0, 180);
tempMenu.addItem(new NavBarMenuItem("| Home Info |", ""));
tempMenu.addItem(new NavBarMenuItem("Lansbrook Homes", "lansbrook-homes.htm"));
tempMenu.addItem(new NavBarMenuItem("Area Real Estate Search", "javascript:window.open('tampa-bay-real-estate-search.htm','','width=750,height=550')"));
myNavBar1.addMenu(tempMenu);

tempMenu = new NavBarMenu(0, 220);
tempMenu.addItem(new NavBarMenuItem("| Tips for Home Sellers |", ""));
tempMenu.addItem(new NavBarMenuItem("10 Common Mistakes Sellers Make", "javascript:window.open('10common.htm','','width=500,height=350')"));
tempMenu.addItem(new NavBarMenuItem("Preparing Your Home For Sale", "javascript:window.open('hsw.html','','width=720,height=432')"));
myNavBar1.addMenu(tempMenu);

tempMenu = new NavBarMenu(0, 130);
tempMenu.addItem(new NavBarMenuItem("| Golf Course |", ""));
tempMenu.addItem(new NavBarMenuItem("Golf Shop", "lansbrook-pro-shop.htm"));
tempMenu.addItem(new NavBarMenuItem("Course Info", "lansbrook-golf.htm"));
tempMenu.addItem(new NavBarMenuItem("19th Hole", "19th-hole.htm"));
myNavBar1.addMenu(tempMenu);

tempMenu = new NavBarMenu(0, 180);
tempMenu.addItem(new NavBarMenuItem("| Kathy's Services |", ""));
tempMenu.addItem(new NavBarMenuItem("Personal Services", "personal-services.htm"));
tempMenu.addItem(new NavBarMenuItem("Personal Service Guarantee", "lansbrook-service-guarantee.htm"));
tempMenu.addItem(new NavBarMenuItem("Kathy's Experience", "kathy.htm"));
tempMenu.addItem(new NavBarMenuItem("Contact Kathy", "contact-kathy.htm"));
myNavBar1.addMenu(tempMenu);

var fullWidth;

function init() {

  // Get width of window, need to account for scrollbar width in Netscape.

  fullWidth = getWindowWidth() 
    - (isMinNS4 && getWindowHeight() < getPageHeight() ? 16 : 0);

  myNavBar1.resize(fullWidth);
  myNavBar1.create();
  myNavBar1.setzIndex(2);
}

function resizeGray1() {

  myNavBar1.moveTo(0, 0);
  myNavBar1.resize(fullWidth);
  myNavBar1.setzIndex(2);
  return false;
}

function resizeGray2() {

  myNavBar1.moveTo(fullWidth - myNavBar1.getMinWidth(), 140);
  myNavBar1.resize(myNavBar1.getMinWidth());
  myNavBar1.setzIndex(1);
  return false;
}

function resizeGray3() {

  myNavBar1.moveTo(fullWidth - myNavBar2.getWidth(), 140);
  myNavBar1.resize(myNavBar2.getWidth());
  myNavBar1.setzIndex(1);
  return false;
}

function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=480,height=600,left = 272,top = 84');");
}

