(function(d){d.fn.hoverIntent=function(l,m){var e={sensitivity:7,interval:100,timeout:0};e=d.extend(e,m?{over:l,out:m}:l);var g,h,i,j;function k(b){g=b.pageX;h=b.pageY}function n(b,a){a.hoverIntent_t=clearTimeout(a.hoverIntent_t);if(Math.abs(i-g)+Math.abs(j-h)<e.sensitivity){d(a).unbind("mousemove",k);a.hoverIntent_s=1;return e.over.apply(a,[b])}else{i=g;j=h;a.hoverIntent_t=setTimeout(function(){n(b,a)},e.interval)}}function p(b,a){a.hoverIntent_t=clearTimeout(a.hoverIntent_t);a.hoverIntent_s=0;return e.out.apply(a,
[b])}function o(b){for(var a=(b.type=="mouseover"?b.fromElement:b.toElement)||b.relatedTarget;a&&a!=this;)try{a=a.parentNode}catch(q){a=this}if(a==this)return false;var f=jQuery.extend({},b),c=this;if(c.hoverIntent_t)c.hoverIntent_t=clearTimeout(c.hoverIntent_t);if(b.type=="mouseover"){i=f.pageX;j=f.pageY;d(c).bind("mousemove",k);if(c.hoverIntent_s!=1)c.hoverIntent_t=setTimeout(function(){n(f,c)},e.interval)}else{d(c).unbind("mousemove",k);if(c.hoverIntent_s==1)c.hoverIntent_t=setTimeout(function(){p(f,
c)},e.timeout)}}return this.mouseover(o).mouseout(o)}})(jQuery);$(function(){$(".subnav").each(function(){$(this).parent().eq(0).hoverIntent({timeout:100,over:function(){var d=$(".subnav:eq(0)",this);d.slideDown(100)},out:function(){var d=$(".subnav:eq(0)",this);d.fadeOut(200)}})});$(".subnav li").hover(function(){$(this).stop(true).animate({paddingLeft:"35px"},{speed:100,easing:"easeOutBack"})},function(){$(this).stop(true).animate({paddingLeft:"0"},{speed:100,easing:"easeOutBounce"})})});