function removeSWF(id) {
        var obj = getElementById(id);
        if (obj && obj.nodeName.toUpperCase() === "OBJECT") {
            if (ua.ie) {
                obj.style.display = "none";
                (function removeSWFInIE() {
                    if (obj.readyState == 4) {
                        //This step prevents memory leaks in Internet Explorer
                        for (var i in obj) {
                            if (typeof obj[i] === "function") {
                                obj[i] = null;
                            }
                        }
                        obj.parentNode.removeChild(obj);
                    } else {
                        setTimeout(removeSWFInIE, 10);
                    }
                })();
            } else {
                obj.parentNode.removeChild(obj);
            }
        }
    }
/* Cross-browser SWF removal
        - Especially needed to safely and completely remove a SWF in Internet Explorer
    */
Cross-browser SWF removal
Especially needed to safely and completely remove a SWF in Internet Explorer
Cross - browser SWF removal Especially needed to safely and completely remove a SWF in Internet Explorer
function removeSWF(id) {
        var obj = getElementById(id);
        if (obj && obj.nodeName.toUpperCase() === "OBJECT") {
            if (ua.ie) {
                obj.style.display = "none";
                (function removeSWFInIE() {
                    if (obj.readyState == 4) {
                        for (var i in obj) {
                            if (typeof obj[i] === "function") {
                                obj[i] = null;
                            }
                        }
                        obj.parentNode.removeChild(obj);
                    } else {
                        setTimeout(removeSWFInIE, 10);
                    }
                })();
            } else {
                obj.parentNode.removeChild(obj);
            }
        }
    }
function removeSWF ( id ) { var obj = getElementById ( id ) ; if ( obj && obj . nodeName . toUpperCase ( ) === "OBJECT" ) { if ( ua . ie ) { obj . style . display = "none" ; ( function removeSWFInIE ( ) { if ( obj . readyState == 4 ) { for ( var i in obj ) { if ( typeof obj [ i ] === "function" ) { obj [ i ] = null ; } } obj . parentNode . removeChild ( obj ) ; } else { setTimeout ( removeSWFInIE , 10 ) ; } } ) ( ) ; } else { obj . parentNode . removeChild ( obj ) ; } } }
Cross-browser SWF removal
 Especially needed to safely and completely remove a SWF in Internet Explorer
Cross - browser SWF removal Especially needed to safely and completely remove a SWF in Internet Explorer
//This step prevents memory leaks in Internet Explorer