
        }catch(e){ 
        obj['on' + type] = handle;
      }
    }
  }
  
  var myForm = fileobj.form;
  var fileUploadFrame = document.getElementById("iframe-upload-target");
  
  fileUploadFrame.name = "iframe-upload-target";
  fileUploadFrame.contentWindow.name = "iframe-upload-target";
  
  if (!fileUploadFrame.getAttribute('load-event')) {
      addEvent(fileUploadFrame,'load',function () {
        var result;
        
        var _this = this;
        var iframe = fileUploadFrame;
  
        var do