anchor.diff:  */
   S3BrowserMultipart.prototype.partUploadProgress = function(arg){
     try{
  -    uploadInfo=S3BrowserMultipart.prototype.getCurrentUpload();
  +    var uploadInfo=S3BrowserMultipart.prototype.getCurrentUpload();
       currentByte = (uploadInfo.signData.chunk_size*(uploadInfo.partNumber-1))+arg.loaded; 
       if(currentByte > uploadInfo.file.size){
         currentByte = uploadInfo.file.size;
  
positive.code:   When part upload fail and need to retry
  */
  S3BrowserMultipart.prototype.partUploadFail = function(arg){
    uploadInfo=S3BrowserMultipart.prototype.getCurrentUpload();
    $('.file_progress .message').html('Error reloading part : '+uploadInfo.partNumber + ' retrying in 10 seconds');
    window.setTimeout(function(){
      uploadInfo=S3BrowserMultipart.prototype.getCurrentUpload();
      S3BrowserMultipart.prototype.uploadPart(uploadInfo.partNumber,
        uploadInfo.signData,uploadInfo.file);
    },10000);
  
negative.code: At the moment only support 1 upload at the same time
  */
  S3BrowserMultipart.prototype.partUploaded = function (s3Data){
    var file_key=s3Data.getElementsByTagName("Key")[0];
    var uploadInfo=S3BrowserMultipart.prototype.getCurrentUpload();
    if(uploadInfo!==undefined){
      var slice = S3BrowserMultipart.prototype.calculateSlice(uploadInfo.partNumber, 
        uploadInfo.signData.chunk_size,uploadInfo.file.size);
      S3BrowserMultipart.prototype.reportUploadedPart(uploadInfo,file_key);
  
      S3BrowserMultipart.prototype.showProgressUploadedPart({partNumber: uploadInfo.partNumber,
        partCount: slice.partCount, s3Data: s3Data});
      //More parts ?
      if(uploadInfo.partNumber < slice.partCount){
        //Call next file upload
        S3BrowserMultipart.prototype.uploadPart(uploadInfo.partNumber+1,
          uploadInfo.signData,uploadInfo.file);
      }
    }else{
      S3BrowserMultipart.prototype.alertFunction("Pudo presentarse un error subiendo el archivo por problemas de conexión. Por favor guarde el borrador y recargue la página para verificar.")
    }
  }
  
  