} function loadModule(moduleID) { window.opener.location = "../module/index.php?module=" + moduleID; window.close(); } function openLongitudinal(questionID) { window.open("longitudinal_performance.php?q_id=" + questionID); } </script> </head> <body> <?php echo question_info::full_question_information($q_id, $mysqli, $userObject, $string, $notice); ?> <div style="text-align:center; padding-top:5px"> <form> <input type="button" style="width:120px" name="ok" onclick="javascript:window.close();" value="<?php echo $string['close']; ?> " /> </form> </div> </body> </html>