Popping a modal with Javascript
<p>I have the following in an html file:</p>

<pre><code>&lt;div id='confirm'&gt;
  &lt;div class='header'&gt;&lt;span&gt;Stay Online&lt;/span&gt;&lt;/div&gt;
  &lt;div class='message'&gt;&lt;/div&gt;
  &lt;div class='buttons'&gt;
    &lt;div class='no simplemodal-close'&gt;No&lt;/div&gt;&lt;div class='yes'&gt;Yes&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt; 
</code></pre>

<p>which is a simplemodal from <a href="http://www.ericmmartin.com/projects/simplemodal-demos/" rel="nofollow">http://www.ericmmartin.com/projects/simplemodal-demos/</a></p>

<p>and I created a java script timer</p>

<pre><code>if (iniTimer == 15){ 
  // call the Confirm class to launch the confirm box. 
} 
iniTimer = setTimeout("ClockCount()",1000);
</code></pre>

<p>in its own .js file and when the timer equals 15 secs I want it to pop this div from within javascript. Is this possible and if so could you please tell me how to do it?</p>

<p>Thank you very much,</p>

<p>Frank G.</p>
