Topic: Activating on Click

I'm designing a pseudo-flash website (Javascript can go a long way) and I need Simpleviewer to "popup" when a corresponding link in the navbar is clicked. There are two problems:

1. While the content appears to popup, it is actually only hidden. Of course, Simpleviewer loads with the page rather than "hiding". I need it to only load when someone chooses to view the gallery.

2. Because I'm using faux pages, I also need Simpleviewer to close when someone clicks on another content link in the navbar.

Thanks. ;)