It's essentially random. You can't choose which addresses to send from with the default bitcoin.org client.
Until the version of the Bitcoin client that supports coin selection is released, a workaround is to import the keys you wish to spend from into Blockchain.info/wallet or other client where this feature is available now.