I agree with Audioguru. The "490k" resistors must be much lower.
I have extracted the essential elements of the circuit and have redrawn it in a recognisable configuration. I could not read the transistor numbers, so I labelled them myself.
Q1 and Q2 are configured as a Set/Reset Flip Flop. it is set and reset by transistors Q3 and Q4.
Assume that A and B are low, and Q1 is on, therefore Q2 is off. If a high is applied to A, Q4 is turned on, but no change will occur since Q1 is on. But if a high is applied to B (with A low), Q3 will turn on, this will turn Q1 off and so Q2 will turn on.
The FF is now in its other state Q2 on Q1 off. Now if a high is applied to A (with B low), Q4 will turn on, this will turn Q2 off and so Q1 will turn on.
The FF is now in its initial state.
Len