Themeswitcher widget test
This is a test with my own themeswitcher widget code, adapted from the original code.
As you can see, if a theme is already stored in a cookie on page load, or a theme is loaded on page load through the widget options, the onselect event is no longer triggered, because I have deleted 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 (as in this example).