// JavaScript Document

$(function(){
	$.fn.supersized.options = {  
		startwidth: 1680,  
		startheight: 1125,
		vertical_center: 0,
		slideshow: 0,
		navigation: 0,
		transition: 1, //0-None, 1-Fade, 2-slide top, 3-slide right, 4-slide bottom, 5-slide left
		pause_hover: 0,
		slide_counter: 1,
		slide_captions: 1,
		slide_interval: 7000  
	};
	$('#supersize').supersized(); 
});

/* Toogle */

$(document).ready(function(){
	$(".toggle_container").hide();
	$("h2").hover(function(){
		$(this).addClass("hover");
	},
		function(){
		$("h2").removeClass("hover");
	});
	
	$("h2").click(function(){
		$(this).toggleClass("active").next().slideToggle("medium");
	});
});


/* Corner */ 

$('a.facebook, a.allegato, a.zip, a.backHome, a.form').corner('round 6px');
