Please don't define new global variables without a comment explaining what they are for.  There are lots of global variables defined up at the top of the file, and this one should probably go with those.