jQuery( function($) {
  
  $('#content .floatingpost')
      .each(
        function() {
          var text = $('.abs', this);
          var image = $('.thumb', this);
          this.text = text;
          this.image = image;
          text.hide();
        })
      .hover(
        function () {
          this.image.hide();
          this.text.show();
        },
        function () {
          this.text.hide();
          this.image.show();
        }
      );
  

	$('.backtotop').click(function( event ){
		$('html, body').animate({scrollTop:0}, 'slow');
		event.preventDefault();
		if ( event && event.target && event.target.nodeName.toLowerCase() == "a" ) event.target.blur();
	});

  
} );
