Windows timer
<html> <head> <title>timer</title> <script type="text/javascript"> function sendAlert() { document.write("Hello"); } function startTimer() { var timerID = window.setTimeout(sendAlert,8000); } </script> </head> <body onload="startTimer();"> <p>Hello</p> </body> </html>