function agreeForm1() { var Check1 = document.getElementsByTagName('Check1') var Check3 = document.getElementsByTagName('Check3') if (Check1.checked) Check3.disabled = 0 else Check3.disabled = 1 }