<script type="text/javascript">
var aURLs = Array('http://google.com/', 'http://selfhtml.net/');
var aImgs = Array('images/banner1.png', 'images/banner2.png');
function rotateBanners(a_iPos)
{
window.document.links['BannerLink'].href = aURLs[a_iPos];
window.document.images['BannerImg'].src = aImgs[a_iPos];
window.setTimeout('rotateBanners(' + ((a_iPos == 0):0) + ');', 5000);
}
</script>
<body onload="rotateBanners(0);">
<a href="" name="BannerLink"><img src="" name="BannerImg" alt="Banner" style="border-width:0px;" /></a>