Paste this into the <head> section of the document:
Fiddle with the variables to change the clock's appearance.
Paste this where you want the clock to go:
Right-click and "Save Target As..." to save this to the document's directory:
clock.js
There is also a php version which uses the time on server's computer instead of the time on the computer of the person viewing the webpage.