function vote_p(){
	stars=$$("#pontuacao_usuario li")
	stars.addEvent("mouseover", function(){
		stars.set("class","")
		this.set("class","on").getAllPrevious().each(function(e){
			e.set("class","on")
		})
	})
	stars.addEvent("mouseout", function(){
		stars.set("class","")
	})
	stars.addEvent("click", function(){									 
		voto=this.getAllPrevious().length+1
		var myHTMLRequest = new Request.HTML({
			url:'/voto.ajax.php', 
			onComplete:function(response){
				$("votos").empty().adopt(response)
			}
		}).get({
			//o +"" aleatório é para transformar o value em string, senão o bicho pira e tenta enviar como um array de uma posição com o valor.
			"produto_id": $("produto_id").get("value")+"",
			"voto": voto
		});
		stars.removeEvents()
	})
}