I have several radio buttons with the same name. Like this:
for(var property in object) { ... }
is used to loop in objects to find properties. for array you can use normal for loop
for(var i=0; i< radios.length; i++) { var radio = radios[i]; .... }