jQuery: run only once
<p>Yes i have an fancybox. It auto opens if ?mode=new</p>

<p>What happens on ?mode=new is:</p>

<pre><code>&lt;script&gt;
$(document).ready(function(){
$('#newPM').click();
});
&lt;/script&gt; 
</code></pre>

<p>It opens fine. But when you then click on the element, it keeps closing/open, because this is activated. So how can i only run this once?</p>
