> FWIW, the page is a bit heavy on markup > (document.getElementsByTagName('*') on my current test page yields > 1295), but this is not something I can help.
You're finding and attaching a lot of event handlers then. It might work better to use event delegation. Let the event bubble up so that a single handler can process events for all buttons on the page. The jQuery Listen plugin may help: http://plugins.jquery.com/project/Listen I haven't used it myself but it looks like what you need.