Here's a curio, every dog does this but I like to think they are making a lucky guess based on past experience. But then my mothers dog will often wait for me when I'm coming for a visit, but she only starts her vigil when I leave London on the second leg of the journey. UF for dogs?
http://www.dogsthatknow.com/blog/?p=9
