I have to agree, I have written some very decent code and complex in Javascript. It it interacting with the DOM where it gets nasty.
_________________________
Remind me to change my signature to something more interesting someday