Make a switch to another page after a delayTag(s): Varia
Actually there is no Javascript for this trick, only HTML!
<META HTTP-EQUIV="refresh" CONTENT="5;URL=http://www.somewhere.com/aPage.html">
To auto-refresh (reload) a page after the delay, the HTML solution is still good. A JAVASCRIPT alternative would be :
<SCRIPT> function aReload() { location.reload(true); } function startReload() { setTimeout("aReload()", 5000); } </SCRIPT> <BODY onLoad="startReload();">