I have a javascript function that opens a pop- up window. However, I would like to restrict the number of windows being opened. IOW, if I click the link 3 times, the pop up window is opened as 3 different windows. I'd like my function to open the window only once, i.e, if a pop-up window is already opened, the function shouldn't let me open a fresh pop-up.
I hope I did make sense to you?? Or was it all pop-up pop-up??