It's your neighbor's obligation to keep his dog contained to his own yard. If he lets his dog escape, dogs will do what doggies do.