parent.document.getElementById('r').innerHTML += "
js done";