rem: iframe.onload = function() { 
add: iframe.onreadystatechange = iframe.onload = function() { if (tw_isIE && iframe.readyState != "complete") return; 
context: function tw_makeFileChooserBtn(buttonId, tfId) {    var btn = tw_Component.instances[buttonId];    var tf = tw_Component.instances[tfId];    var iframe = document.createElement("iframe");        s = iframe.style;        s.top = "0px";    s.width = btn.getWidth() + "px";    s.height = btn.getHeight() + "px";    s.position = "absolute";    //s.border = "solid 1px black";    //s.backgroundColor = "red";    s.overflow = "hidden";    s.zIndex = "1";    s.opacity = "0";    if (tw_isIE) s.filter = "alpha(opacity=0)";    iframe.scrolling = "no";    iframe.src = "?_twr_=blank.html";    iframe.frameBorder = "0";    iframe.onload = function() {        input = iframe.contentWindow.document.getElementsByTagName("input")[0];        if (input != null) {            input.name = "file0";            input.onchange = function() {                tf.setText(this.value);            };        }    };    btn._iframe = iframe;    btn._box.appendChild(iframe);}
meta: 5515	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5515/36038d59d63c56be99797b714f332c5faaabaaaa/Startup.js/clean/src/thinwire/render/web/resources/Startup.js