al login aggiungi in js:
codice:
parent.nomeframeX.location.href='pagnaX2.htm';