I'm trying to create a script that when the page loads it automatically clicks thus opening a pop-up
<script type = "text/javascript">
window.setTimeout("autoClick()", 10000); // 10 seconds delay
function autoClick() {
var linkPage = document.getElementById('dynLink').href...