	function toggle(objID) {
		
		obj = document.getElementById(objID);
		currentItem = obj.parentNode;
						
		if (obj.style.display == 'none') {
		
			obj.style.display = 'block';
			currentItem.className = 'chiudi';
			
		} else if (obj.style.display == 'block') {
		
			obj.style.display = 'none';
			currentItem.className = 'apri';
			
		}
	
	}


$(document).ready(function(){



/*=== LINK =================================================================================================*/

  $(".notizia").click(function(){
     window.location=$(this).find(".foto div a").attr("href"); return false;
  });
  
  $(".marchio").click(function(){
     window.location=$(this).find(".testo a").attr("href"); return false;
  });
   
  $("#ultimeNotiziePagina .notizia").click(function(){
     window.location=$(this).find(".testo h3 a").attr("href"); return false;
  });
  
  $("#ultimeNotizie .notizia").click(function(){
     window.location=$(this).find(".testo h3 a").attr("href"); return false;
  });
  
  
  $("#salaStampa .sezione").click(function(){
    window.location=$(this).find(".ico a").attr("href"); return false;
  });
  
  
  $(".distributore").live('click', function(){
    window.location=$(this).find(".testo h3 a").attr("href"); return false;
  });
  
  $(".campione").click(function(){
     window.location=$(this).find(".foto a").attr("href"); return false;
  });

    
   $(".prodotto").click(function(){
     window.location=$(this).find(".foto a").attr("href"); return false;
  });
  
  
  $(".articolo").click(function(){
     window.location=$(this).find(".allegato a").attr("href"); return false;
  });
  
  
    $(".pubblicita").click(function(){
     window.location=$(this).find(".allegato a").attr("href"); return false;
  });
  
  
  $(".box-categoria").click(function(){
     window.location=$(this).find(".foto a").attr("href"); return false;
  });

 $(".catalogo").click(function(){
     window.location=$(this).find(".link a").attr("href"); return false;
  });	
  
    $(".video").click(function(){
     window.location=$(this).find(".foto a").attr("href"); return false;
  });
/* =======================================================================================================*/
  
  	$("div.scrollable").scrollable({
   			// one configuration property 
   			size: 4
   		// ... the rest of the configuration properties 
   	}).mousewheel();
    

  
  
  
 
});
