sorry for the English.

Have dynamic radio buttons
are working, however, but I am new to javascript

when you select one option Seems in another as I hide it? fix this?

RADIOS: •YES •NO •OTHER

and div hide...

```
<div id="hide"> FORM FOR YES </div> 
<div id="hide2">FORM FOR OTHER </div>

```

**when I select "yes" and then "other" are appearing as two divs can hide the div "hide". this only ever if I select "yes" and then "other".**

```
window.onload=function(){
    document.getElementById('hide').style.display="none";
            document.getElementById('hide2').style.display="none";
}

function possui_dominio()
{
if(document.getElementsByName('form[dominio]')[0].checked)
document.getElementById('hide').style.display="inline";

if(document.getElementsByName('form[dominio]')[1].checked)
document.getElementById('hide').style.display = 'none';
document.getElementById('hide2').style.display = 'none';

if(document.getElementsByName('form[dominio]')[2].checked)
document.getElementById('hide2').style.display="inline";
}

</script>

```

Thank you for those who help me, sorry for bad English.