function comment(id) { var page = "/comment.php?comment_id=" + id + "&comment_popup=true"; popwin = window.open(page,"","width=440,height=500,scrollbars=yes") popwin.focus(); } document.open(); document.write("[ 1 comment ]"); document.close();