/******** drown down menu effect *********/
$(document).ready(function() {

    /***** css fixes ******/

    //disabling for the hover/slide effect to work
    $("#navMenu dl dd").css({ 'display': 'none' });


    function theSetUp(i) {
        var config = {
            sensitivity: 7,
            interval: 250,
            over: expandNavMenu,
            timeout: 50,
            out: contractNavMenu
        }

        var thePath = "dl#NM-" + i;
        
        $(thePath).hoverIntent(config);
        
        function expandNavMenu() { $(thePath + ' dd').slideDown('fast') }
        function contractNavMenu() { $(thePath + ' dd').slideUp('fast') }
    }

    // looping through theSetUp() to create the 7 menu drop down animations
    for (i = 1; i <= 7; i++) {
        theSetUp(i);
    }

}); // close document.ready

