function hefct(){var i=jQuery(window).scrollTop();jQuery("#parallax-bg").css("top",0-.2*i+"px")}jQuery(document).ready(function(){jQuery("#main-menu").sidr({onOpen:function(){jQuery("#main-menu i").removeClass("icon-list").addClass("icon-indent-left")},onClose:function(){jQuery("#main-menu i").removeClass("icon-indent-left").addClass("icon-list")}}),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(window).bind("scroll",function(i){hefct()}),jQuery(function(){var i=jQuery("#top-bar").offset().top,e=function(){var e=jQuery(window).scrollTop();e>i?(jQuery("#top-bar").css({position:"fixed",top:0,width:"100%"}),jQuery("body.admin-bar #top-bar").css({position:"fixed",top:28,width:"100%"})):(jQuery("#top-bar").css({position:"relative"}),jQuery("body.admin-bar #top-bar").css({position:"relative",top:0})),jQuery(window).width()<960&&jQuery("#top-bar").css({position:"relative"})};e(),jQuery(window).scroll(function(){e()})})});