<html>
<head>
<title>New Page 1</title>
</head>
<script language="vbscript">
dim timeoutID
' timeoutID = window.setTimeout("location.reload",5000,"vbscript")
timeoutID = window.setTimeout("NextPic",5000,"vbscript")
document.write now
dim i
i=0
dim Pic(1)
Pic(0)="http://blog.csdn.net/images/PoweredByAsp.Net.gif"
Pic(1)="http://blog.csdn.net/images/100x30_Logo.gif"
sub clear
window.clearTimeout(timeoutID)
end sub
sub NextPic
if i=1 then
i=0
else
i=i+1
end if
document.pic1.src=pic(i)
timeoutID = window.setTimeout("NextPic",5000,"vbscript")
end sub
</script>
<body>
<p><input type="textbox" value="" name="B3" οnfοcus="Clear"></p>
<img id="pic1" name='pic1' src="">
</body>
</html>