<html>
<head>
</head>
<body>
<input type="radio" name="first" value="no"> ручная
<input type="radio" name="first" value="yes"> автоматическая
<input type="radio" name="sec" value="1">
<input type="radio" name="sec" value="2">
<input type="text" name="third" >
<script>
document.body.onchange=function(){
[].forEach.call(document.querySelectorAll('input[name="sec"]'), function(el){
el.disabled = document.querySelector('input[value="no"]').checked;
});
document.querySelector('input[name="third"]').disabled = document.querySelector('input[value="yes"]').checked;
};
</script>
</body>
</html>