Ok, ich beantworte es selber :)
<SCRIPT LANGUAGE="JavaScript">
function Insertfile(a)
{
window.frames.parent.opener.document.getElementById("affe").value = a;
window.frames.parent.close();
}
</SCRIPT>
löst das Problem.
mfg, michael