function prepararFormulario() { var txts=document.getElementsByTagName("INPUT"); for(var i=0;i