    }

        function changeType() {
            var aType = document.getElementsByName("animationType")
            for (var i = 0; i < aType.length; i++) {
                if (aType[i].checked) {
                    if (Number(aType[i].value) == 2) {
                        document.getElementById("pitch").style.display = "";
                        document.getElementById("heading").style.display = "";
                    } else {
                        document.getElementById("pitch").style.display =