<fieldset>
<legend><a href="#" alt="" onclick="javascript:$(this).parent().next().slideToggle('slow'); return false;">{$contenttype}</a></legend>
<div class="message">
  {$messagepart}
</div>
</fieldset>