title: Open Popup after 5 seconds what am I doing wrong?
body: <p>I placed a popup on page load, but I would prefer to appear after 5 seconds. I inserted tie out code, but it is not working what am I doing wrong?  </p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
          var link;
          var element;
                      t=setTimeout(openpopupFunction,5000);
          function openPopUp(url)
          {
              link = url;
              element = document.getElementById("background");
              element.style.display = "block";
              element = document.getElementById("popup");
              element.style.display = "block";
  
          }
  &lt;/script&gt;
  </code></pre>