$(document).ready(function(){$("#vote").click(formProcess);if($("#poll-results").length>0)animateResults()});function animateResults(){$("#poll-results div").each(function(){var percentage=$(this).next().text();$(this).css({width:"0%"}).animate({width:percentage},'slow')})}function loadResults(data){$("#poll-container").append(data).fadeIn("slow",function(){animateResults()})}
