$(document).ready(function(){
	// fix PNG su ie6 e precedenti					   
	$(document).pngFix();
	// effetto hover su logo
	$("#titleNews a").hover(
	  function () {
		$(this).fadeTo("fast", 0.70);
	  }, 
	  function () {
		$(this).fadeTo("fast", 1);
	
	  }
);
	
function email() {
    var spt = $('span.mailme');
    var at = / at /;
    var dot = / dot /g;
    var addr = $(spt).text().replace(at,"@").replace(dot,".");
    $(spt).after('<a href="mailto:'+addr+'" title="Invia una email">'+ addr +'</a>')
    .hover(function(){window.status="Send a letter!";}, function(){window.status="";});
    $(spt).remove();
}
email();	
	
$("#menu li").hover(
  function () {
	$(this).children('ul').fadeIn();
  }, 
  function () {
	$(this).children('ul').fadeOut();

  }
);
$("#home blockquote").css("opacity","0.80");
$("#home blockquote").hover(
	function () {
		$(this).fadeTo(1100, 0);
	},
	function () {
		$(this).fadeTo(700, 0.80);		
	})
 });
  


