How can I change part of the text on a web page with javascript?

IE: I have a frames page with sections on the left and a main page on the
right. I want text to appear on the main page to describe the section when
I put my mouse on it.

How can I do this?