// JavaScript Document
jQuery(document).ready(function() {			     
	$('.Logo').click(function(){
        window.location.href = "http://www.pasticceriacucchi.it";
    });
	
	/*MENU*/
	// when the user hovers in and out 
	$('div.MenuHomeHover').hover(function () {
		// on hover
		// stop any animations currently running, and fade to opacity: 1
		$('div.MenuHomeHover').stop().fadeTo(400, 1);
	    }, function () {
	    // off hover
	    // again, stop any animations currently running, and fade out
	    $('div.MenuHomeHover').stop().fadeTo(400, 0);
    });
         
	// when the user hovers in and out 
	$('div.MenuStoriaHover').hover(function () {
		// on hover
		// stop any animations currently running, and fade to opacity: 1
		$('div.MenuStoriaHover').stop().fadeTo(400, 1);
	    }, function () {
	    // off hover
	    // again, stop any animations currently running, and fade out
	    $('div.MenuStoriaHover').stop().fadeTo(400, 0);
    });
         
	// when the user hovers in and out 
	$('div.MenuProdottiHover').hover(function () {
		// on hover
		// stop any animations currently running, and fade to opacity: 1
		$('div.MenuProdottiHover').stop().fadeTo(400, 1);
	    }, function () {
	    // off hover
	    // again, stop any animations currently running, and fade out
	    $('div.MenuProdottiHover').stop().fadeTo(400, 0);
    });
          
	// when the user hovers in and out 
	$('div.MenuSpecialitaHover').hover(function () {
		// on hover
		// stop any animations currently running, and fade to opacity: 1
		$('div.MenuSpecialitaHover').stop().fadeTo(400, 1);
	    }, function () {
	    // off hover
	    // again, stop any animations currently running, and fade out
	    $('div.MenuSpecialitaHover').stop().fadeTo(400, 0);
    });
         
	// when the user hovers in and out 
	$('div.MenuRassegnaHover').hover(function () {
		// on hover
		// stop any animations currently running, and fade to opacity: 1
		$('div.MenuRassegnaHover').stop().fadeTo(400, 1);
	    }, function () {
	    // off hover
	    // again, stop any animations currently running, and fade out
	    $('div.MenuRassegnaHover').stop().fadeTo(400, 0);
    });
          
	// when the user hovers in and out 
	$('div.MenuContattiHover').hover(function () {
		// on hover
		// stop any animations currently running, and fade to opacity: 1
		$('div.MenuContattiHover').stop().fadeTo(400, 1);
	    }, function () {
	    // off hover
	    // again, stop any animations currently running, and fade out
	    $('div.MenuContattiHover').stop().fadeTo(400, 0);
    });
});
