function init() {
    //==========================================================================================
    // if supported, initialize TransMenus
    //==========================================================================================
    // Check isSupported() so that menus aren't accidentally sent to non-supporting browsers.
    // This is better than server-side checking because it will also catch browsers which would
    // normally support the menus but have javascript disabled.
    //
    // If supported, call initialize() and then hook whatever image rollover code you need to do
    // to the .onactivate and .ondeactivate events for each menu.
    //==========================================================================================
    if (TransMenu.isSupported()) {
        TransMenu.initialize();

        // hook all the highlight swapping of the main toolbar to menu activation/deactivation
        // instead of simple rollover to get the effect where the button stays hightlit until
        // the menu is closed.
        menu1.onactivate = function() { document.getElementById("things-to-do").className = "hover"; };
        menu1.ondeactivate = function() { document.getElementById("things-to-do").className = ""; };

        menu2.onactivate = function() { document.getElementById("about-your-parks").className = "hover"; };
        menu2.ondeactivate = function() { document.getElementById("about-your-parks").className = ""; };

        menu3.onactivate = function() { document.getElementById("make-a-reservation").className = "hover"; };
        menu3.ondeactivate = function() { document.getElementById("make-a-reservation").className = ""; };

        menu4.onactivate = function() { document.getElementById("get-involved").className = "hover"; };
        menu4.ondeactivate = function() { document.getElementById("get-involved").className = ""; };
    }
}

if (TransMenu.isSupported()) {
    var ms = new TransMenuSet(TransMenu.direction.down, 0, 0, TransMenu.reference.bottomLeft);
    
    var menu1 = ms.addMenu(document.getElementById("things-to-do"));
    var menu2 = ms.addMenu(document.getElementById("about-your-parks"));
    var menu3 = ms.addMenu(document.getElementById("make-a-reservation"));
    var menu4 = ms.addMenu(document.getElementById("get-involved"));
    
    menu1.addItem("What's New","/whats-new.shtml");
	menu1.addItem("Find a Park","/find-a-park.shtml");
    menu1.addItem("Find a Program/Event","/find-a-program.shtml");
    menu1.addItem("Become a Supporter","/become-a-supporter.shtml");
    menu1.addItem("Special Events","/special-events.shtml");
	menu1.addItem("Volunteer","/volunteering.shtml");
	menu1.addItem("Geocaching","/geocaching.shtml");
	menu1.addItem("Ask a Naturalist","/askanaturalist.shtml");

    menu2.addItem("History","/history.shtml");
	menu2.addItem("Find a Park","/find-a-park.shtml");
    menu2.addItem("Find a Department","/find-a-department.shtml");
    menu2.addItem("Park Board","/park-board.shtml");
	menu2.addItem("Park Board Minutes","/document_search/");
    menu2.addItem("Press & Publications","/press-publications.shtml");
	menu2.addItem("Public Records Request","/public-records-request.shtml");
	menu2.addItem("Natural Resource Management","/nrmmain.shtml");
	menu2.addItem("Park Projects","/park-projects.shtml");
	menu2.addItem("Partner Links","/partner-links.shtml");

    menu3.addItem("Shelter/Enclosed Shelter","http://reservations.geaugaparkdistrict.org/facilities/");
    menu3.addItem("Camping","http://reservations.geaugaparkdistrict.org/camping/");
    menu3.addItem("Boat Permits","http://reservations.geaugaparkdistrict.org/boats/");
	menu3.addItem("Find a Program/Event","/find-a-program.shtml");

    menu4.addItem("Find a Program/Event","/find-a-program.shtml");
	menu4.addItem("Volunteer","/volunteering.shtml");
    menu4.addItem("Become a Supporter","/become-a-supporter.shtml");
    menu4.addItem("Citizen Science","/citizen-science.shtml");
    menu4.addItem("Careers","/careers.shtml");
    menu4.addItem("For Teachers","/for-teachers.shtml");
    
    TransMenu.renderAll();
}
