In my JavaScript, I would like to detect if a window exist. If yes, switch to do window or show an alert message.
Basically, it should look like this:
if (mywindowexist)
alert("You already loaded this window. Just click on it from the toolbar to make the switch.");
else msg=open("URLhere","MyWindow","toolbar=yes,directories=no,menubar=no");