window.addEvent('domready', function() {
	
		//var el = $('myElement');
		
		$('newsbutton').addEvents({
		'mouseenter': function(){
			this.set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '98px'),
		 //this.setStyle('width','170px'),
		 this.getElements('ul').fade('in');
		},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			this.set('tween', {}).tween('height', '50px'),
			//this.set('tween', {}).tween('width', '110px'),
			this.getElements('ul').fade('out');
			//alert('Hallo');
		}
	});
		

		$('kontbutton').addEvents({
		'mouseenter': function(){
			this.set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '98px'),
		 //this.setStyle('width','170px'),
		 this.getElements('ul').fade('in');
		},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			this.set('tween', {}).tween('height', '50px'),
			//this.set('tween', {}).tween('width', '110px'),
			this.getElements('ul').fade('out');
			//alert('Hallo');
		}
	});
	
		$('projbutton').addEvents({
		'mouseenter': function(){
			this.set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '98px'),
		 //this.setStyle('width','170px'),
		 this.getElements('ul').fade('in');
		},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			this.set('tween', {}).tween('height', '50px'),
			//this.set('tween', {}).tween('width', '110px'),
			this.getElements('ul').fade('out');
			//alert('Hallo');
		}
	});
		
		$('servbutton').addEvents({
		'mouseenter': function(){
			this.set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '98px'),
		 //this.setStyle('width','170px'),
		 this.getElements('ul').fade('in');
		},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			this.set('tween', {}).tween('height', '50px'),
			//this.set('tween', {}).tween('width', '110px'),
			this.getElements('ul').fade('out');
			//alert('Hallo');
		}
	});
	
	$('grupbutton').addEvents({
		'mouseenter': function(){
			this.set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '98px'),
		 //this.setStyle('width','170px'),
		 this.getElements('ul').fade('in');
		},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			this.set('tween', {}).tween('height', '50px'),
			//this.set('tween', {}).tween('width', '110px'),
			this.getElements('ul').fade('out');
			//alert('Hallo');
		}
	});
	
	$('prodbutton').addEvents({
		'mouseenter': function(){
			this.set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '98px'),
		 //this.setStyle('width','170px'),
		 this.getElements('ul').fade('in');
		},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			this.set('tween', {}).tween('height', '50px'),
			//this.set('tween', {}).tween('width', '110px'),
			this.getElements('ul').fade('out');
			//alert('Hallo');
		}
	});
	
	$('stilbutton').addEvents({
		'mouseenter': function(){
			this.set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '98px'),
		 //this.setStyle('width','170px'),
		 this.getElements('ul').fade('in');
		},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			this.set('tween', {}).tween('height', '50px'),
			//this.set('tween', {}).tween('width', '110px'),
			this.getElements('ul').fade('out');
			//alert('Hallo');
		}
	});





});