function comment(id) { var page = "/referate/comments/comment.php?comment_id=" + id + "&comment_popup=true"; popwin = window.open(page,"","width=460,height=500,scrollbars,resizable") popwin.focus(); } document.open(); document.write("[ 11 Kommentare ]"); document.close();