trying to get my image fade to work
<pre><code>var fade = 1;

function fadeit() {
    if (fade &lt; 4500) 
        fade++
    else 
        fade = 1
    setTimeout("fadeit()", 100)
}

function fader() {
    fadeit()
    if (fade &lt; 3500) 
        document.getElementById("showone").style.opacity = "0.4";
    else if (fade &lt; 500) 
        document.getElementById("showone").style.opacity = "0.1";
    else 
        document.getElementById("showone").style.opacity = "1.0";
}
</code></pre>

<p>I am trying to get this code to work so that it will fade the image at different times.</p>
