define the classes in your css stylesheet. just swap the z-index of the layer, or hide and show as you want. to streamline the javascript you might want to write a small function, which passes an id through
onmouseover="swapinfo(1)"
if you dont want to use a dfined area you can look for some tooltip scripts already written...