function poll_submit(I_id) {
	d = $('#p_' + I_id).serialize(true);
	$.ajax({
	   type: "POST",
	   url: ('/polls/ajax-submit/?id=' + I_id),
	   data: d,
	   success: function(I_r) {
	    $('#p_' + I_id).html(I_r);
	   }
	});
}

function poll_results(I_id) {
	$.ajax({
	   type: "POST",
	   url: ('/polls/ajax-results/?id=' + I_id),
	   data: {},
	   success: function(I_r) {
	    $('#p_' + I_id).html(I_r);
	   }
	});	
}
