I have some problem with controlling the number of times a javascript code is running my problem is like if we open a new browser page and open the same link again the javascript code runs once again.what i want is only 1 instance of the code running at any time on my pc.so,can u please help me with the above mentioned.