/*window.addEvent('domready', function() {
	var status = {
		'true': 'open',
		'false': 'close'
	};
	
	//-vertical

	var myVerticalSlide1 = new Fx.Slide('menu1');

	$('v_menu1').addEvent('mouseover', function(e){
		e.stop();
		myVerticalSlide1.slideIn();
	});

	$('v_menu1').addEvent('mouseout', function(e){
		e.stop();
		myVerticalSlide1.slideOut();
	});
	
	//-vertical

	var myVerticalSlide2 = new Fx.Slide('menu2');

	$('v_menu2').addEvent('mouseover', function(e){
		e.stop();
		myVerticalSlide2.slideIn();
	});

	$('v_menu2').addEvent('mouseout', function(e){
		e.stop();
		myVerticalSlide2.slideOut();
	});

});*/
window.addEvent('domready', function(){
	// Second Example
	
	// The same as before: adding events
	$('v_menu1').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', '150px');
		},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			this.set('tween', {}).tween('height', '45px');
		}
	});
	
	// The same as before: adding events
	$('v_menu2').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', '150px');
		},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			this.set('tween', {}).tween('height', '45px');
		}
	});
    
    // The same as before: adding events
    $('v_menu3').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', '150px');
        },
        'mouseleave': function(){
            // Resets the tween and changes the element back to its original size
            this.set('tween', {}).tween('height', '45px');
        }
    });
});