
window.addEvent('domready', function(){
	// The same as before: adding events
         $('behandlung').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
			$('sub_menu_01').set('tween', {
				duration: 500,
				//transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '25px');
		},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			$('sub_menu_01').set('tween', {}).tween('height', '0px');
		}
	});

         $('sub_menu_01').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
			$('sub_menu_01').set('tween', {
				duration: 500,
				//transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '25px');
		},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			$('sub_menu_01').set('tween', {}).tween('height', '0px');
		}
	});

         $('service').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
			$('sub_menu_02').set('tween', {
				duration: 500,
				//transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '25px');
		},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			$('sub_menu_02').set('tween', {}).tween('height', '0px');
		}
	});

         $('sub_menu_02').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
			$('sub_menu_02').set('tween', {
				duration: 500,
				//transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '25px');
		},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			$('sub_menu_02').set('tween', {}).tween('height', '0px');
		}
	});

         $('team').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
			$('sub_menu_03').set('tween', {
				duration: 500,
				//transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '25px');
		},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			$('sub_menu_03').set('tween', {}).tween('height', '0px');
		}
	});

         $('sub_menu_03').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
			$('sub_menu_03').set('tween', {
				duration: 500,
				//transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '25px');
		},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			$('sub_menu_03').set('tween', {}).tween('height', '0px');
		}
	});
});