Can anyone please provide a javascript for the following requirement:

There is a text present on the page by default. when clicked on a link on the same page, the default text content must change

sample:

==link 1== ==link 2== ==link 3==

*** default text1 ****



when we click link2, text 2 must be displayed and when we click on link3, text3 must be displayed

please help me out

thanks
lohith