This function creates an object; the object loads a file:
Code:
<script type="text/javascript">
function makeObj(){
var TheTag = document.getElementById('test');
while(TheTag.firstChild) TheTag.removeChild(TheTag.firstChild);

var AnObject = document.createElement('object');
AnObject.classid='clsid:25336920-03F9-11CF-8FD0-00AA00686F13';
AnObject.setAttribute('type','text/html');
AnObject.setAttribute('data','included.html');
AnObject.setAttribute('width','600px');
AnObject.setAttribute('height','300px');
AnObject.setAttribute('name','my_object');
AnObject.setAttribute('border','1px');
TheTag.appendChild(AnObject);
}
</script>
Can anybody tell me why the loading (of 'included.html') does not happen in IE(6)?

Thanks,
Arie Molendijk.