openCount=0
LastTime=10 '这些数据请自己根据需要的长度定
OutShort=500
OutLong=100000
OutTime=500
function Timer()
LastTime=LastTime-1
if (LastTime<1) then
if testMe.innerHtml="" then
testMe.innerHtml=testInnerHtml
openCount=openCount+1
temp.innerHtml="第" & openCount & "次刷新成功!"
OutTime=OutShort
else
testMe.innerHtml=""
OutTime=OutLong
end if
LastTime=10
end if
setT=setTimeout("Timer()",OutTime)
end function
</script>