// js functions for all pages - except for the home page-which has the content scrollable function
    $(document).ready(function() {
        function addMega(){ $(this).addClass("hovering"); $($(this).find("h2 a")).addClass("hover"); } 
        function removeMega(){ $(this).removeClass("hovering"); $($(this).find("h2 a")).removeClass("hover"); }           
        /*function addMega(){ 
            $($(this).find("h2")).addClass("hover"); $($(this).find("#slide")).fadeIn("fast"); $(this).addClass("hovering"); } 
        function removeMega(){ 
            $($(this).find("h2")).removeClass("hover"); $($(this).find("#slide")).fadeOut("fast"); $(this).removeClass("hovering"); }*/         
        var megaConfig = {
           interval: 50,
           sensitivity: 16,
           over: addMega,
           timeout: 100,
           out: removeMega
      };
      $("li.mega").hoverIntent(megaConfig)
    }); 

