title: change auto image slider to link click slider
body: <p>i want change this image slider, as a onclick slider.
  this slider is auto slide. i need to slide each image by click a link.</p>
  
  <p>DEMO <a href="http://jsfiddle.net/ramswarnak/mzRxB/1/" rel="nofollow">check here</a></p>
  
  <pre><code>(function(){
    document.getElementById('slideshow').getElementsByTagName('img')[0].className = "fx";
    window.setInterval(kenBurns, 4000);       
    var images         = document.getElementById('slideshow').getElementsByTagName('img'),
        numberOfImages = images.length,
        i              = 1;
    function kenBurns() {
      if(i==numberOfImages){ i = 0;}
      images[i].className = "fx";
      if(i===0){ images[numberOfImages-2].className = "";}
      if(i===1){ images[numberOfImages-1].className = "";}
      if(i&gt;1){ images[i-2].className = "";}
      i++;
    }
  })();
  </code></pre>