How to set popup on page load first time only?
<p>How to set a popup window that open when first time the page load? i m using this code for my popup how to set session for this popup? is there any way to use ip as session?</p>

<pre><code>    &lt;script&gt;
        !window.jQuery &amp;&amp; document.write('&lt;script src="fancybox/jquery-1.4.3.min.js"&gt;&lt;\/script&gt;');
    &lt;/script&gt;

    &lt;script type="text/javascript" src="fancybox/jquery.fancybox-1.3.4.pack.js"&gt;&lt;/script&gt;   

    &lt;script type="text/javascript"&gt;

    $(document).ready(function() {


        $("a#example1").fancybox();

        $("a#example1").trigger('click');


    });
    &lt;/script&gt;


    &lt;link rel="stylesheet" type="text/css" href="fancybox/jquery.fancybox-1.3.4.css" media="screen" /&gt;


&lt;/head&gt;



&lt;body&gt;

&lt;a id="example1" href="images/pic.jpg"&gt;&lt;/a&gt; 



&lt;/body&gt;
</code></pre>
