function comment(id) { var page = "/config/proPandaCom.php?comment_id=" + id + "&comment_popup=true"; popwin = window.open(page,"","width=460,height=500,scrollbars,resizable") popwin.focus(); } document.open(); document.write("[ Ask me a question ]"); document.close();