pic1= new Image(142,155); 
pic1.src="images/fanello.png"; 
//$(pic1).load(function(){alert("jj");$('#logo-fanello > img').show();})  
var cyclerLoaded = false;
var numberOfPreloaded = 0;
function imageLoaded()
{numberOfPreloaded++;
if (numberOfPreloaded >= 2 && !cyclerLoaded)
{$('#flash').cycle({fx: 'fade', speed: 1000, delay: 0});
cyclerLoaded = true;
}
}
$(function() {
                $('.menubox').hover(
                    function () {
                     var $this = $(this);
                     $this.stop().animate({'top':'32px'},300);
                     $('.fanellolittle',$this).show();
            	               },
                    function () {
                        var $this = $(this);

                        $('.fanellolittle',$this).stop().hide();
                        $this.stop().animate({'top':'10px'},300);
                     }
                );
            });
          
         $(function() {
                $('#progettofanello > li').hover(
                    function () {
                     var $this = $(this);
            
                    $this.stop().animate({'font-size':'13px'},200);
                    $('.imgbg',$this).stop().animate({'width':'640px','height':'44px','left':'-20px'},300);
                     $('.imginf',$this).stop().animate({'width':'42px','height':'42px','left':'-20px','top':'2px'},300);
	               },
                    function () {
                     var $this = $(this);
                     $this.stop().animate({'font-size':'12px'},100);
                     $('.imgbg',$this).stop().animate({'width':'616px','height':'39px','left':'0px'},300);
                     $('.imginf',$this).stop().animate({'width':'35px','height':'35px','left':'1px','top':'2px'},300);

                    }
                );
            });

 $(function() {$('#logo-fanello').hover(
          function () {
          var $this = $(this);
             },
          function () {
          return false;
                    }
             );
            });

