<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Keywords" content="">
<meta name="Description" content="">
<title>每隔一定时间更换图片</title>
<script>
var img = [];
for(var i=1;i<=75;i++){
img.push("img/gutou "+i+".png");
}
size = img.length;
i = 0;
function updateImg(){
picID.src = img[i];
i++;
if (i>=size) i = 0;
setTimeout("updateImg()",200);
}
</script>
</head>
<body onLoad="updateImg()">
<a href="#"><img id="picID" border="0"></a>
</body>
</html>