    /* -- gallery prodotti -- */
function GalleryStart(testodettagli) {
      var _corrente=0;
      jQuery(".gallery:first [rel^='galleria']").weboltgallery({ hasdettagli: false, dettaglio_pagination: false, navlength: 760, itemWidth: 83, navciclo: false, autoplay_slideshow: false, theme: "starkem", allow_resize: false, openmodal: false, testo_dettagli: testodettagli,hasdettagli:true });
      if (window.location.hash.length == 0) {
         jQuery(".gallery div a.immaginegrande:first").click();
      }
      else {
         _corrente = "#id_" + window.location.hash.substring(1);

         jQuery(_corrente).click();
      }

      jQuery(window.location).bind(
		"change",
		function (objEvent, objData) {
		   _corrente = "#id_" + objData.currentHash;
//		   if (jQuery('.pp_pic_holder').css('display') != "block") //se  visible non e esegue la chiamata
//		   {
//		      jQuery("#galleria").scrollTop();
//		      //	        jQuery("#containerabaco").css("visibility", "hidden").css("display", "none");
//		      jQuery(_corrente).click();
//		   }
		});
  }

jQuery(document).ready(function () {
	$("ul#pulsantoni li").hover(
		function()
		{
			$(this).find("img").animate({opacity: 0.7}, 200, function() {});
			$(this).find("a span.pulsantone").animate({opacity: 0.85}, 200, function() {});
			$(this).find("a span.pulsantone span.titolo").css("color", "#e2172d");
			$(this).find("a span.pulsantone span.corpo").css("color", "#ca172e");
			$(this).find("a span.pulsantone span.lnk_vai").css({"color":"#ca172e","background-image":"url('/media/comuni/freccina-home-on.png')"});
		},
		function()
		{
			$(this).find("img").animate({opacity: 1}, 200, function() {});
			$(this).find("a span.pulsantone").animate({opacity: 1}, 200, function() {});
			$(this).find("a span.pulsantone span.titolo").css("color", "#fff");
			$(this).find("a span.pulsantone span.corpo").css("color", "#3b59a5");
			$(this).find("a span.pulsantone span.lnk_vai").css({"color":"#000","background-image":"url('/media/comuni/freccina-home.png')"});
	});
		
	$("div.abacoprodotti a").hover(
		function()
		{
			$(this).find("img").animate({opacity: 0.7}, 200, function() {});
			$(this).find("span").css("color", "#ca172e");
		},
		function()
		{
			$(this).find("img").animate({opacity: 1}, 200, function() {});
			$(this).find("span").css("color", "#3b59a5");
		});
});


