Problem with if statements in the second half of the code. See comments for problem.

Printable View