Code:
<center>
<!-- Begin rotating ad code -->
<script language="Javascript"><!--
function image() {
};
image = new image();
number = 0;
// imageArray
image[number++] = "<a href='http://www.chasm-online.com'><img src='http://www.chasm-online.com/forum/images/winner/creepy.png' border='0'></a><br><center>Signature Battle #7</center>"
image[number++] = "<a href='http://www.chasm-online.com'><img src='http://www.chasm-online.com/forum/images/winner/waterfallhs5.jpg'
border='0'></a><br><center>Signature Battle #8</center>"
image[number++] = "<a href='http://www.chasm-online.com'><img src='http://www.chasm-online.com/forum/images/winner/pumpupthevolumeaa8.png' border='0'></a><br><center>Signature of the Week #1</center>"
image[number++] = "<a href='http://www.chasm-online.com'><img src='http://www.chasm-online.com/forum/images/winner/link.png'
border='0'></a><br><center>Signature Battle #6</center>"
image[number++] = "<a href='http://www.chasm-online.com'><img src='http://www.chasm-online.com/forum/images/winner/redhead.png'
border='0'></a><br><center>Signature Battle #5</center>"
image[number++] = "<a href='http://www.chasm-online.com'><img src='http://www.chasm-online.com/forum/images/winner/BarryBonds.jpg' border='0'></a><br><center>Signature Battle #4</center>"
image[number++] = "<a href='http://www.chasm-online.com'><img src='http://www.chasm-online.com/forum/images/winner/DraySignature12copy.jpg' border='0'></a><br><center>Signature Battle #2</center>"
image[number++] = "<a href='http://www.chasm-online.com'><img src='http://www.chasm-online.com/forum/images/winner/1450e10ea0262b.png' border='0'></a><br><center>Signature Battle #1</center>"
// Carry on adding images - as many as you want
increment = Math.floor(Math.random() * number);
document.write(image[increment]);
//-->
</script>
<!-- End rotating ad code -->
</center>
It looks right, but the images arent displaying correctly! What did I do wrong