/*
Top Navigational Bar II (By Mike Hall)
Last updated: 00/05/08
Permission granted and modified by Dynamicdrive.com to include script in archive
For this and 100's more DHTML scripts, visit http://dynamicdrive.com
*/

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(96, 0);
dhtmlMenu.addItem(new NavBarMenuItem("        ", ""));
myNavBar1.addMenu(dhtmlMenu);


dhtmlMenu = new NavBarMenu(60, 0);
dhtmlMenu.addItem(new NavBarMenuItem("Home", "http://www.northhempstead.com/ftp/ourcommunity/newcassel/home.html"));
myNavBar1.addMenu(dhtmlMenu);


dhtmlMenu = new NavBarMenu(160, 160);
dhtmlMenu.addItem(new NavBarMenuItem("Planning Documents", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Envisioning a 'New' New Cassel - The Vision Plan", "docs/VisionPlanforNewCassel.pdf"));
dhtmlMenu.addItem(new NavBarMenuItem("New Cassel Urban Renewal Plan", "http://www.northhempstead.com/ftp/ourcommunity/newcassel/urp.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Map", "pai.html"));

myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(200, 200);
dhtmlMenu.addItem(new NavBarMenuItem("Realizing A 'New' New Cassel", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Redevelopment Projects in New Cassel - Phase 1", "http://www.northhempstead.com/ftp/ourcommunity/newcassel/rfp1.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Request For Proposals Issued For Redevelopment of Four Additional Sites", "http://www.northhempstead.com/ftp/ourcommunity/newcassel/rfp2.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Brownfeld Opportunity Area (BOA) Grant", "http://www.northhempstead.com/ftp/ourcommunity/newcassel/boa.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(250, 250 );
dhtmlMenu.addItem(new NavBarMenuItem("In The News", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Press Releases", "press.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Ground Breaking Ceremony - Comming soon", ""));
dhtmlMenu.addItem(new NavBarMenuItem("News Articles", "news.html"));

myNavBar1.addMenu(dhtmlMenu);





//set menu colors  DEE7F7
//                   Border    Text Color   Background   Mouse over text color   Mouse over background      Drop down font color  Drop down background       Drop down mouse over text color    Drop down mouse over background color
myNavBar1.setColors("#325f17", "#eefdce",   "#325f17",   "#ffffff",              "#325f17",                 "white",              "#4c9023",                 "white",                           "#000032")

//uncomment below line to center the menu (valid values are "left", "center", and "right"
//NavBar1.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(780);
  myNavBar1.create();
  myNavBar1.setzIndex(2);
  //UNCOMMENT BELOW LINE TO MOVE MENU DOWN 50 pixels
  myNavBar1.moveTo(0, 55);
}

