Код
<script  type="text/javascript">
//alert("asda");
var frame1 = document.getElementById("myBody");

var childDivs = frame1.getElementsByTagName('div');
if (childDivs!=null)
{
var div1 = childDivs[0];
if (div1!=null)
frame1.removeChild(div1);
};
</script>