This seems like such a n00b question in 2007, but... what am I doing wrong? I have thumbnail images marked up like so...
Code HTML:
<div id="thumb001">
                        <a class="thumb" title="/img/img01.jpg"><img src="img/img001_thumb.jpg" alt="Img001 thumbnail"  /></a><br />
                        <a class="thumb" title="/img/img01.jpg">Image 001</a>
                        </div>
                        <div id="thumb002">
                        <a class="thumb" title="/img/img02.jpg"><img src="img/img002_thumb.jpg" alt="Img002 thumbnail"  /></a><br />
                        <a class="thumb" title="/img/img02.jpg">Image 002</a>
                        </div>
.
.
.
I have a div for the full size display of the selected image...
Code HTML:
<div id="div_selected">
                <img id="selected" name="selected" src=""  />
            </div>
...And I have JavaScript that returns an alert, but doesn't switch out the image like I thought it would.
Code JavaScript:
<script type="text/javascript">
var findPic = {
    init: function()
    {
        var links = Core.getElementsByClass("thumb");
        for (i=0; i < links.length; i++) 
        {
            links[i].onclick = findPic.clickHandler;
        }
    },
    clickHandler: function() 
    {
        document.selected.src = this.title;
        alert(this.title);
        return false;
    }
 
}
Core.start(findPic);
</script>