title: How to add onclick to simple js image loop
body: <p>I have added buttons to a looping gallery but am not sure how to implement them so that clicking one will jump to the corresponding image? Please see jSfiddle at: <a href="http://jsfiddle.net/NkryH/9/" rel="nofollow">http://jsfiddle.net/NkryH/9/</a></p>
  
  <p>Best regards,
  Thomas</p>