Show/hide an image works only on IE
<p>I have that JavaScript code:</p>

<pre><code>  var state = 'hidden';
    function Show_Picture() 
    {
        if (state == 'visible') 
            state = 'hidden';
        else 
            state = 'visible';
        document.getElementById('loader').style.visibility = state;
    }
</code></pre>

<p>'loader' is the </p>

<pre><code>&lt;img alt="" id="loader" src="file:///D:/ajax-loader.gif"/&gt;
</code></pre>

<p>Why that code doesn't work on FF ? Ont the IE it works OK.</p>

<p>Here's the code:
<a href="http://pastebin.com/m38aa1847" rel="nofollow">http://pastebin.com/m38aa1847</a></p>
