var bar = new NavBar(0);
var menu;

bar.setColors("#fff7d7", "#fff7d7", "#5e767e", "#5e767e", "#ead0ae", "#5e767e", "#ead0ae", "#fff7d7", "#5e767e");
bar.setFonts("tahoma", "plain", "bold", "8pt", "tahoma", "plain", "plain", "8pt");
bar.setSizes(2, 4, 2);
bar.setAlign("center");
bar.moveTo(0, 0);

menu = new NavBarMenu(65, 0);
menu.addItem(new NavBarMenuItem("<center>HOME</center>", "/"));
bar.addMenu(menu);

menu = new NavBarMenu(100, 150);
menu.addItem(new NavBarMenuItem("<Center>ABOUT US</center>", "javascript:window.top.location:='/services/'"));
menu.addItem(new NavBarMenuItem("Who Are We?", "javascript:window.top.location='/services/index.html#who'"));
menu.addItem(new NavBarMenuItem("Robert Najemy", "javascript:window.top.location='/services/index.html#robert'"));
menu.addItem(new NavBarMenuItem("Activities", "javascript:window.top.location='/services/index.html#activities'"));
menu.addItem(new NavBarMenuItem("Seminars", "javascript:window.top.location='/services/index.html#self'"));
bar.addMenu(menu);

menu = new NavBarMenu(100, 150);
menu.addItem(new NavBarMenuItem("<Center>MONTHLY</center>", "javascript:window.top.location='/monthly/'"));
menu.addItem(new NavBarMenuItem("Life Capsules", "javascript:window.top.location='/monthly/month1.html'"));
menu.addItem(new NavBarMenuItem("Life stories and Lessons", "javascript:window.top.location='/monthly/month7.html'"));
menu.addItem(new NavBarMenuItem("Inner Journies", "javascript:window.top.location='/monthly/month3.html'"));
menu.addItem(new NavBarMenuItem("Contemporary Parables", "javascript:window.top.location='/monthly/month8.html'"));
menu.addItem(new NavBarMenuItem("Self-Knowledge Excercises", "javascript:window.top.location='/monthly/month2.html'"));
menu.addItem(new NavBarMenuItem("Yoga Excercises", "javascript:window.top.location='/monthly/month6.html'"));
menu.addItem(new NavBarMenuItem("Health Suggestions", "javascript:window.top.location='/monthly/month4.html'"));
menu.addItem(new NavBarMenuItem("I-Messages", "javascript:window.top.location='/monthly/month5.html'"));
menu.addItem(new NavBarMenuItem("Archives", "javascript:window.top.location='/members/download/archives/'"));
bar.addMenu(menu);

menu = new NavBarMenu(0, 150);
menu.addItem(new NavBarMenuItem("<Center>LIFE CLARIFICATION</center>", "javascript:window.top.location='/lcp/'"));
menu.addItem(new NavBarMenuItem("Mission", "javascript:window.top.location='/lcp/index.html#mission'"));
menu.addItem(new NavBarMenuItem("List of Possibilities", "javascript:window.top.location='/lcp/index.html#possibilities'"));
menu.addItem(new NavBarMenuItem("View Applications", "javascript:window.top.location='/lcp/index.html#applications'"));
bar.addMenu(menu);

menu = new NavBarMenu(100, 150);
menu.addItem(new NavBarMenuItem("<Center>MEMBERS</center>", "javascript:window.top.location='/members/'"));
menu.addItem(new NavBarMenuItem("Take the Tour", "javascript:window.top.location='/tour/join1.html'"));
menu.addItem(new NavBarMenuItem("Become A Member", "javascript:window.top.location='https://www.readysecure.com/users/holisticharmonycom/join.html'"));
menu.addItem(new NavBarMenuItem("Log in", "javascript:window.top.location='/login/'"));
menu.addItem(new NavBarMenuItem("Lost Password?", "javascript:window.top.location='/lostpassword.html'"));
bar.addMenu(menu);

menu = new NavBarMenu(95, 150);
menu.addItem(new NavBarMenuItem("<Center>SHOP</center>", "javascript:window.top.location='/store/'"));
menu.addItem(new NavBarMenuItem("Featured Items", "javascript:window.top.location='/store/index.html#featured'"));
menu.addItem(new NavBarMenuItem("Books", "javascript:window.top.location='/store/books.html'"));
menu.addItem(new NavBarMenuItem("Chapter Descriptions", "javascript:window.top.location='/store/chapters'"));
menu.addItem(new NavBarMenuItem("Cassettes", "javascript:window.top.location='/store/cassettes.html'"));
menu.addItem(new NavBarMenuItem("Postcards", "javascript:window.top.location='/store/postcards.html'"));
menu.addItem(new NavBarMenuItem("Download Order Form", "javascript:window.top.location='/orderform.pdf'"));
menu.addItem(new NavBarMenuItem("Safe and Secure Shopping", "javascript:window.top.location='/terms.html'"));

bar.addMenu(menu);

menu = new NavBarMenu(90, 150);
menu.addItem(new NavBarMenuItem("<center>INTERACT</CENTER>", "/interact/"));
menu.addItem(new NavBarMenuItem("Contact", "javascript:window.top.location='/interact/'"));
bar.addMenu(menu);

menu = new NavBarMenu(90, 150);
menu.addItem(new NavBarMenuItem("<CENTER>ABOUT</center>", "/about/"));
menu.addItem(new NavBarMenuItem("About us", "javascript:window.top.location='/about/'"));
menu.addItem(new NavBarMenuItem("Terms of Use", "javascript:window.top.location='/terms.html'"));
menu.addItem(new NavBarMenuItem("Site Map", "javascript:window.top.location='/sitemap.html'"));
bar.addMenu(menu);


var fullWidth;

function init() {

  // Get width of window, need to account for scrollbar width in Netscape.

  fullWidth = getWindowWidth() 
    - (isMinNS4 && getWindowHeight() < getPageHeight() ? 16 : 0);

  bar.resize(fullWidth);
  bar.create();
  bar.setzIndex(2);
}
