FYI: You need to name your 'name' and 'email' input type fields uniquely. They can not both be called region1 and post independent values - I assume you are going to post your form?
I assume you posted part of your page, there are some fundamental HTML tags missing from your page. Anyhow, this will work for you:
---------------------cut n paste---------------------
<html><head></head><body bgcolor=ECECEC>
<br><br>
<script type="text/javascript">
function HideOrShowStuff(controlToHide)
{
if (document.getElementById)
{
document.getElementById('n').disabled=true
document.getElementById('e').disabled=true
if(controlToHide==2)
{
}
else
{
document.getElementById('n').disabled = false;
document.getElementById('e').disabled = false;
}
}
else
{
alert('Sorry, your browser doesn\'t support this');
}
}
</script>
<form METHOD=post ACTION="/cgi-sys/FormMail.cgi">
Recipient: <select name="recipient" width=20>
<option value="
[email protected]">Blah 1</option>
<option value="
[email protected]">Blah 2</option>
</select><br><br>
Anonymous: <input name="anonymous" type="radio" value="Yes" onclick="HideOrShowStuff(2)"/>Yes
<input name="anonymous" type="radio" value="No" onclick="HideOrShowStuff(1)"/>No<br>
Name: <input name="name" id="n" disabled type="text" size="29" /><br>
Email: <input name="name" id="e" disabled type="text" size="29" />
<br>
<br>
<input type=text name="subject"><br>
<input type=text name="email"><br>
<input type=text name="realname"><br>
<INPUT type="Submit" value="Submit">
</form>
-----------------------------------------------------
Wind is your friend
Matt