converting a simple jquery code to javascript
<p>I have a code for a simple photo gallery that had been writen with jquery, but i think it's overkill to load the entire library for such a simple thing. I want it in raw javascript.</p>

<pre><code>$('#thumbs').delegate('img','click', function(){
    $('#largeImage').attr('src',$(this).attr('src').replace('thumb','large'));
    $('#description').html($(this).attr('alt'));
});
</code></pre>

<p>Also i'm wondering how do I attach a loading spinner to this code. thanks.</p>

<p><a href="http://jsfiddle.net/xVNEX/" rel="nofollow"><strong>jsfiddle</strong></a></p>
