function hefct(){var e=jQuery(window).scrollTop();jQuery("#parallax-bg").css("top",0-e*.2+"px")}jQuery(document).ready(function(){jQuery("time.entry-date").timeago();jQuery(".featured-thumb").hoverIntent(function(){jQuery(".img-meta",this).slideDown(600,"easeOutBounce");jQuery(".img-meta-link",this).css("margin-right","50px");jQuery(".img-meta-link",this).animate({"margin-right":"0px"},500)},function(){jQuery(".img-meta-link",this).animate({"margin-right":"50px"},500);jQuery(".img-meta",this).fadeOut("fast")});jQuery("a.meta-link-img").nivoLightbox();jQuery(".main-navigation .menu ul").superfish({delay:1e3,animation:{opacity:"show"},speed:"fast",autoArrows:!1});jQuery(".main-navigation ul.menu").mobileMenu({switchWidth:768});jQuery(".menu-toggle").toggle(function(){jQuery(".td_mobile_menu_wrap").fadeIn()},function(){jQuery(".td_mobile_menu_wrap").hide()});jQuery(window).bind("scroll",function(e){hefct()});jQuery(function(){var e=jQuery("#top-bar").offset().top,t=function(){var t=jQuery(window).scrollTop();t>e?jQuery("#top-bar").css({position:"fixed",top:0,width:"100%"}):jQuery("#top-bar").css({position:"relative"});jQuery(window).width()<960&&jQuery("#top-bar").css({position:"relative"})};t();jQuery(window).scroll(function(){t()})})});