That script was exactly what I needed. Thanks.
While the ToggleScreenMode option technically worked, it wasn't a good user experience in my case as it hid the tabs I had showing above the radEditor.
I modified the code slightly, but you got me on the right path :
//Not good user experience.
window.onresize = OnClientLoad;