South African batsman Stephen Cook (R) raises his bat as he celebrates after scoring a century against Sri Lanka.