What can I do not get this to work in Firefox?
document.getElementById("type_" + x).checked
When I used
alert(document.getElementById("type_" + x).checked);
to check the value it comes up fine in IE, but I get a "has no properties" error in FireFox.