function pollVote(url, pollId)
{
	optionId = jQuery("input[name='poll_" + pollId + "_option_id']:checked").val();
	jQuery.get(url, { poll_id: pollId, option_id: optionId, vote: 1, show_results: 1}, 
		function(data) {
				jQuery("#poll_" + pollId + "_options").attr('innerHTML', data);
		}
	);
}

function pollShowResults(url, pollId)
{
	jQuery.get(url, { poll_id: pollId, show_results: 1}, 
		function(data) {
				jQuery("#poll_" + pollId + "_options").attr('innerHTML', data);
		}
	);
}
