Device Orientation Framework
From Headbone Creative
This is a lightweight framework of scripts that can be used to detect when the screen orientation (resolution) changes. It depends upon the fact that the Screen.width and Screen.height update when the orientation of the device changes.
The following scripts are included with this framework: