Changing two or more frames using Javascript is easy.