Come mai usi ancora i frame?
Il target è chiuso?
Nel codice che hai postato sembra di no.
Esiste vero quel target.