>Well, I like the idea of Thomas Ganss. In summary, use a single (global) object instead of lots of global variables. Add the variable texts as properties. It is indeed preferable to reduce your number of global variables.
Agreed. Thanks for getting us to start thinking in the first place.