/**
 * @author christiandebotton
 */
    $(function(){
		
        var icons = $('.icoHolder > a > img', this);
		
		$(icons).parent().children().filter('h3').hide();
        
        var newsroomHover = {
        
            sensitivity: 1,
            
            interval: 100,
            
            over: bounceUp,
            
            timeout: 300,
            
            out: resetOpacity
        
        };
        
        function bounceUp(){
        
            $(this).animate({
            
                opacity: 1
            
            }).animate({
            
                top: '-=' + 5 + 'px'
            
            }, 50).animate({
            
                top: '+=' + 5 + 'px'
            
            }, 300).parent().children().filter('h3').show().css({
				
				opacity: 0
				
			}).fadeTo(500, 0.55);
            
            $(this).dequeue()
        }
        
        function resetOpacity(){
        
            $(this).animate({
            
                opacity: .85
            
            }, 500).parent().children().filter('h3').fadeTo(250, 0, function(){
				
				$(this).hide();
				
			});
            
        };
        
        $(icons).css({
        
            opacity: .85,
			
			'position': 'relative'
        
        }).hoverIntent(newsroomHover);
		
    });