/**
ACTIONS
 */

$(document).ready(function(){

$("#test2-content").hide();

$("div.avanti").click(function () {
      $("#test2-content").slideDown(2000);
	  $("#test1-content").slideUp(2000);
	});

$("div.indietro").click(function () {
      $("#test1-content").slideDown(2000);
	  $("#test2-content").slideUp(2000);
	});	

$("#banner_fade").fadeIn("slow");
$("#menu_fade").fadeIn("slow");
$("#content_02_fade").fadeIn("slow");
$("#titolo_fade").fadeIn("slow");
$("#piede_fade").fadeIn("slow");
$("#auto_fade").fadeIn("slow");


$(document).ready(function(){
			$("a[rel^='prettyPhoto']").prettyPhoto({
				animationSpeed: 'normal', /* fast/slow/normal */
				padding: 20, /* padding for each side of the picture */
				opacity: 0.35, /* Value betwee 0 and 1 */
				showTitle: true, /* true/false */
				allowresize: true, /* true/false */
				counter_separator_label: '/', /* The separator for the gallery counter 1 "of" 2 */
				theme: 'light_rounded', /* light_rounded / dark_rounded / light_square / dark_square */
				callback: function(){}
			});
		});

});