theObjects = document.getElementsByTagName("object"); var i; var tmp; //setTimeout("for (i = 0; i < theObjects.length; i++) {alert(theObjects[i].outerHTML); theObjects[i].outerHTML = theObjects[i].outerHTML;}", 5000); //alert(theObjects[i].height); //tmp = theObjects[i].outerHTML; //alert(tmp); //theObjects[i].outerHTML = "test"; //theObjects[i].outerHTML = tmp.toString(); for (i = 0; i < theObjects.length; i++) { //alert(theObjects[i].outerHTML); theObjects[i].outerHTML = theObjects[i].outerHTML; }