{if $nl_items}

<div class="round">
<div class="toggles_nlpanel{if $smarty.cookies.newsletter!='opened'} opened{/if}" title="{#Newsletter#}">
<div class="boxes_body">
<form method="post" action="index.php?p=newsletter&amp;area={$area}">
<strong>{#Newsletter_email#}</strong><br /><input name="nl_email" type="text" class="input" style="width:150px"/>
<br />

{if $Nl_Count>1}
<br />
<strong>{#Newsletter_sections#}</strong><br />
{foreach from=$nl_items item=nli}
<label {popup text=$nli->Info|koobispecialchars}><input type="checkbox" name="nl_welche[{$nli->Id}]" value="1" />{$nli->Name|koobispecialchars}</label><br />
{/foreach}
<br />
{else}
{foreach from=$nl_items item=nli}
<input type="hidden" name="nl_welche[{$nli->Id}]" value="1" />
{/foreach}
{/if}


<strong>{#Newsletter_format#}</strong><br />
<select name="nl_format" class="input">
<option value="html">{#Newsletter_fHtml#}</option>
<option value="text">{#Newsletter_fText#}</option>
</select>

<input type="submit" class="button" value="{#Newsletter_aboButton#}" />
<input type="hidden" name="action" value="abonew" />
</form>
</div>
</div>
</div>

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