{if $PollResultsSmall || $PollAnswersSmall}

<script type="text/javascript" language="javascript">
<!-- //
$(document).ready(function()
{ldelim}
	$('div.toggles_pollpanel').toggleElements( {ldelim} fxAnimation:'slide', fxSpeed:'normal', className:'togglerboxes',onClick:Panel_Poll_Closer,onHide:Panel_Poll_Opener{rdelim} );
{rdelim});
function Panel_Poll_Opener() {ldelim}$.cookie('navpanel_poll','opened', {ldelim}expires: 30,path: '{$cookiepath}'{rdelim});{rdelim}
function Panel_Poll_Closer() {ldelim}$.cookie('navpanel_poll', '', {ldelim} expires: 30,path: '{$cookiepath}' {rdelim});{rdelim}
// -->
</script>

<div class="round">
<div class="toggles_pollpanel{if $smarty.cookies.navpanel_poll!='opened'} opened{/if}" title="{#Poll_Name#}">
<div class="boxes_body">
<div id="pollform">
{include file="$incpath/poll/pollout_small_raw.tpl"}
</div>
</div>
</div>
</div>
{/if}
