I have a web page made up of frames--a left frame then a nested frameset with top, middle, and bottom---and a right frame. A hotspot on the right frame generates a popup window. I want to be able to click on a hotspot within the pop up window and have an image fill the middle frame. My code actually works, but when I click on the popup window, I am getting the file structure of the folder that the htm files are in.
Here is the code that is in the popup window....followed by the code for the onclick event.

function frameNavig(source) {
opener.parent.frames['middle'].window.location= source;



Please help me to pass the variable from the popup window into the frameset. Thanks.