Quello che interessa sapere è come ottieni la parte

oDocument.body.innerHTML

perché potrebbe essere incompleta ...