Yes, I noticed this cute puppy's picture also came up, when I searched for a chocolate image. :)
1 oz milk chocolate per pound is the toxic dose of chocolate for dogs. The offending chemical is the stuff that supresses the cough.
Theobromine is has an action very much like theophylline, an asthma drug.