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("Find a Park","http://www.geaugaparkdistrict.org/find-a-park.shtml");
    menu1.addItem("Find a Program/Event","http://www.geaugaparkdistrict.org/find-a-program.shtml");
    menu1.addItem("Become a Supporter","http://www.geaugaparkdistrict.org/become-a-supporter.shtml");
    menu1.addItem("What's New","http://www.geaugaparkdistrict.org/whats-new.shtml");
    menu1.addItem("Special Events","http://www.geaugaparkdistrict.org/special-events.shtml");
    menu1.addItem("Volunteering","http://www.geaugaparkdistrict.org/volunteering.shtml");
    menu1.addItem("Geocaching","http://www.geaugaparkdistrict.org/geocaching.shtml");

    menu2.addItem("History","http://www.geaugaparkdistrict.org/history.shtml");
    menu2.addItem("Find a Department","http://www.geaugaparkdistrict.org/find-a-department.shtml");
    menu2.addItem("Park Board","http://www.geaugaparkdistrict.org/park-board.shtml");
    menu2.addItem("Park Board Minutes","http://www.geaugaparkdistrict.org/document_search/");
    menu2.addItem("Press & Publications","http://www.geaugaparkdistrict.org/press-publications.shtml");
    menu2.addItem("Public Records Request","http://www.geaugaparkdistrict.org/public-records-request.shtml");
    menu2.addItem("Partner Links","http://www.geaugaparkdistrict.org/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 ","http://www.geaugaparkdistrict.org/find-a-program.shtml");

    menu4.addItem("Volunteer","http://www.geaugaparkdistrict.org/volunteering.shtml");
    menu4.addItem("Become a Supporter","http://www.geaugaparkdistrict.org/become-a-supporter.shtml");
    menu4.addItem("Citizen Science","http://www.geaugaparkdistrict.org/citizen-science.shtml");
    menu4.addItem("Research","http://www.geaugaparkdistrict.org/research.shtml");
    menu4.addItem("Careers","http://www.geaugaparkdistrict.org/careers.shtml");
	menu4.addItem("Find a Program/Event ","http://www.geaugaparkdistrict.org/find-a-program.shtml");
    menu4.addItem("For Teachers","http://www.geaugaparkdistrict.org/for-teachers.shtml");
    
    TransMenu.renderAll();
}