// JQ localScroll

$(document).ready(function(){
	$().localScroll();
});


// JQ hoverIntent

$(document).ready(function() {

  function addMega(){
    $(this).addClass("hovering");
    }

  function removeMega(){
    $(this).removeClass("hovering");
    }

var megaConfig = {
     interval: 500,
     sensitivity: 4,
     over: addMega,
     timeout: 0, //default is 500, I set it to zero to avoid a z-index problem on rollout
     out: removeMega
};

$("li.mega").hoverIntent(megaConfig)


});

