$(document).ready(function(){
/***
	$("ul.menu li a").each(function(i){
		var largura = $(this).width();
		var posicaobg = $(this).css('backgroundPosition');
		//console.log(posicaobg);
		$(this).parent().find("span").width(largura + 60).css('backgroundPosition',posicaobg);
	});
***/	

	$("#topo .menu li a#li01").hover(
		function(){
			$(this).stop().animate({
				backgroundPosition: '(0 0)',
			}, 100); 
	},
		function(){
			$(this).stop().animate({
				backgroundPosition: '(-102px 0)'
			}, 100);
		}
	);

	$("#topo .menu li a#li02").hover(
		function(){
			$(this).stop().animate({
				backgroundPosition: '(-204px 0)'
			}, 100); 
	},
		function(){
			$(this).stop().animate({
				backgroundPosition: '(-306px 0)'
			}, 100);
		}
	);

	$("#topo .menu li a#li03").hover(
		function(){
			$(this).stop().animate({
				backgroundPosition: '(-408px 0)'
			}, 100); 
	},
		function(){
			$(this).stop().animate({
				backgroundPosition: '(-506px 0)'
			}, 100);
		}
	);

	$("#topo .menu li a#li04").hover(
		function(){
			$(this).stop().animate({
				backgroundPosition: '(-604px 0)'
			}, 100); 
	},
		function(){
			$(this).stop().animate({
				backgroundPosition: '(-728px 0)'
			}, 100);
		}
	);

	$("#topo .menu li a#li05").hover(
		function(){
			$(this).stop().animate({
				backgroundPosition: '(-852px 0)'
			}, 100); 
	},
		function(){
			$(this).stop().animate({
				backgroundPosition: '(-956px 0)'
			}, 100);
		}
	);







});

