Slideshow issue
<p>I'm having problems with my slideshow. I just want to make a slideshow for my header. i gave the image a Id(slideshow)</p>

<pre><code>var teller = 1;
var t1;
function startshow()
{
        clearTimeout(t1);
        t1 = setTimeout("startshow();", 2000);
        var newimage = "images/header"+teller+".jpg";
        document.getElementById("slideshow").setAttribute("src", newimage);
        if(teller &gt; 2)
        {
                teller = 1;    
        }
        teller++;
}
startshow();
</code></pre>

<p>the problem is that i only see the picture that ive putted in the html file. So which means that the function doesnt repeat. </p>
