una cosa del genere

getURL("nomepagina.html", "target/o nome frame")

quindi nel tuo caso

getURL("nomepagina.html", "mainFrame")