Not surprisingly I cant get it to work. Can anyone offer some suggestions?
The idea here is that I have a table full of thumbnails that when hovered load a new image in another box beside the thumbnails (called photobox).
var id = thumb.id;
var filename="images/" + id + "_full.jpg";
photobox.style.background="url(" + filename + ")";
var thumb = document.getElementByClass("thumbnail");