You can probably do this with kgPanels by just anchoring the panel to your frames and adding the appropriate code, but you'd have to go to their
forums and ask if it's possible and how because that's far out of my league.
/edit: I reread your post, and if it's just a matter of switching profiles, then you can use
Reflux to do this easily. With a macro. Sorry, I kind of misunderstood your post the first time around!