KIOSK with browser clean up routine?

Hi,

I’m trying to make a standalone flash kiosk with a browser clean up routine. Which means that when a user has opened a browser (or several) from the kiosk and wondered of, leaving a ‘mess’ of browsers, I’d like to close them all after a certain time of inactivity … I’ve been fumbling with both flash, and javascript alone, but can’t seem to come up with a solution.

Has anyone got any ideas on how to do this? Or do anyone know if Director has the ability to control a browser?

ANY hinst or directions are very welcome …

Thanks a lot!