function disableElements(formName) { formElement = document.getElementById(formName); totalElements = formElement.length; for(x=0;x