ah..capito male io

Prova a mettere

opener. document.location.href=('./index.htm')