title: Images won't show up in javascript slideshow
body: <p>Images won't show up in javascript slideshow, I've been working on this for three days now and I'm sick of it. I've even started to cheat and just copy other sliders I've seen online (open source) and use those. This is for work, please help me. </p>
  
  <pre><code>&lt;div id="slideshow" style="width:960px;height:500px;overflow:hidden;"&gt;
    &lt;div id="slideshowimage" style="width:960px;height:500px;overflow:hidden;"&gt;
    &lt;/div&gt;
    &lt;div id="slideshowcontrols" style="width:960px;height:500px;overflow:hidden;"&gt;
      &lt;a onClick="alterimage(-1);"&gt;Prev&lt;/a&gt;
      &lt;a onClick="alterimage(1);"&gt;Next&lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;script type="text/javascript"&gt;
      var images = new Array;
      images[1] = "Images/image1.jpg";
      images[2] = "Images/image2.jpg";
      images[3] = "Images/image3.jpg";
      var presentimage = 1;
      function alterimage(alter){
          presentimage += alter;
          document.getElement('slideshow').innerHTML = presentimage;
      }
      alterimage(0);
  &lt;/script&gt;
  </code></pre>