function enviado() { document.getElementById('opcion1').style.display = 'none'; document.getElementById('opcion2').style.display = 'block'; setTimeout("document.form1.submit()",3000); }