Try talking with the owners... ask them about the dog. Maybe they'll even let you take it and find it a good home.

If not, maybe try contacting your local SPCA or Humane Society?