opener
<script type="text/javascript"> function abreJanela() { novaJanela=window.open('','','width=200,height=100'); novaJanela.opener.document.body.style.background = "#ff0000"; } <script>
... <button onclick="abreJanela()">Abrir Janela</button> ...