// USE THE FOLLOWING VARIABLE TO CONFIGURE FRAMES TO SEARCH
// (SELF OR CHILD FRAME)

// If you want to search another frame, change "self" below to
// parent.frames["thisframe"]
// where "thisframe" is the name of the target frame
// eg: var frametosearch1 = parent.frames["thisframe"]

var frametosearch1 = self

function search(whichform, whichframe) {
...
Veramente quello script e' predisposto per effettuare la ricerca in un frame qualsiasi... e' sufficiente richiamare la funzione tante volte quanti sono i frame modificando un valore...
esempio per una struttura con frame superiore ed inferiore diviso in destro e sinistro; comandi nel sinistro, ricerca in tutti:

codice:
search(document.MioForm, parent.parent.superiore);
search(document.MioForm, self);
search(document.MioForm, parent.destro);
ciao

ps: non l'ho provato