Ver originaldocument.getElementsByName;
Ver originalvar m1 = document.getElementsByName("adult")[0].value;