		$(document).ready(function() {
			$("ul.tabs").tabs("div.panes > div", { 
			// enable "cross-fading" effect
			effect: 'default',
			fadeOutSpeed: "fast",
			// start from the beginning after the last tab
			rotate: true,
			onClick: function() {
				this.getCurrentPane().find(".foto img").pngfix();
			}
			// use the slideshow plugin. It accepts its own configuration
			}).slideshow({
				interval: 2500	
			});
			
			$("#box > ul > li:last-child > .contenuto > p").css({"border":"none"});
			$("#box .h3").corner("round 3px");
			
			$('#baloon_promozioni_tigota .contenuti').cycle({ before: function() {$(this).css("background","none"); }, fx: 'fade', speed: 'fast', timeout: 0, next: '#next_prom', prev:   '#prev_prom' });
			$('#baloon_promozioni_tigota_maxi .contenuti').cycle({ before: function() { $(this).css("background","none"); }, fx: 'fade', speed: 'fast', timeout: 0, next: '#next_prom_maxi', prev:   '#prev_prom_maxi' });
			$('#baloon_sceltipervoi .contenuti').cycle({ fx: 'fade', speed: 'fast', timeout: 0, next: '#next_spv', prev:   '#prev_spv' });
			$('#baloon_news .contenuti').cycle({ fx: 'fade', speed: 'fast', timeout: 0, next: '#next_news', prev:   '#prev_news' });
			
			$("#baloon_promozioni .contenuto").css("background","none");
			$("#baloon_sceltipervoi .contenuto").css("background","none");
			$("#baloon_news .contenuto").css("background","none");
			
			$("#mytigota input").val("");
			
			$(".panes .foto img").pngfix();
			
		});
		
        $(window).load(function() {

			setTimeout(function(){
				$("ul.tabs").tabs().play();
			}, 2000);
			
        });
