Ring Toggle is a simple app which allows you to switch quickly among ring, vibrate, and silent modes, without fiddling around with any other android settings. Simply open the app and select a mode; the selected mode takes effect immediately.

http://code.google.com/p/ringtoggle/