ifr=document.getElementById('miframe'); docIfr=ifr.contentDocument || ifr.contentWindow.document; CONTENIDO=docIfr.body.innerHTML;