代码如下:
a.asp
sub init()
window.setInterval "showString()",500
end sub
...<body onload=init()>
______________________________________________
b.sap
<!--#include file=a.asp-->
sub timeOver()
document.form1.btn1.value=5
window.setInterval "countTime()",1000
window.setTimeout "redrict()",4000
end sub
...<body onload=timeOver()>