function displayFbContent(obj) {
        if (ua.ie && obj.readyState != 4) {
            // IE only: when a SWF is loading (AND: not available in cache) wait for the readyState of the object element to become 4 before removing it,
            // because you cannot properly cancel a loading SWF file without breaking browser load references, also obj.onreadystatechange doesn't work
            obj.style.display = "none";
            var el = createElement("div");
            obj.parentNode.insertBefore(el, obj); // insert placeholder div that will be replaced by the fallback content
            el.parentNode.replaceChild(abstractFbContent(obj), el);
            removeSWF(obj); //removeSWF accepts elements now
        } else {
                obj.parentNode.replaceChild(abstractFbContent(obj), obj);
            }
    }
/* Functions to abstract and display fallback content
    */
Functions to abstract and display fallback content
Functions to abstract and display fallback content
function displayFbContent(obj) {
        if (ua.ie && obj.readyState != 4) {
            obj.style.display = "none";
            var el = createElement("div");
            obj.parentNode.insertBefore(el, obj); 
            el.parentNode.replaceChild(abstractFbContent(obj), el);
            removeSWF(obj); 
        } else {
                obj.parentNode.replaceChild(abstractFbContent(obj), obj);
            }
    }
function displayFbContent ( obj ) { if ( ua . ie && obj . readyState != 4 ) { obj . style . display = "none" ; var el = createElement ( "div" ) ; obj . parentNode . insertBefore ( el , obj ) ; el . parentNode . replaceChild ( abstractFbContent ( obj ) , el ) ; removeSWF ( obj ) ; } else { obj . parentNode . replaceChild ( abstractFbContent ( obj ) , obj ) ; } }
Functions to abstract and display fallback content
Functions to abstract and display fallback content
// IE only: when a SWF is loading (AND: not available in cache) wait for the readyState of the object element to become 4 before removing it, // because you cannot properly cancel a loading SWF file without breaking browser load references, also obj.onreadystatechange doesn't work // insert placeholder div that will be replaced by the fallback content //removeSWF accepts elements now