I hate to nitpick, but the new pic of the existing timer is a little too far away for me to trace the wires in the enclosure. :(
Also it looks like the existing timer is a T104 which is a 240 volt timer and without knowing the model of the new one it's hard to tell for sure how it can be wired...