(function(a){a.fn.dropDown=function(c){var e={speed:"fast",active_class:"active",use_hoverIntent:true,hoverIntent:{interval:20,timeout:200,sensitivity:7}};var c=a.extend(e,c);a(this).find("> li > a").each(function(){var g=a(this);if(g.parent().find("ul").length>0){var f=g.parent().find("> ul");b(f,g);if(f.find("> li > a").length>0){f.find("> li > a").each(function(){var i=a(this);if(i.parent().find("ul").length>0){var h=i.parent().find("ul");b(h,i)}})}}});function b(g,i){g.hide();d();i.parent().addClass("has_sub_menu");var k=function(){g.fadeIn(c.speed);i.addClass(c.active_class)};var h=function(){g.fadeOut(c.speed);i.removeClass(c.active_class)};if(c.use_hoverIntent){var f={over:k,out:h};var j=a.extend(c.hoverIntent,f);i.parent().hoverIntent(j)}else{i.parent().hover(k,h)}}function d(){if(jQuery().hoverIntent){return true}else{c.use_hoverIntent=false;alert('The jQuery dropDown plugin is configured to use the the hoverIntent, however it is currently unavailable. To use hoverIntent with the dropDown plugin, please download from...\n\n http://cherne.net/brian/resources/jquery.hoverIntent.html.\n\nAlternatively, set "use_hoverIntent: false" in the dropDown configuration.');return false}}}})(jQuery);
