' otherLevel.parentNode.insertBefore(div, otherLevel) new Vivus('Layer_6', { duration: 90, type: `oneByOne`, }); jQuery_2_2_4('#handwrittenNote').fadeIn(2000); } }) document.getElementById('level_flexiblegift_type1').addEventListener('change', function() { document.getElementById('handwrittenNote').style.display = "none"; document.getElementById('arrow-container').style.display = "none"; }) document.getElementById('level_flexiblegift_type2').addEventListener('change', function() { jQuery_2_2_4('#handwrittenNote').fadeIn(800); document.getElementById('arrow-container').style.display = "inline-block"; })