function hefct(){var e=jQuery(window).scrollTop();jQuery("#parallax-bg").css("top",0-e*.2+"px")}jQuery(document).ready(function(){jQuery(".bxslider").bxSlider({mode:"horizontal",captions:!0,minSlides:1,maxSlides:4,adaptiveHeight:!0,slideWidth:290,auto:!0,pause:5e3,autoHover:!0,slideMargin:2,infiniteLoop:!1,pager:!1,moveSlides:2});jQuery("time.entry-date").timeago();jQuery(".featured-thumb").hoverIntent(function(){jQuery(".img-meta",this).slideDown(300,"linear");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(".bxslider li").hover(function(){jQuery(this).find(".bx-caption").animate({marginBottom:0},300)},function(){jQuery(this).find(".bx-caption").animate({marginBottom:-80},300)});jQuery("a.meta-link-img").nivoLightbox();jQuery(window).bind("scroll",function(e){hefct()})});