  	$(function(){
			$.fn.supersized.options = {  
				startwidth: 640,  
				startheight: 480,
				vertical_center: 1,
				slideshow: 0,
				navigation: 0,
				transition: 0, //0-None, 1-Fade, 2-slide top, 3-slide right, 4-slide bottom, 5-slide left
				pause_hover: 0,
				slide_counter: 0,
				slide_captions: 0,
				slide_interval:3000  
			};
	        $('#supersize').supersized(); 
	    });
  
        
        $(document).ready(function(){
             var su=0;
             
			 
			 
			
             
             $('.rounded').corners();
             
              
             $("#menu").hover(
                 function () {
                    $(this).animate( { height:"94px" }, { queue:false, duration:250 }); 
                    $('#mainMenu').show();
                    $('#logo').show();
					$('#mainMenuAction').hide();
                    $('#footerTxt').hide();
                                     
                    
                 },
                 
                 function () {
                     $(this).animate( { height:"26px" }, { queue:false, duration:500 }); 
                     $('#mainMenu').hide(); 
                     $('#logo').hide();
					 $('#mainMenuAction').show();
					 $('#footerTxt').show();                 
                 }
             );
			 
			 
			 
			 
			 

			 
			 
			 
			 /*
			  $('.tooltip').qtip({ 
		       style: { name: 'dark', 
			            width: 100,
      					padding: 4,
      				    background:'red',
      					color: 'white',
      					textAlign: 'center',
						size: 10,
      					border: {
         					width: 2,
         					radius: 4,
         					color: 'red'
      				   },
			           tip: true 
			   },
			   position: {
			   
      				corner: {
         				target: 'topMiddle',
         				tooltip: 'bottomMiddle'
      				}
   				}

		  })
		  
		  */
		  
		  /*  
		  // anima  il logo
		  $('#logoSx').show();
		  
		  $('#logoSx').show();
		  $('#logoSx').animate({opacity: "0.1", left: "+=1900"}, 1200)
		  .animate({opacity: "0.4", height: "20", width: "20",top: "+=600",left:"+=128"}, 100)
		  .animate({opacity: "0.6", left: "50", height: "128", width: "200"}, 100)
		   .animate({opacity: "0.6", top: "-250"}, 1000)
		   .animate({opacity: "0.1",top: "25"}, 10)
		  .animate({opacity: "1", top: "25"}, "slow")
;
		
		  $('#logoSx').animate({opacity: "0.1", left: "+=600"}, 1200)
		  .animate({opacity: "0.4", top: "+=290", height: "20", width: "20"}, "slow")
		  .animate({opacity: "0.4", height: "256", width: "400", top: "-=200",left:"-=128"}, "slow")
		  .animate({opacity: "0.4", height: "20", width: "20",top: "+=200",left:"+=128"}, "slow")
		  .animate({opacity: "0.6", left: "50", height: "128", width: "200"}, "slow")
		  .animate({opacity: "1", top: "25"}, "slow")
*/
        });

    
 
