See http://undefinedvalue.com/2010/02/27/shiny-iphone-buttons-without-photoshop for information about this code.