按时间更新图片
----------------------------
比如:点一下按钮5秒后显示:
-------------------------
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE></TITLE>
</HEAD>
var icount=0;
function test()
{
if(icount>=5)
{
mylbl.innerText="Display";
}
icount++;
window.setTimeout("test()",1000);
}
</script>
<BODY>
<label id=mylbl></label>
<INPUT type="button" value="Button" id=button1 name=button1 onclick="test();">
</BODY>