function fileLoaded() {

        if (navigator.appName.indexOf("Netscape") < 0) {
            if (window.event.srcElement.readyState != "loaded" && window.event.srcElement.readyState != "complete") {
                return;
            }
        }

        if (navigator.appName.indexOf("Netscape") >= 0) {
            js.removeEventListener("load", fileLoaded, false);
        }
        else {
            js.detachEvent("onreadystatechange", fileLoaded);
        }

        clearTimeout(timeoutId);
        successCallBack();

    }
/**
     * Handles the file loaded event.
     *
     * @private
     */
Handles the file loaded event.
@private
Handles the file loaded event . @private
function fileLoaded() {
        if (navigator.appName.indexOf("Netscape") < 0) {
            if (window.event.srcElement.readyState != "loaded" && window.event.srcElement.readyState != "complete") {
                return;
            }
        }
        if (navigator.appName.indexOf("Netscape") >= 0) {
            js.removeEventListener("load", fileLoaded, false);
        }
        else {
            js.detachEvent("onreadystatechange", fileLoaded);
        }
        clearTimeout(timeoutId);
        successCallBack();
    }
function fileLoaded ( ) { if ( navigator . appName . indexOf ( "Netscape" ) < 0 ) { if ( window . event . srcElement . readyState != "loaded" && window . event . srcElement . readyState != "complete" ) { return ; } } if ( navigator . appName . indexOf ( "Netscape" ) >= 0 ) { js . removeEventListener ( "load" , fileLoaded , false ) ; } else { js . detachEvent ( "onreadystatechange" , fileLoaded ) ; } clearTimeout ( timeoutId ) ; successCallBack ( ) ; }
Handles the file loaded event.
Handles the file loaded event .