Go into Options, then select Security Options, then select General Settings, then activate the BlackBerry menu and select the option to wipe the device.
Not to hijack, but I'm on a loaner phone from my insurance company. So, will this master reset get rid of any profile pics, contacts, email setup, and stuff like that?