Try it live on http://unlayered.com/time/
Code is far from being OK. Please bare with me, I don't know what I had been doing half of the time, I'm still learning Javascript :D
================
Needs Keith Wood's countdown jQuery plugin (https://github.com/kbwood/countdown) to work. Note that I had to change a line, more on that here: kbwood/countdown#26