 
  
Code
<style>     
 .answer div div {height: 10px !important; border: 1px solid #000; background-repeat: repeat-x}     
 </style>     
 <script type="text/javascript">     
 var a = ['http://atlan.net.ru/pol/poll1.gif','http://atlan.net.ru/pol/poll2.gif','http://atlan.net.ru/pol/poll3.gif','http://atlan.net.ru/pol/poll4.gif','http://atlan.net.ru/pol/poll5.gif'];     
 for(var i = 0; i < a.length; i++){     
     $('div.answer div div').eq(i).css({background: 'url(' + a[i] + ')', backgroundRepeat: 'repeat-x'});     
 }     
 $('div.answer span').each(function(){$(this).html($(this).html()+' - <span class="procent">'+$(this).attr('title').split(':')[1]+'</span>')});     
 </script>
 Источник: http://oktareal-css.do.am/