{if get_active('calendar')}
<div class="round">
<div class="toggles_kalender{if $smarty.cookies.kalender!='opened'} opened{/if}" title="{#Calendar#}">
<div class="boxes_body" style="padding:4px; text-align:center" id="calraw">

{include file="$incpath/calendar/calendar_small_raw.tpl"}


</div>
</div>
</div>



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