Themeswitcher widget test
This is a test with the original themeswitcher widget code, using the "onselect" event.
As you can see, if a theme is stored in a cookie or loaded through the widget options, the onselect event is triggered by the click trigger found towards the end of the themeswitcher code.
In my opinion, the onselect event should be triggered only when a theme is actually selected from the themeswitcher widget.
Click here to see my solution.