//10/07/2004 TopMenuBar
//this program will call "navcond.js" to work out the top menu bar linking

var myNavBar1 = new NavBar(0);
var dhtmlMenu;

//define menu items (first parameter of NavBarMenu specifies main category width, second specifies sub category width in pixels)
//add more menus simply by adding more "blocks" of same code below

dhtmlMenu = new NavBarMenu(155, 0);
dhtmlMenu.addItem(new NavBarMenuItem("Home", "http://www.acmefurnitureatlanta.com"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(155, 195);
dhtmlMenu.addItem(new NavBarMenuItem("Products", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Bed Room", "http://www.acmefurnitureatlanta.com/Bedroom.asp"));
dhtmlMenu.addItem(new NavBarMenuItem("Living Room", "http://www.acmefurnitureatlanta.com/Livingroom.asp"));
dhtmlMenu.addItem(new NavBarMenuItem("Dining Room", "http://www.acmefurnitureatlanta.com/Diningroom.asp"));
dhtmlMenu.addItem(new NavBarMenuItem("Accessories", "http://www.acmefurnitureatlanta.com/Accessories.asp"));
//dhtmlMenu.addItem(new NavBarMenuItem("Futon and Sofa Bed", "http://www.acmefurnitureatlanta.com"));
myNavBar1.addMenu(dhtmlMenu);

// JL, 2008.01.25 - per Samantha's request - to remove "On Sale" & "Item Closed Out Sale" menu items
// dhtmlMenu = new NavBarMenu(155, 195);
// dhtmlMenu.addItem(new NavBarMenuItem("On Sale" , ""));
// dhtmlMenu.addItem(new NavBarMenuItem("Oak Bedroom Set", "http://www.acmefurnitureatlanta.com/OnSaleBedRoom2.asp"));
// dhtmlMenu.addItem(new NavBarMenuItem("Dinette Sets", "http://www.acmefurnitureatlanta.com/OnSaleDinette2.asp"));
// dhtmlMenu.addItem(new NavBarMenuItem("Leather Recliner & Finish Chair", "http://www.acmefurnitureatlanta.com/OnSaleChair2.asp"));
// //dhtmlMenu.addItem(new NavBarMenuItem("Kitch Cart & Baker's Rack", "http://"));
// myNavBar1.addMenu(dhtmlMenu);

// JL, 2008.01.25 - per Samantha's request - to remove "On Sale" & "Item Closed Out Sale" menu items
// dhtmlMenu = new NavBarMenu(155, 195);
// dhtmlMenu.addItem(new NavBarMenuItem("Item Closed Out Sale", "http://www.acmefurnitureatlanta.com/CloseOut2.asp"));
// //dhtmlMenu.addItem(new NavBarMenuItem("", "http://"));
// //dhtmlMenu.addItem(new NavBarMenuItem("", "http:"));
// //dhtmlMenu.addItem(new NavBarMenuItem("", "http://"));
// //dhtmlMenu.addItem(new NavBarMenuItem("", "http://"));
// myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(155, 195);
dhtmlMenu.addItem(new NavBarMenuItem("New Items", "http://www.acmefurnitureatlanta.com/NewItems.asp"));
//dhtmlMenu.addItem(new NavBarMenuItem("Classical Collection", "http://"));
//dhtmlMenu.addItem(new NavBarMenuItem("Country Style Set", "http:"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(155, 195);
dhtmlMenu.addItem(new NavBarMenuItem("Careers", "http://www.acmefurnitureatlanta.com/Careers.asp"));
//dhtmlMenu.addItem(new NavBarMenuItem("Classical Collection", "http://"));
//dhtmlMenu.addItem(new NavBarMenuItem("Country Style Set", "http:"));
myNavBar1.addMenu(dhtmlMenu);

//set menu colors
myNavBar1.setColors("#ffffff", "#993300", "#ffcc66", "#d52806", "#c9b404", "#d52806", "#ffcc66", "#ffffff", "#c9b404")

//uncomment below line to center the menu (valid values are "left", "center", and "right"
//myNavBar1.setAlign("center")

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);
  //UNCOMMENT BELOW LINE TO MOVE MENU DOWN 90 pixels
  myNavBar1.moveTo(0, 110);
}


