window.addEvent('domready', function(){
	if (document.getElementById('P1')==undefined)
		{}
		else
		{
			$('P1').addEvents({
			'mouseenter': function(){
				this.set('tween', {
					duration: 400,
					transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('top', '-15px');
			},
			'mouseleave': function(){
				this.set('tween', {
					duration: 400,
					transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('top', '0px');
			}
			});
		};
			
	if (document.getElementById('P2')==undefined)
		{}
		else
		{
			$('P2').addEvents({
			'mouseenter': function(){
				this.set('tween', {
					duration: 400,
					transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('top', '-15px');
			},
			'mouseleave': function(){
				this.set('tween', {
					duration: 400,
					transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('top', '0px');
			}
			});
		};
			
	if (document.getElementById('P3')==undefined)
		{}
		else
		{
			$('P3').addEvents({
			'mouseenter': function(){
				this.set('tween', {
					duration: 400,
					transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('top', '-15px');
			},
			'mouseleave': function(){
				this.set('tween', {
					duration: 400,
					transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('top', '0px');
			}
			});
		};
		
	if (document.getElementById('P4')==undefined)
		{}
		else
		{
			$('P4').addEvents({
			'mouseenter': function(){
				this.set('tween', {
					duration: 400,
					transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('top', '-15px');
			},
			'mouseleave': function(){
				this.set('tween', {
					duration: 400,
					transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('top', '0px');
			}
			});
		};
		

		if (document.getElementById('P5')==undefined)
		{}
		else
		{
			$('P5').addEvents({
			'mouseenter': function(){
				this.set('tween', {
					duration: 400,
					transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('top', '-15px');
			},
			'mouseleave': function(){
				this.set('tween', {
					duration: 400,
					transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('top', '0px');
			}
			});
		};
		
	if (document.getElementById('P6')==undefined)
		{}
		else
		{
			$('P6').addEvents({
			'mouseenter': function(){
				this.set('tween', {
					duration: 400,
					transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('top', '-15px');
			},
			'mouseleave': function(){
				this.set('tween', {
					duration: 400,
					transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('top', '0px');
			}
			});
		};
});

