$(document).ready(function(){
	$(".vote").click(function(){
		id = $(this).attr('id');
		id_parts = id.split('-');
		update = id_parts[0]+'-'+id_parts[1]+'-result';
		load = $(this).attr('title');
		$('#'+update).load("/score/vote/"+load);
	});
});
