You know it would be that MUCH easier to read if you put an extra CR between blocks of code, and did some indenting:

Code:
for (i stuff) {
       your         // for example                       // look here     
       code       // if i stuff is wrong                // or move on
       here         // this might be irrelevent
}
                   
if (condition) {
       even            // supposedly this has less to do   
       more           // with that other stuff than it does with itself
}