
Cufon.replace('#body .left_sub_sidebar .prerequisite ul li a, .sf-menu a', { fontFamily: 'Myriad Pro', hover:true });
Cufon.replace('.sf-menu a, .news .letter h2, .news .letter h4, .news .head h2, .news .head h4, .events .head h2, .events .head h4, #body .right_sidebar .prerequisite .head h2, #body .right_sidebar .prerequisite .head h4, #body .right_sidebar .calendar .head h2, #body .right_sidebar .grey_box h4, #body .right_sidebar .calendar .head h4, #body .middle_content .box_with_blue_head p, #body .left_sub_sidebar .training .head h2, #body .left_sub_sidebar .training ul li, #body .left_sub_sidebar .prerequisite .head h2, #body .left_sub_sidebar .prerequisite .head h4, #body .left_sub_sidebar .prerequisite ul li, #body .left_sub_sidebar .calendar .head h2, #body .left_sub_sidebar .calendar .head h4, #body .main_content h1, #body .right_sub_sidebar .box_with_blue_head p, #body .right_sub_sidebar .green_box', { fontFamily: 'Myriad Pro' });
Cufon.replace('#body .right_sub_sidebar .scheda h2, #body .right_sub_sidebar .scheda h2 a,#body .right_sub_sidebar .scheda h3,  #body .main_content h2, #body .main_content h3, #body .main_content h4,.giorno,.mese, .date, #body .right_sub_sidebar .files_list h4,#body .right_sub_sidebar .files_list h5, .headexplorer h2,#body .right_sub_sidebar .box_brown_head p, .files_list_explorer ul li a.pdfbianco, .calendarH .head h2, .calendarH .head h4', { fontFamily: 'Myriad Pro'});
Cufon.replace('#body .main_content .expl_t1 p a, #body .main_content .expl_t1 p a:hover, #body .left_sub_sidebar .prerequisite .head h2 a:hover', { fontFamily: 'Myriad Pro', hover:true });



$(document).ready(function(){
	$("#nav a").removeAttr("title");
	$("#nav .block").css({display: "none"}); // Opera Fix
	var nav = $("#nav").offset();
	
	$("#nav li").hover(function(){
		$(this).find('.block').css({visibility: "visible",display: "none"}).fadeIn('slow');
		$(this).addClass("sfhover");
	},function(){
		$(this).find('.block').fadeOut('slow');
	});
});
