window.addEvent('domready', function(){	
	
	//start dynaMenu
	/*
	$('dynaMenu1').addEvents({
		'mouseenter': function(){
			// Always sets the duration of the tween to 1000 ms and a bouncing transition
			// And then tweens the height of the element
			this.set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '160px');
		},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			this.set('tween', {}).tween('height', '118px');
		}
	});
	//end dynaMenu
	*/
	
	$('dynaMenu1').addEvents({'mouseenter':function(){this.set('tween',{duration:1000,transition:Fx.Transitions.Bounce.easeOut}).tween('height','235px');},'mouseleave':function(){this.set('tween',{}).tween('height','160px');}});
	$('dynaMenu2').addEvents({'mouseenter':function(){this.set('tween',{duration:1000,transition:Fx.Transitions.Bounce.easeOut}).tween('height','490px');},'mouseleave':function(){this.set('tween',{}).tween('height','160px');}});
	$('dynaMenu3').addEvents({'mouseenter':function(){this.set('tween',{duration:1000,transition:Fx.Transitions.Bounce.easeOut}).tween('height','490px');},'mouseleave':function(){this.set('tween',{}).tween('height','160px');}});
});
