var d1=-1;

window.addEvent('domready', function(){
	$('myOtherElement1').addEvents({
		'mouseenter': function(){
			d1=1;
			this.set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '370px');

			setTimeout("if (d1==1) $('id_text1').style.display='';", 1000 );
		},
		'mouseleave': function(){
			d1=0;
			this.set('tween', {duration: 1000}).tween('height', '95px');
			
			$('id_text1').style.display='none';
		}
	});
});

d2=-1;
window.addEvent('domready', function(){
	$('myOtherElement2').addEvents({
		'mouseenter': function(){
			d2=1;
			this.set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '345px');

			setTimeout("if (d2==1) $('id_text2').style.display='';", 1000 );
		},
		'mouseleave': function(){
			d2=0;
			this.set('tween', {duration: 1000}).tween('height', '95px');
			
			$('id_text2').style.display='none';
		}
	});
});