(The forums are doing some weird wrapping on that code. The 3 if statements should be on 1 line each.)
They do when you copy and paste them into a text editor - but they do wrap because they are very long.
Very useful mod, thanks. Exactly what I was alluding to in my original thread.