
jQuery(function() {

jQuery("#portfolio").hover(
     function() {},
     function() {        
       jQuery('#portfolio>li').fadeTo("fast", 1.0);
     }
);

jQuery("#portfolio>li").hoverIntent(
    function(){
       jQuery(this).attr('class', 'clientactive'); // Add class .current
       jQuery(this).siblings().fadeTo("fast", 0.3); // Fade other items to 30%
       jQuery(this).fadeTo("slow", 1.0); // Fade current to 100%

    },
    function(){            
      jQuery(this).removeClass("portfolioactive"); // Remove class .current
      jQuery(this).fadeTo("fast", 1.0); // This should set the other's opacity back to 100% on mouseout   
    });
});
 