How to stop my neighbor's dog from barking?

Additional Details

My neighbor has a small Pomeranian dog that barks every time someone walks by it. What is a harmless, effective way that I could get it to stop? Remerber, it's not my dog, it's my NEIGHBORS so I can't hurt it in any way. Thanks!