{if $small_partners}
<div class="round">
<div class="toggles_partners{if $smarty.cookies.spartners!='opened'} opened{/if}" title="{#Partners#}">
<div class="boxes_body" style="text-align:center">
<span id="pclick"></span>
{foreach from=$small_partners item=sp}
<script language="javascript" type="text/javascript">
<!--
$(document).ready(function(){ldelim}$('#PartnerClick_{$sp->Id}').click(function(){ldelim}var options = {ldelim}target:'#plick',url:'index.php?p=partners&action=updatehitcount&id={$sp->Id}',timeout:3000{rdelim};$(this).ajaxSubmit(options); return true;{rdelim});{rdelim}); 
-->
</script>
{if $sp->Bild}
<a href="{$sp->PartnerUrl}" target="_blank" id="PartnerClick_{$sp->Id}"><img style="margin:5px 0 5px 0" src="{$sp->Bild}" border="0" alt="{$sp->PartnerName|koobispecialchars}" /></a><br />
{else}
<div style="margin:5px 0 5px 0"><a href="{$sp->PartnerUrl}" target="_blank" id="PartnerClick_{$sp->Id}"><strong>{$sp->PartnerName|koobispecialchars}</strong></a></div>
{/if}
{/foreach}
</div>
</div>
</div>

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