// JavaScript Document
$(function() {
	// set opacity to nill on page load
	$("ul#menu span").css("opacity","0");
	// on mouse over
	$("ul#menu span").hover(function () {
		// animate opacity to full
		$(this).stop().animate({
			opacity: 1
		}, '2000');
	},
	// on mouse out
	function () {
		// animate opacity to nill
		$(this).stop().animate({
			opacity: 0
		}, 'slow');
	});
	$(function(){
		$("ul#menu span.ativo").css("background-position","0 -98px");	
	}
	)
});

$(function() {
	// set opacity to nill on page load
	$("ul#navegacao span").css("opacity","0");
	// on mouse over
	$("ul#navegacao span").hover(function () {
		// animate opacity to full
		$(this).stop().animate({
			opacity: 1
		}, '2000');
	},
	// on mouse out
	function () {
		// animate opacity to nill
		$(this).stop().animate({
			opacity: 0
		}, 'slow');
	});
	$(function(){
		$("ul#navegacao span.ativo").css("background-position","0 -98px");	
	}
	)
});
