function del_realy_archiv_file(fileName, fileId) {
   document.getElementById('deal_realy_archiv_file_div').innerHTML='<span style="font-weight:bold;font-size:12px;">'+fileName+'</span><br />wirklich löschen?';
   document.getElementById('deal_realy_archiv_file_div').innerHTML+='<div style="margin-top: 10px;"><input type="button" value="Ja" class="button_class" onclick="del_the_file_from_archiv('+fileId+');"> <input type="button" value="Nein" class="button_class" onclick="document.getElementById(\'deal_realy_archiv_file_div\').style.display=\'none\'"></div>';
   document.getElementById('deal_realy_archiv_file_div').style.display='block';
}
function del_the_file_from_archiv(fileId) {
   document.getElementById('deal_realy_archiv_file_div').style.display='none';
   document.getElementById('archiv_file_nr__'+fileId).style.display='none';
   
   //The Ajax Load...
   var currentTime = new Date();
   var c_time = currentTime.getTime();
   
   if(window.XMLHttpRequest) {
      ol = new XMLHttpRequest();
   } else if(window.ActiveXObject) {
   try {
      ol = new ActiveXObject('Msxml2.XMLHTTP');
   } catch(e1) {
      try {
         ol = new ActiveXObject('Microsoft.XMLHTTP');
      } catch(e2) {  }
      }
   }

   function schreibeText() {
      if(ol.readyState == 4 && ol.status == 200) {
      }
   }

   if(ol != null) {                        
      ol.open('GET','del_file_from_archive.php?t='+c_time+'&file_id='+fileId,true);
      ol.onreadystatechange = schreibeText;
      ol.send(null);
   }
}
function show_archiv_file_is_uploading_div() {
   /*   
   var width  = 10;
   var height = 10;
      
   archiv_file_is_uploading_div_obj = document.getElementById('archiv_file_is_uploading_div');
   archiv_file_is_uploading_div_obj.style.width = '0px';
   archiv_file_is_uploading_div_obj.style.height = '0px';
   archiv_file_is_uploading_div_obj.style.padding = '5px';

   archiv_file_is_uploading_div_obj.style.width = width;
   archiv_file_is_uploading_div_obj.style.height = height;
                                                                     
   document.getElementById('archiv_file_is_uploading_div').style.left = get_element_middle('archiv_edit_div').left - (width / 2);
   document.getElementById('archiv_file_is_uploading_div').style.top = get_element_middle('archiv_edit_div').top - (height / 2);
   */ 
   document.getElementById('archiv_file_is_uploading_div').style.left = '50%';
   document.getElementById('archiv_file_is_uploading_div').style.top = '50%';
                                                 
   document.getElementById('archiv_file_is_uploading_div').style.display='block';
}
