function toggleTextField (theOption) {
var theCommand = theOption.options[theOption.selectedIndex].value;

switch (theCommand) {
case "woman" :
theOption.form.a21.disabled = true;
theOption.form.a24.disabled = true;
break;

default :
theOption.form.a21.disabled = false;
theOption.form.a24.disabled = false;

}
}
//////////////////////
function toggleTextField2 (theOption) {
var theCommand = theOption.options[theOption.selectedIndex].value;

switch (theCommand) {
case "g3" :
theOption.form.a24.disabled = true;
break;
case "g5" :
theOption.form.a24.disabled = true;
break;

default :
theOption.form.a24.disabled = false;

}
}
/////////////////////
function toggleTextField3 (theOption) {
var theCommand = theOption.options[theOption.selectedIndex].value;

switch (theCommand) {
case "g13" :
theOption.form.a16.disabled = true;
theOption.form.a85.disabled = true;
theOption.form.a117.disabled = true;
theOption.form.a86.disabled = true;
theOption.form.a87.disabled = true;
theOption.form.a88.disabled = true;
theOption.form.a89.disabled = true;
theOption.form.a90.disabled = true;
theOption.form.a91.disabled = true;
break;

default :
theOption.form.a16.disabled = false;
theOption.form.a85.disabled = false;
theOption.form.a117.disabled = false;
theOption.form.a86.disabled = false;
theOption.form.a87.disabled = false;
theOption.form.a88.disabled = false;
theOption.form.a89.disabled = false;
theOption.form.a90.disabled = false;
theOption.form.a91.disabled = false;
}
}
//////////////////
function toggleTextField4 (theOption) {
var theCommand = theOption.options[theOption.selectedIndex].value;

switch (theCommand) {
case "g14" :
theOption.form.a22.disabled = true;
break;

default :
theOption.form.a22.disabled = false;

}
}
