This ckt is an example of a voltage level detector. As long as the voltage on the pot wiper arm is between the upper and lower threshold levels, neither led lights. They only light when the wiper arm voltage exceeds the UTL voltage or drops below the the LTL. Thus the name "Window Detector."