theObjects = document.getElementsByTagName("object");
for (var i = 0; i < theObjects.length; i++){
	if((typeof theObjects[i].outerHTML != "unknown") && (typeof theObjects[i].outerHTML != "undefined")){
		theObjects[i].outerHTML = theObjects[i].outerHTML;
	}
}