Smell on the dog:
Home Depot has this great powder stuff. It is a kit.(developed by Milekin sp? th carpet manufacturer). You actually mist the carpet, then sprinkle with powder. Let the powder sit, then scrub the powder into the fibers and vacume out. Even got PERMENANT marker out of my berber. The other thing about this stuff is, most carpet manufacturers will not warentee your carpet once you get it wet, including to clean it. The home systems just tend to spread the mess around, and are not powerful enough to pull all the liquid back out, so it ends up in your carpet, just diluted and scented. Let me know if you need the exact name and I will go get the stuff out of the basement.
Sarah