add lines for changing the style of the other form elements.
the third parameter:
document.form1.text1.style.display=""; // this is for showing
text1 in this case is the elements name, you can add other lines to refer to other elements:
document.form1.text1.style.display=""; // this is for showing
document.form1.text2.style.display=""; // this is for showing
document.form1.text3.style.display=""; // this is for showing