this is what i use
Code:
<!-- Banner Rotator -->
<td class="alt1">
<SCRIPT LANGUAGE="Javascript"><!--
function banner() {
};
banner = new banner();
number = 0;
// bannerArray
banner[number++] = "<a href='http://www.link here.co.uk' target='_blank'><img src='http://image lin here.co.uk' border='1'></a>"
banner[number++] = "<a href='http://www.link here.co.uk' target='_blank'><img src='http://image lin here.co.uk' border='1'></a>"
banner[number++] = "<a href='http://www.link here.co.uk' target='_blank'><img src='http://image lin here.co.uk' border='1'></a>"
banner[number++] = "<a href='http://www.link here.co.uk' target='_blank'><img src='http://image lin here.co.uk' border='1'></a>"
banner[number++] = "<a href='http://www.link here.co.uk' target='_blank'><img src='http://image lin here.co.uk' border='1'></a>"
banner[number++] = "<a href='http://www.link here.co.uk' target='_blank'><img src='http://image lin here.co.uk' border='1'></a>"
banner[number++] = "<a href='http://www.link here.co.uk' target='_blank'><img src='http://image lin here.co.uk' border='1'></a>"
banner[number++] = "<a href='http://www.link here.co.uk' target='_blank'><img src='http://image lin here.co.uk' border='1'></a>"
increment = Math.floor(Math.random() * number);
document.write(banner[increment]);
//--></SCRIPT>
</td>
<!-- End Banner Rotator -->