The song was released during July 2007 in United Kingdom ( it was not until late 2008 that this song was released in the United States ) . The song was released as the album 's second single in July 2007 .