// JavaScript Document
    $(document).ready(function(){
	
	
	$("#A").mousedown(function(){
		$("#inhaltA").stop().animate({left:'+146px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$("#inhaltB").stop().animate({left:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$("#inhaltC").stop().animate({left:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$("#inhaltD").stop().animate({left:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$("#inhaltE").stop().animate({left:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		
	});
	
	$("#B").mousedown(function(){
		$("#inhaltB").stop().animate({left:'+146px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$("#inhaltA").stop().animate({left:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$("#inhaltC").stop().animate({left:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$("#inhaltD").stop().animate({left:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$("#inhaltE").stop().animate({left:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})

	});
	
	$("#C").mousedown(function(){
		$("#inhaltC").stop().animate({left:'+146px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$("#inhaltA").stop().animate({left:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$("#inhaltB").stop().animate({left:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$("#inhaltD").stop().animate({left:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$("#inhaltE").stop().animate({left:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});

	$("#D").mousedown(function(){
		$("#inhaltD").stop().animate({left:'+146px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$("#inhaltA").stop().animate({left:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$("#inhaltB").stop().animate({left:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$("#inhaltC").stop().animate({left:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$("#inhaltE").stop().animate({left:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	$("#E").mousedown(function(){
		$("#inhaltE").stop().animate({left:'+146px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$("#inhaltA").stop().animate({left:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$("#inhaltB").stop().animate({left:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$("#inhaltC").stop().animate({left:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$("#inhaltD").stop().animate({left:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	$("#zurueck").mousedown(function(){
		$("#inhaltA").stop().animate({left:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$("#inhaltB").stop().animate({left:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$("#inhaltC").stop().animate({left:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$("#inhaltD").stop().animate({left:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
		$("#inhaltE").stop().animate({left:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
});

