Grahamt--royalties always go to the owner of the rights, and often that is not the same person as the composer of the song. That is what I was alluding to when I mentioned Paul McCartney.The Urban Legends website has an excellent little synopsis of the issues involved in these sorts of circumstances:
http://198.64.129.160/music/artists/jackson.htm