function Window_OnBeforeUnload() {
//        if ( typeof( FCKToolbarSet ) != 'undefined' )
//            FCKToolbarSet.Collapse() ;

        var d, e;

        var j = 0;
        while ((d = aCleanupDocs[j++])) {
            var i = 0;
            while ((e = d.getElementsByTagName("DIV").item(i++))) {
                if (e.FCKToolbarButton)
                    e.FCKToolbarButton = null;

                if (e.FCKSpecialCombo)
                    e.FCKSpecialCombo = null;

                if (e.Command)
                    e.Command = null;
            }

            i = 0;
            while ((e = d.getElementsByTagName("TR").item(i++))) {
                if (e.FCKContextMenuItem)
                    e.FCKContextMenuItem = null;
            }

            aCleanupDocs[j] = null;
        }

        if (typeof(FCKTempBin) != 'undefined')
            FCKTempBin.Reset();
    }
// On IE, some circular references must be cleared to avoid memory leak.
On IE, some circular references must be cleared to avoid memory leak.
On IE some circular references must be cleared to avoid memory leak .
function Window_OnBeforeUnload() {
        var d, e;
        var j = 0;
        while ((d = aCleanupDocs[j++])) {
            var i = 0;
            while ((e = d.getElementsByTagName("DIV").item(i++))) {
                if (e.FCKToolbarButton)
                    e.FCKToolbarButton = null;
                if (e.FCKSpecialCombo)
                    e.FCKSpecialCombo = null;
                if (e.Command)
                    e.Command = null;
            }
            i = 0;
            while ((e = d.getElementsByTagName("TR").item(i++))) {
                if (e.FCKContextMenuItem)
                    e.FCKContextMenuItem = null;
            }
            aCleanupDocs[j] = null;
        }
        if (typeof(FCKTempBin) != 'undefined')
            FCKTempBin.Reset();
    }
function Window_OnBeforeUnload ( ) { var d , e ; var j = 0 ; while ( ( d = aCleanupDocs [ j ++ ] ) ) { var i = 0 ; while ( ( e = d . getElementsByTagName ( "DIV" ) . item ( i ++ ) ) ) { if ( e . FCKToolbarButton ) e . FCKToolbarButton = null ; if ( e . FCKSpecialCombo ) e . FCKSpecialCombo = null ; if ( e . Command ) e . Command = null ; } i = 0 ; while ( ( e = d . getElementsByTagName ( "TR" ) . item ( i ++ ) ) ) { if ( e . FCKContextMenuItem ) e . FCKContextMenuItem = null ; } aCleanupDocs [ j ] = null ; } if ( typeof ( FCKTempBin ) != 'undefined' ) FCKTempBin . Reset ( ) ; }
On IE, some circular references must be cleared to avoid memory leak.
On IE some circular references must be cleared to avoid memory leak .
//        if ( typeof( FCKToolbarSet ) != 'undefined' ) //            FCKToolbarSet.Collapse() ;