Testing Double Click Events - WARNING, something in IE is borked.

Clicky clicky

Give yourself a cursed sword Give yourself an unusable bow

Button

Results

IE generates a single click event, and then a double click event. (Same for both link and div onclick)
Firefox generates TWO single click events and then the double click event. (Same for both link and div onclick)

Conclusions

Do something innocuous, or on a delay, with the single click; preferably idempotent or ui-only since we'll have either one or two of them to deal with. If we pop-up a menu then it MUSTN'T obscure the click-spot we're clicking on.
YAY ME! IE6 has a buggy thingy going on with removeChild - sometimes it works, sometimes it dosn't. Yay. try/catch time.
And that leads on to the 'bubble-up' sometimes being ok and sometimes not - depending upon whether the item actually ends up the parent or not.

Keypress events appear to be working ok in both IE and FireFox. Press 'i' to bring back the inventory, 'c' to bring back the chat, 'o' to bring back the options and '~' to bring back the debug log.
TODO: Throw the options panel into panelevent.js

From ProgressQuest:
Vitreous Humour
Astral Miasma
Nonplus
Eye of the Troglodyte
Roger's Grand Illusion
Ursine Armour
Acrid Hands
Anginoplasty
Animate Nightstand
Grognor's Big Day Off
Spectral Oyster
Holy Batpole
Curse Name
Holy Roller
Tonsilectomy
Covet
Rabbit Punch
Sadness
Gyp
Slime Finger
Magnetic Orb
Innoculate
Hastiness
Big Sister
Lockjaw
Aqueous Humour
Seasick
cone of Paste
Invisible Hands
Revolting Cloud
Clever Fellow
Mulligan
Spectral Miasma
Braingate
Dropsy
Cone of Annoyance
Nestor's Bright Idea
Hydrophobia