$(document).ready(function() {
  
  $("#zusatzinfo h4:empty").remove();
  
  $('#sm').kwicks({
    max: 620,
    sticky: true
  });
  
  $('#content').append('<a href="javascript:print();" id="printLink"><img src="fileadmin/haupttemplate/Drucker.png" width="18" height="18" style="vertical-align:middle;" alt="Seite drucken" /> Seite drucken</a>');
  
  if($('.tx-flseositemap-pi1').length>0) {
    $('.tx-flseositemap-pi1 a[href^="http://"]').each(function() {
      $(this).attr('target','_blank');
    });
  }
});
