// Attach this to the onload event handler to make sure all of the items  
// we're activating are available via the DOM. 
function activateActiveX() 
{   
    var activeXObjTypes = new Array( "embed", "object" );   
    for ( var i = 0; i < activeXObjTypes.length; i++ )   
    {     
        var xObj = document.getElementsByTagName( activeXObjTypes[i] );     
        for( var j = 0; j < xObj.length; j++ )     
        {       
            xObj[j].outerHTML = xObj[j].outerHTML;     
        }   
    } 
}
//window.onload = activateActiveX;
activateActiveX();
