<div class="block">
<div class="block_title"><img src="/img/poll_ico.png">$QUESTION$</div>
<div class="block_content">

<div class="poll_answ">$ANSWERS$</div>
<div class="poll_vot">
<span>Всего ответов: $TOTAL_VOTES$</span>
<a href="$RESULTS_LINK$">Результаты</a>
</div>

</div>
</div>

<script type="text/javascript">
 var color_poll = ["#718095","#ceab86","#8da180","#e59696","#718095","#ceab86","#8da180","#e59696"];
 $('.answer div div').each(function(i){
 if(!color_poll[i]){color_poll[i] = '#сссссс';}
 $(this).css({background:color_poll[i]});
 });
</script>