That really is not that difficult. You can change the display of a element using:
document.getElementById('divId').style.display='none';
document.getElementById('divId2').style.display='inline';
And the 2nd line javascript should be triggered onmouseover, and the 1st line onmouseout. Make them into 2 little functions and voila you got yourself a popup.
~G