Take alook at http://www.javascript-page.com/timer.html You can modify it to automatically start onload or you can leave it as is and let the visitor start and stop it as they see fit.