You don't appear to have catered for the 'aba' situation? Ie. Where the palindrome is symetrical around a single central character.
Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
"Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon
Comment on Re^2: Finding longest palindrome from a string