Thank you everyone. I was finally able to reach the town's plumbing inspector and this is what he told me:
1. the code in NJ is the same for all towns
2. for mechanical vent TWHs, without a direct air intake, the distance should be 4' from any window or door opening above it or to the side of...