function setCurrentWalkHealthyPad() {
    var crtopt = document.getElementById("walkhealthypadopts").value;
    var crtprice = document.getElementById("walkhealthypad" + crtopt).value;
    var crttotal = document.getElementById("walkhealthypadtotal" + crtopt).value;
    
    document.getElementById("crtwalkhealthypad").innerHTML = crtprice;
    document.getElementById("crtwalkhealthypadtotal").innerHTML = crttotal;
}

function checkOrUncheckThisProtocol(k) {
    var crtprotbox = document.getElementById("protocolCheckBox" + k);
    var protitemArr = document.getElementsByName("protocolItemGroup" + k + "[]");
    
    for(var i = 0; i < protitemArr.length; i++) {
        protitemArr.item(i).checked = crtprotbox.checked;
    }
}
