I appreciate the helpful input. It appears from my server stats that the script in question has only run a couple of times a day on average, so that's fewer than a thousand instances in the past year. I ran LOTS of tests of the script, none of which hung or produced unexpected output.
If the output was as expected, then the script had to execute correctly to the end of the output stage at least. But the only thing after that is a brief sub that advises the user that they must enable cookies in order to use the script. If that code were executing, then the output I see when I run the script would not be as expected. The While(1) loops all occur PRIOR to the output stage. All they do is generate a random integer, make sure it's not the same as the last one, and move on. So I still don't get it! John M Rathbun MD