<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>

<body>
theObjects = document.getElementsByTagName(&quot;object&quot;);<br>
for (var i = 0; i &lt; theObjects.length; i++) {<br>
theObjects[i].outerHTML = theObjects[i].outerHTML;<br>
}
<p></p>
</body>
</html>
