diode switching circuits: the first illustration depicts an OR gate, wrongly labeled as an AND gate. Nope, its an AND gate. Sorry.