Topic: AutoViewer in a frameset

My autoViewer is working OK if I embed it into a HTML page (stand alone), BUT if I put this page inside a frameset (were the menu is in a different frame) I see the code of the gallery.xml in this frame.
So my menu is working fine. It opens the a page in the correct frame, but it does not show the AV. It shows the code of the gallery.xml.
the button in the menu frame only points at the HYML page that includes the AV.
All pages and other parts of the frameset and de AV are in the same directory. Hope someone knows the answer.