How is this done?

look at link:

click the buttons. i want to have same effect when i press button. i want old text to dissapear or go up/down, and new text (for that button) to appear.

my q is: when i press button, how can i affect elements from frame i was just on?

thank you, very very VERY much.

bye