The issue is that the Do-While loop IN the page does not seem to be working correctly. Sorry for delay in response, but I am teaching most of the afternoon. You can see the Do-While loop in the code I pasted in to the private area above.
I was going to work on it again myself when I was finished, if it is too much trouble for you.
I have put the loop in the private area againl