Photoshop CS4 list of open/closed palettes

Does anybody know if there is a way for AppleScript to obtain a list of open Photoshop CS4 panels/palettes? I have an issue where a certain script creates color samplers which requires the “Info” palette to open. Therefore I am looking for a way to test if the “Info” palette was open prior. If yes, then I would not use System Events to close that palette after the script executes. If the “Info” palette was not open prior, then I will have the script close it.