JS and Body(Window) Onload event
<p>I have a problem with onload event. My page have 4 iframes and the function from onload event is called 5 times ( one for body and 4 for iframes ). I want only 1 time ( from main body ). Try with srcElement and target property from windows.event but no result... Is there a way to stop onload when iframes load?</p>

<p>Code:</p>

<pre><code>&lt;body onload="init()"&gt;

&lt;div id="dialogs"&gt;

&lt;div id="login"&gt;
        &lt;FORM id="loginform" name="loginform"  action="alogin.php" method="post" target="login_target"&gt;...&lt;/FORM&gt;
    &lt;iframe id="login_target" name="login_target" src="#"&gt;&lt;/iframe&gt;  
&lt;/div&gt;
...
...
&lt;/body&gt;
</code></pre>

<p>all Iframe have the same code like this in code. i try to use a code from 
<a href="http://dean.edwards.name/weblog/2005/09/busted/" rel="nofollow">http://dean.edwards.name/weblog/2005/09/busted/</a>
to check done but the init function is called five times again</p>
