//function startFlash(){

theObjects = document.getElementsByTagName("object");
theParams = document.getElementsByTagName("param");
for (var i = 0; i < theObjects.length; i++) {
//alert(theObjects[i].outerHTML);
flashData = theObjects[i].data;
flashId = theObjects[i].id;
flashType = theObjects[i].type;
flashHeight = theObjects[i].height;
flashWidth = theObjects[i].width;
flashName = theParams[i].name;
//theObjects[i].outerHTML = theObjects[i].outerHTML;
theObjects[i].outerHTML = '<OBJECT id="'+flashId+'" type="'+flashType+'" height="'+flashHeight+'" width="'+flashWidth+'" data="'+flashData+'"><param value="'+flashData+'" name="'+flashName+'"/></OBJECT>';
//string = '<object id="'+flashId+'" type="'+flashType+'" height="'+flashHeight+'" width="'+flashWidth+'" data="'+flashData+'"><param value="'+flashData+'" name="'+flashName+'"/></object>';
//alert(flashId);
//alert(theObjects[i].outerHTML);
//theObjects[i].outerHTML = '<object type="application/x-shockwave-flash" height="370" width="720" data="/met/UserFiles_MET/Flash/et20/1p4s.swf"><param value="/met/UserFiles_MET/Flash/et20/1p4s.swf" name="movie"/></object>';
//alert(theObjects[i].outerHTML);
}
//}

