A few points that should probably be mentioned.
1) You can only use a particular id once - they're intended to be unique
2) The correct attribute to use for radio elements in the same group is name (not id)
3) document.getElementById(idStr) needs a string, you've given it a variable (that doesn't hold a string)
That said, you may wish to examine the following:
Javascript
var choice1Radios = document.getElementsByName('choice1');
var i, n = choice1Radios.length;
for (i=0; i<n; i++)
{
if (choice1Radios[i].checked)
{
document.getElementById('outputDiv').innerHTML = 'Radio btn with value of (' + choice1Radios[i].value +') selected currently';
i = n;
}
}
HTML
<div id='outputDiv'></div>
<label><input type="radio" name="choice1" value="206" checked="checked" />a. 206</label>
<label><input type="radio" name="choice1" value="256" />b. 256</label>
<label><input type="radio" name="choice1" value="226" />c. 226</label>