I decided to finish what I started in class before trying the Ajax approach. After some trial and error, I got the product info boxes to overlay the product image boxes by finding the corresponding element id, adding classes to show and hide, and using setStyle to give the product info box an absolute position. Here is the latest version:
