I think this will also not help me. I have exactly this:
for (i=1;i<name.length-1;i++){win[i]=window.open(some link+i);}
If I put calling of first function in this topic, pausecomp function, into for loop all works fine, but freezes firefox. I need something to make pause between opening this windows, but windows need to have index of i.