If there's a var/local associated with the name in one of them enclosing scopes, then the variable is bound to that scope. Otherwise, it usually goes in the mythical "global environment".
>>3
I know more than you bitch. I got a Ph.D from the University of Wisconsin - Milwaukee. And even though I can't get a job in my field, I still probably know more than you.