Questo dovrebbe fare al caso tuo
http://javascript.html.it/script/ved...e-un-frameset/
Se ho capito il problema.