Ogni frame ha un nome che identifichi quando scrivi il frameset; basta semplicemente che il getURL lo scrivi così:

getURL("pagina.html", "nome_frame");