window.addEvent('domready', function(){
	
	// Second Example
	
	// The same as before: adding events
	$$('.casestudy').addEvents({
		'mouseenter': function(){
			this.set('tween', {
				duration: 600,
				transition: Fx.Transitions.Quart.easeOut // This could have been also 'bounce:out'
			}).tween('height', '120');
		},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			this.set('tween', {}).tween('height', '32px');
		}
	});
});
