<script language="JavaScript">
var imgs = new Array();
imgs[0] = new Image();
imgs[1] = new Image();
imgs[2] = new Image();
imgs[0].src= '1.jpg';
imgs[1].src= '2.jpg';
imgs[2].src= '3.jpg';
var i = 0;
function show()
{
if ( i > 2 )
{
i = 0;
}
document.write('<a href="site_' + i + '.html">Image' + i + '</a>');
i++;
}
setInterval('show()', 1000);
</script>