javascript countdown

Figured I should put up my ultra-hackey code for posterity. I found lots of javascript day countdown timers, but none that did hours. I’ve put the code below. Just change the 5 variables at the beginning to what you need. Javascript counts January as the zero month so subtract one from your month (the example below is 12-6-2007 at 10:00 am):