Forum Moderators: open
<html>
<head>
<script type="text/javascript">
function swapImage()
{
var img = document.getElementById("mypic");
if(!img ) return;
img.src = "new.gif";
}
</script>
</head>
<body onload="setTimeout('swapImage()',5000);">
<img src="orig.gif" id="mypic">
</body>
</html>
That's obviously a very trimmed example, but it works.