var d = document.getElementById("div_readonly");
if(d) d.parentNode.removeChild(d);
ciao