$.fn.isInViewport=function(){var i=$(this).offset().top,t=i+$(this).outerHeight(),n=$(window).scrollTop(),o=n+$(window).height();return t>n&&i