//----- Item boxes transitions -----


window.addEvent('domready',function() {   
									
    $each($$('.normal'), function(el) {   
        //var original = el.getStyle('color');   
        //var morph = new Fx.Morph(el,{ 'duration':'300', link:'cancel' });   
        el.addEvents({   
            'mouseenter' : function() { 
			
				this.set('morph', {
					duration: 2000,
					transition: Fx.Transitions.Elastic.easeOut // This could have been also 'bounce:out'
				}).morph('.hover');
			
			},   
            'mouseleave' : function() { 
			
				this.set('morph', {}).morph('.normal');
			
			}   
        });   
    });   
	
	    $each($$('.portfolio_hold'), function(el) {   
        //var original = el.getStyle('color');   
        //var morph = new Fx.Morph(el,{ 'duration':'300', link:'cancel' });   
        el.addEvents({   
            'mouseenter' : function() { 
			
				this.set('morph', {
					duration: 2000,
					transition: Fx.Transitions.Elastic.easeOut // This could have been also 'bounce:out'
				}).morph('.portfolio_hold_hover');
			
			},   
            'mouseleave' : function() { 
			
				this.set('morph', {}).morph('.portfolio_hold');
			
			}   
        });   
    });  
	
});  