top.nomeframesotto.location.href

Se poi vuoi solo il nome e non tutto il percorso puoi usare:

p = top.nomeframesotto.location.href
p = p.substr(p.lastIndexOf("/")+1)

ciao