http://jacarandaventures.com/northwest-territories/how-to-make-a-timer-to-measure-time-javascript.php