I know this can be done through Dreamweaver but is it possible to have a layer or div show and hide depending on the mouse action? Are there any similar scripts or tutorials about this kind of thing?

What I need to happen:

When a user clicks an image, in the right-hand column some info appears. When the user clicks another image, the previous info hides and the new info appears.

Could this be done through a simple query using an image map to generate the WHERE variable?