Check your browser if you have Javascript off, also check if you put the javascript between the header tags...
There shouldn't be anything in the link, it's just a dummy for javascript...
It seems to me that you simply have a javascript problem, then again most of the code IS javascript so that would pretty much be expected...
If the solutions above didn't do anything at least add an
alert("HELLO!");
To the first line of the javascript function, to see if it is executed at all and let me know.
I'll try it myself tonite if you're still having probs...