title: Change image based on dropdown using javascript.
body: <p>I am a beginer in javascript and I want to change an image based upon options in my dropdown (select) 
  I find this <a href="http://www.flowsim.se/picts/iljjava/eiljsele.html" rel="nofollow">tutorial</a>, but I am having some problems.</p>
  
  <p>In this tutorial they replace iljbild by the name of the picture files you are going to use
  if you want to use the code as it is the names of the picture files have got to be of the same type as in the example, ie the only thing telling the files apart should be a number, e g pict0.gif, pict2.gif etc.
  if you are using jpg images you will have to replace gif by jpg.
  set the WIDTH and the HEIGHT of the images
  if you change the (length of the) words in the selection list you will also have to change the number after charAt (here it is 8)</p>
  
  <p>it's what i did by replacing iljbid by:
  <a href="http://upload.wikimedia.org/wikipedia/commons/1/1e/Stonehenge.jpg" rel="nofollow">http://upload.wikimedia.org/wikipedia/commons/1/1e/Stonehenge.jpg</a>
  but it doesn't work.</p>