I have about 9 different toggle windows that open on my page with a corresponding button. When the user clicks on a button the toggle window will open and, it will close as well when the button is clicked again.
Instead of clicking the button again to close the window... I would like the user to click on any other toggle window button, so that a new window opens and at the same time the previous window closes.

Hope that makes sense.

Here is my script for a couple of the buttons... I am not sure where to even start to modify the script to what I would like as described above. I am suspecting that it would have to be a StopAll command so that when a new toggle window button is clicked, it stops all previous clips... I could be so wrong though.
-------

Thank you! This worked :D
Although I did have to make a slight adjustment. I had to change each frame "12" to frame "24". At 12 it kept opening the toggle windows thinking it had to open them before closing them, since the toggle animation starts at 12 and ends at 24. When I put 24 into the script, it immediately closes each window upon pressing a button, which works just fine for me.
Thank you for your help!!
I couldn't be doing any of this without you!