﻿function ClearRadio(strPrefix) {
    var intIndex = 0;
    var objButton;
    do {
        objButton = document.getElementById(strPrefix + '_' + intIndex);
        if (!objButton) { break; }
        objButton.checked = false;
        intIndex += 1;
    } while (objButton != null)
}
function SelectAllCheckBoxes(strPrefix, blnSelect) {
    var intIndex = 0;
    var objCheckbox = null;
    do {
        objCheckbox = document.getElementById(strPrefix + '_' + intIndex);
        if (!objCheckbox) { break; }
        objCheckbox.checked = blnSelect;
        intIndex += 1;
    } while (objCheckbox != null)
}