Block1ULHeight = 0;
Block2ULHeight = 0;
Block3ULHeight = 0;

window.addEvent('domready', function() {
	
	Block1ULHeight = $('block1').getFirst('div').getSize().y;
	
	$('block1').getFirst('div').setStyle('height',20);
	
	$('block1').getFirst('div').getFirst('p').addEvent('mouseover', function(el) {
		this.getParent().get('tween').start('height',Block1ULHeight);																			
	});
	
	$('block1').getFirst('div').addEvent('mouseleave', function(el) {
		this.get('tween').start('height',20);																			 
	});
	
	Block2ULHeight = $('block2').getFirst('div').getSize().y;
	
	$('block2').getFirst('div').setStyle('height',20);
	
	$('block2').getFirst('div').getFirst('p').addEvent('mouseover', function(el) {
		this.getParent().get('tween').start('height',Block2ULHeight);																			
	});
	
	$('block2').getFirst('div').addEvent('mouseleave', function(el) {
		this.get('tween').start('height',20);																			 
	});
	
	Block3ULHeight = $('block3').getFirst('div').getSize().y;
	
	$('block3').getFirst('div').setStyle('height',20);
	
	$('block3').getFirst('div').getFirst('p').addEvent('mouseover', function(el) {
		this.getParent().get('tween').start('height',Block3ULHeight);																			
	});
	
	$('block3').getFirst('div').addEvent('mouseleave', function(el) {
		this.get('tween').start('height',20);																			 
	});
	
});
