puoi anche controllare le frame

un esempio banale

codice:
if (this._currentframes<100){this.nextFrame()}
if (this._currentframes=100){this.stop();getURL("javascript:window.open('finpren. html','prenuragico','width=600,height=50
0');void(0);");