var myNavBar = new NavBar(0);
var tempMenu;

myNavBar.setSizes(0, 2, 1);
myNavBar.setColors("#000000", "#ebd789", "#000000", "#000000", "#c0b070", "#ebd789", "#000000", "#000000", "#ebd789");
myNavBar.setFonts("Arial, Helvetica", "plain", "bold", "9pt", "Arial, Helvetica", "plain", "bold", "9pt");
myNavBar.setAlign("center");

tempMenu = new NavBarMenu(0, 0);
tempMenu.addItem(new NavBarMenuItem("&nbsp; Home&nbsp; ", "/index.html"));
myNavBar.addMenu(tempMenu);
                     
tempMenu = new NavBarMenu(0, 105);
tempMenu.addItem(new NavBarMenuItem("&nbsp; Products&nbsp; ", "/products/products.html"));
tempMenu.addItem(new NavBarMenuItem("Drill Heads", "/products/drillheads/drillheads.html"));
tempMenu.addItem(new NavBarMenuItem("NC Heads", "/products/drillheads/MCH Pages3.htm"));
tempMenu.addItem(new NavBarMenuItem("Feed Units", "/products/feedunits/feedunits.html"));
tempMenu.addItem(new NavBarMenuItem("Workholding", "/products/workholding/workholding.html"));
tempMenu.addItem(new NavBarMenuItem("Machinery", "/products/machinery/machinery.html"));
tempMenu.addItem(new NavBarMenuItem("Applications", "/products/applications/applications.html"));
tempMenu.addItem(new NavBarMenuItem("Others Products", "/products/otherproducts.html"));
myNavBar.addMenu(tempMenu);

tempMenu = new NavBarMenu(00, 130);
tempMenu.addItem(new NavBarMenuItem("&nbsp; Customer Support&nbsp; ", "/contact/support/customersupport.html"));
tempMenu.addItem(new NavBarMenuItem("Representation", "/contact/representation.html"));
tempMenu.addItem(new NavBarMenuItem("Expediting", "/contact/expediting.html"));
tempMenu.addItem(new NavBarMenuItem("Repairs/Field Service", "/service/repairsfieldservice.html"));
tempMenu.addItem(new NavBarMenuItem("Replacement Parts", "/parts/replacementparts.html"));
tempMenu.addItem(new NavBarMenuItem("Ordering", "/contact/ordering.html"));
myNavBar.addMenu(tempMenu);

tempMenu = new NavBarMenu(0, 115);
tempMenu.addItem(new NavBarMenuItem("&nbsp; Engineering&nbsp; ", "/engineering/engineering.html"));
tempMenu.addItem(new NavBarMenuItem("Capabilities", "/engineering/capabilities.html"));
tempMenu.addItem(new NavBarMenuItem("Quality Assurance", "/engineering/qualityassurance.html"));
tempMenu.addItem(new NavBarMenuItem("Ask Our Experts", "/engineering/askourexperts.html"));
tempMenu.addItem(new NavBarMenuItem("CAD Templates", "/engineering/cadtemplates.php"));
tempMenu.addItem(new NavBarMenuItem("Glossary", "/engineering/glossary.html"));
myNavBar.addMenu(tempMenu);

tempMenu = new NavBarMenu(0, 110);
tempMenu.addItem(new NavBarMenuItem("&nbsp; What's New&nbsp; ", "/news/whatsnew.html"));
tempMenu.addItem(new NavBarMenuItem("News Releases", "/news/newsreleases.html"));
tempMenu.addItem(new NavBarMenuItem("Public Relations", "/news/publicrelations.html"));
tempMenu.addItem(new NavBarMenuItem("Upcoming Events", "/news/upcomingevents.html"));
tempMenu.addItem(new NavBarMenuItem("Success Stories", "/news/successstories.html"));
myNavBar.addMenu(tempMenu);

tempMenu = new NavBarMenu(00, 150);
tempMenu.addItem(new NavBarMenuItem("&nbsp; Profile&nbsp; ", "/about/profile.html"));
tempMenu.addItem(new NavBarMenuItem("Company History", "/about/companyhistory.html"));
tempMenu.addItem(new NavBarMenuItem("Location", "/about/location.html"));
tempMenu.addItem(new NavBarMenuItem("Company Contacts", "/about/companycontacts.html"));
tempMenu.addItem(new NavBarMenuItem("Professional Affiliations", "/about/professionalaffiliations.html"));
myNavBar.addMenu(tempMenu);

tempMenu = new NavBarMenu(0, 155);
tempMenu.addItem(new NavBarMenuItem("&nbsp; Info Request&nbsp; ", "/contact/inforequest.html"));
tempMenu.addItem(new NavBarMenuItem("Catalogs, Videos, & Misc.", "/contact/catalogs.html"));
tempMenu.addItem(new NavBarMenuItem("Quote Request", "/contact/quotes/quoterequest.html"));
tempMenu.addItem(new NavBarMenuItem("Directions", "/contact/directions.html"));
tempMenu.addItem(new NavBarMenuItem("Phone Extensions", "/contact/phoneextensions.html"));
tempMenu.addItem(new NavBarMenuItem("Accommodations", "/contact/accommodations.html"));
myNavBar.addMenu(tempMenu);


window.onload = init;    // Set up page onload event.

function init() {

  myNavBar.resize(getWindowWidth());
  myNavBar.create();
  myNavBar.moveTo(0, 93);
}