function iefix()
{
    theObjects = document.getElementsByTagName("object");
    for (var i = 0; i < theObjects.length; i++) {if (typeof(theObjects[i].outerHTML)=="object"){theObjects[i].outerHTML = theObjects[i].outerHTML;}}
    theObjects = document.getElementsByTagName("EMBED");
    for (var i = 0; i < theObjects.length; i++) {if (typeof(theObjects[i].outerHTML)=="object"){theObjects[i].outerHTML = theObjects[i].outerHTML;}}	
}

//iefix();

 
/*
commented cause sometimes flashes don't notify onLoad event, 
should not be a problem cause script executed at the end of the page anyway.
*/
if (document.addEventListener)
    document.addEventListener ("load",iefix,false);
else if (window.attachEvent)
    window.attachEvent("onload",iefix);
else
    document.onload = iefix;
    
