javascript in Mozilla

"Alexander N. Treyner" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
A stupid question.
I have XUL window that uses .js file.
in .js file I have global variable.
When I open the window twice - what occures with my variable ? Will it 
be global in own window context only or it will be global for all 
windows using same .js file. What do I need to do to get variable global 
for all my project (firefox extension)?

Thanks.

Alex.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.