I'm such an ignorant self-taught life-time-novice that this is the blind leading the blind, but I'll take a stab at it.
To the best of my knowledge when you load a new page you lose everything in memory. There are two workarounds that I know of:
1. Save the variable from page one in a cookie which is loaded by page two.
2. Don't actually change the "page" but give that illusion by rewritting it using frames. See my recent posts on the subject.
Edit to the above... glenngv and I posted almost exactly the same time. Looking at his ref I didn't do so bad!
Last edited by peterinwa; 07-16-2004 at 07:39 AM..