$(document).ready(function() {

	$('a.item1').hover(function() {

		$('#menuoff').hide();$('#menu2').hide();$('#menu3').hide();$('#menu4').hide();
		$('#menu1').stop(true, true).show("slide", { direction: "down" }, 500);
		},function(){
	});
	$('a.item2').hover(function() {

  	$('#menuoff').hide();$('#menu1').hide();$('#menu3').hide();$('#menu4').hide();
   	$('#menu2').stop(true, true).show("slide", { direction: "down" }, 500);
   	},function(){
	});
	$('a.item3').hover(function() {

  	$('#menuoff').hide();$('#menu2').hide();$('#menu1').hide();$('#menu4').hide();
   	$('#menu3').stop(true, true).show("slide", { direction: "down" }, 500);
   	},function(){
	});
	$('a.item4').hover(function() {

		$('#menuoff').hide();$('#menu2').hide();$('#menu1').hide();$('#menu3').hide();
   	$('#menu4').stop(true, true).show("slide", { direction: "down" }, 500);
   	},function(){
	});
	
	$('#menu1').hover(function(event) {
		event.stop();
		},function(){
		$('#menuoff').hide();$('#menu1').hide();$('#menu2').hide();$('#menu3').hide();$('#menu4').hide();
		$('#menuoff').stop(true, true).show("slide", { direction: "down" }, 500);
	});
	
	$('#menu2').hover(function(event) {
		event.stop();
		},function(){
		$('#menuoff').hide();$('#menu1').hide();$('#menu2').hide();$('#menu3').hide();$('#menu4').hide();
		$('#menuoff').stop(true, true).show("slide", { direction: "down" }, 500);
	});
	
	$('#menu3').hover(function(event) {
		event.stop();
		},function(){
		$('#menuoff').hide();$('#menu1').hide();$('#menu2').hide();$('#menu3').hide();$('#menu4').hide();
		$('#menuoff').stop(true, true).show("slide", { direction: "down" }, 500);
	});
	
	$('#menu4').hover(function(event) {
		event.stop();
		},function(){
		$('#menuoff').hide();$('#menu1').hide();$('#menu2').hide();$('#menu3').hide();$('#menu4').hide();
		$('#menuoff').stop(true, true).show("slide", { direction: "down" }, 500);
	});
	
	$('a.vous1').hover(function() {
			$(this).css('color','#fff');
			$(this).parent().css('background-color','#E7331F');
			$(this).parent().css('background-image','url(fileadmin/template/images/pucemenuhover.png)');
  		$('#tooltip').html($('#caption1').html());
  		$('#tooltip').stop(true, true).fadeTo(500, 1);
  		$('#tooltip').css('top',10);
  		$('#tooltip').css('left',-195);
			},function(){
			$('#tooltip').hide();
			$(this).css('color','#E7331F');
			$(this).parent().css('background-color','transparent');
			$(this).parent().css('background-image','url(fileadmin/template/images/pucemenu.png)');
	});
	
	$('a.vous2').hover(function() {
  		$(this).css('color','#fff');
			$(this).parent().css('background-color','#E7331F');
			$(this).parent().css('background-image','url(fileadmin/template/images/pucemenuhover.png)');
			$(this).parent().prev("li").find("a").css('border-bottom','1px solid #ffffff');
		$('#tooltip').html($('#caption2').html());
		$('#tooltip').stop(true, true).fadeTo(500, 1);
  		$('#tooltip').css('top',50);
  		$('#tooltip').css('left',-195);
			},function(){
			$('#tooltip').hide();
			$(this).parent().prev("li").find("a").css('border-bottom','1px solid #E7331F');
			$(this).css('color','#E7331F');
			$(this).parent().css('background-color','transparent');
			$(this).parent().css('background-image','url(fileadmin/template/images/pucemenu.png)');
	});
	
	$('a.vous3').hover(function() {
  		$(this).css('color','#fff');
			$(this).parent().css('background-color','#E7331F');
			$(this).parent().css('background-image','url(fileadmin/template/images/pucemenuhover.png)');
			$(this).parent().prev("li").find("a").css('border-bottom','1px solid #ffffff');
		$('#tooltip').html($('#caption3').html());
		$('#tooltip').stop(true, true).fadeTo(500, 1);
  		$('#tooltip').css('top',88);
  		$('#tooltip').css('left',-195);
			},function(){
			$('#tooltip').hide();
			$(this).parent().prev("li").find("a").css('border-bottom','1px solid #E1021F');
			$(this).css('color','#E7331F');
			$(this).parent().css('background-color','transparent');
			$(this).parent().css('background-image','url(fileadmin/template/images/pucemenu.png)');
	});
	
	$('a.vous4').hover(function() {
  		$(this).css('color','#fff');
			$(this).parent().css('background-color','#E7331F');
			$(this).parent().css('background-image','url(fileadmin/template/images/pucemenuhover.png)');
			$(this).parent().prev("li").find("a").css('border-bottom','1px solid #ffffff');
		$('#tooltip').html($('#caption4').html());
		$('#tooltip').stop(true, true).fadeTo(500, 1);
  		$('#tooltip').css('top',126);
  		$('#tooltip').css('left',-195);
			},function(){
			$('#tooltip').hide();
			$(this).parent().prev("li").find("a").css('border-bottom','1px solid #E7331F');
			$(this).css('color','#E7331F');
			$(this).parent().css('background-color','transparent');
			$(this).parent().css('background-image','url(fileadmin/template/images/pucemenu.png)');
	});
	
	$('a.vous5').hover(function() {
  		$(this).css('color','#fff');
			$(this).parent().css('background-color','#E7331F');
			$(this).parent().css('background-image','url(fileadmin/template/images/pucemenuhover.png)');
			$(this).parent().prev("li").find("a").css('border-bottom','1px solid #ffffff');
		$('#tooltip').html($('#caption5').html());
		$('#tooltip').fadeTo(500, 1);
  		$('#tooltip').css('top',216);
  		$('#tooltip').css('left',-195);
			},function(){
			$('#tooltip').hide();
			$(this).parent().prev("li").find("a").css('border-bottom','1px solid #E7331F');
			$(this).css('color','#E7331F');
			$(this).parent().css('background-color','transparent');
			$(this).parent().css('background-image','url(fileadmin/template/images/pucemenu.png)');
	});
	
});
