This JavaScript shows how to set up a stopwatch that has hours, minutes, seconds, and milliseconds. It uses 4 timers for each time unit - so they are not really tied together, but should be close enough for internet useage.
This script shows the time, second by second, in normal text instead of a box. This makes it look more natural on your page. The only bad part is that it's hard to change the color and other attributes of the text without being a CSS or Javascript programmer.