You should have been clearer about what you wanted in the first place. Also, please study this to understand my changes, and ask any questions about it.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<script language="JavaScript" type="text/javascript">
<!--
function SelectCng(sel,ids){
for(index in ids){
document.getElementById(ids[index][1]).style.display =
sel.selectedIndex == ids[index][0] ? '' : 'none';
}
}
//-->
</script></head>
<body>
<form>
<table border="1">
<tr>
<td>Your Name </td><td><input type="text" name="Name" /></td></tr>
<tr>
<td>Email Address</td><td><input type="text" name="Email" /></td></tr>
<tr>
<td>First Time Here?</td><td><select size="1" name="First">
<option value="No">No</option>
<option value="Yes">Yes</option>
</select>
</td>
</tr>
<tr>
<td>
How did you find us?
</td>
<td>
<select size="1" name="Found_by" onchange="SelectCng(this,[[3, 'Friend1'], [4, 'Friend2']]);" >
<option value="Newspaper">Newspaper</option>
<option value="Search Engine">Search Engine</option>
<option value="Flyer">Flyer</option>
<option value="Friend">Friend</option>
<option value="Friend">Friend</option>
</select>
</td>
</tr>
<tr id="Friend1" style="display:none;" >
<td>
Friends Name
</td>
<td>
<input name="FriendName1">
</td>
</tr>
</tr>
<tr id="Friend2" style="display:none;" >
<td>
Friends Name
</td>
<td>
<input name="FriendName2">
</td>
</tr>
</table>
</form>
</body>
</html>
Bookmarks