<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!--
var times=5;
function winopen(){
setInterval("refresh()",1000);
}
function refresh(){
document.getElementById("mydiv").innerHTML="<font color='red' size='10'>"+(times--)+"</font>秒钟后自动跳转";
if(times<=0){
window.location.href="http://www.baidu.com"
}
}
//-->
</SCRIPT>
</HEAD>
<BODY οnlοad="winopen()">
<div id="mydiv"></div>
</BODY>
</HTML>