/* jQuery */
$(document).ready(function(){
	if ($("a[rel^='prettyPhoto']").size() > 0) {
		$("a[rel^='prettyPhoto']").prettyPhoto({theme:'light_square'});
	}
	
	
	
	
	if($.cookie("pertuttalavita")){
		//alert("visto")
		
		$("#content").css("display", "none");
		$("#content_endVideo").css("display", "inherit");
		$("#video_embed").css('border','1px solid #ff8618');
		$("#video_embed").css('background','#3c6697');
		$("#start_copy").css("display", "none");
		$("#footer").css("display", "none");
		$("#end_footer").css("display", "inherit");
		$("#body_bg_illustration_endVideo").css("display", "inherit");
		$("#body_bg_illustration").css("display", "none");
        $('body').css('background','none');
		$('body').css( 'background', "#1b4a82");
		$('a').css('color','#ffb90d');
		$('a').hover('color','#FF0000');
		  
	} else{
	//	alert("prima volta")
	}
	

 $(function () {
	var austDay = new Date();
	austDay = new Date(austDay.getFullYear() + 0, 1 - 1, 1);
	/*+0 indica l'anno corrente, 12= mese, - 1= non lo so, 1= giorno*/
	$('#defaultCountdown').countdown({until: austDay, timezone: -7});
	$('#year').text(austDay.getFullYear());
});
 
 
 
// Chiusura inizializzazione Jquery
});


