<script language="javascript">
//images is an array of images path.
var images = new Array('image/pic borwn/antiguabrown.png',
'image/pic borwn/Antiguablu.png',
'image/pic borwn/antiguabrown.png',
'image/pic borwn/Antiguablu.png');
var imgIndex = 1;
var tmrId=null;
function showNextImage(senderImg)
{
if(tmrId==null)
{
senderImg.src=images[imgIndex];
imgIndex++;
if(imgIndex==images.length) imgIndex = 1;
window.setTimeout("showNextImage()",1000);
}
}
function resetImage(senderImg)
{
senderImg.src = images[0];
if(tmrId) window.clearTimerout(tmrId);
tmrId= null;
}
</script>
</head>
<body>
<img src="image/pic borwn/antiguabrown.png" id="img1"
onMouseOver="setImage(this,1)" onMouseOut="setImage(this,0)"
width="145" height="80" />
</body>
</html>