function checkedNo(objName) { var temp = document.getElementsByTagName("INPUT"); for (i = 0; i < temp.length; i++) { if (temp[i].id.indexOf(objName) >= 0 && temp[i].checked) { temp[i].checked = false; } }}