Code:
var choice = pickRandom(ic);
document.writeln('<a href="http://www.auto-labs.com/forum/"' + '<TABLE WIDTH=792 HEIGHT=154 ALIGN=CENTER><TR><TD>' +
'<IMG SRC="' + i[choice] +
'" HEIGHT="154" WIDTH="792" BORDER=0 id="forumlogo"><' +
"/P><" + "/TD><" + "/TR><" + "/TABLE></a>");
From the looks of it, you are trying to link a table and closing the link after closing the table. Should the <a href=""></a> not be surrounding the image instead?