Added support for switching HTML frames.