How to change theme on the fly?

@david that was fast, thank you! This is exactly what I wanted. I will now try to implement your solution for my forum.