/* This script and many more are available free online at The JavaScript Source :: http://javascript.internet.com Created by: Jon Brown :: http://allthingsrunescape.freewebs.com */ var c=5; var t; function timedCount() { document.title='JavaScript Source | Redirecting in ' + c + ' seconds'; c=c-1; t=setTimeout("timedCount()",1000); if (c==-1) { clearTimeout(t); document.title='Redirecting ...'; self.location="http://www.yourDomain.com/newPage.html"; } } window.onload=timedCount;