// JavaScript Document

// Obtain a list of all the "objects"
var documentObjects = document.getElementsByTagName("object");
// Loop throught the items and reassign the outerHTML
for(var x = 0; x < documentObjects.length; x++) documentObjects[x].outerHTML = documentObjects[i].outerHTML;
