Fascinating article that should help in training your dog too:

http://www.homevet.com/petcare/dogthink.html