the variable is declared outside of any function @jmacdonald which i thought would allow it to persist, as compared to a local variable - i know i've used this approach in client scripts to track say the "mode" of the script beyond the pageInit event