<!--
var html_FileInfo_iCnt=0;
function html_FileInfo(FileName,RezId,RezId1,FileSize){
      var sHtml = "";
      var sLink = "";
      
      html_FileInfo_iCnt++;
      
      sHtml+= "<TABLE cellpadding=\"0\" cellspacing=\"0\" border=\"0\" style=\"width:100%;\"><TR><TD>";
			sHtml+= "<A name=\"FileInfo"+html_FileInfo_iCnt+"\" style=\"text-decoration:none;\"><SPAN style=\"color:#F9732F;font-weight:bold;\">"+html_FileInfo_iCnt+"&raquo;</SPAN></A> ";
      sHtml+= "</TD><TD style=\"width:100%;\">";
			sHtml+= "<INPUT type=\"text\" value=\""+htmlspecialchars(FileName)+"\" class=\"fileInfoFileName\" title=\""+htmlspecialchars(FileName)+"\" readonly>";
			sHtml+= "</TD></TR></TABLE>";
			if(FileSize!=null && FileSize!=""){
          if (FileSize < 1024){
              sFileSize = FileSize+" bytes";
          }else if(FileSize < 1024 * 1000){
              FileSize = FileSize/1024;	
              sFileSize = FileSize.toFixed(2).replace(/[\.]?0+$/,"");
              sFileSize = sFileSize+" Kb";
          }else if(FileSize < 1024 * 1000 * 1000){
              FileSize = FileSize/(1024 * 1000);
              sFileSize = FileSize.toFixed(2).replace(/[\.]?0+$/,"");
              sFileSize = sFileSize+" Mb";
          }else{
              FileSize = FileSize/(1024 * 1000 * 1000);
              sFileSize = FileSize.toFixed(2).replace(/[\.]?0+$/,"")
              sFileSize = sFileSize+" Gb";
          }
          sHtml+= "<DIV>"+R_FILEINFO_FILESIZE+": <SPAN>"+sFileSize+"</SPAN></DIV>";
      }
      sHtml+= "<DIV>"+R_FILEINFO_FILEID+": <SPAN style=\"color:green;\">"+RezId+"</SPAN></DIV>";
      //sLink = location.protocol+"//"+location.host+location.pathname.replace(/\/(index|fi)\.php/,"")+"/download.php?file="+RezId;
			sLink = location.protocol+"//"+location.host+location.pathname.replace(/\/(index|fi)\.php/,"")+"?"+RezId;
      sHtml+= "<IMG src=\"img/icon_download_link.gif\" width=\"9\" height=\"8\" border=\"0\" class=\"fileInfoLinkIcon\"><B>"+R_FILEINFO_PUBLICLINK+"</B>:<BR><A href=\""+sLink+"\" class=\"links\">"+sLink+"</A><BR>";
      sLink = location.protocol+"//"+location.host+location.pathname.replace(/\/(index|fi)\.php/,"")+"/fi.php?f="+RezId+"&s="+RezId1;
      sHtml+= "<IMG src=\"img/icon_file_properties.gif\" width=\"8\" height=\"8\" border=\"0\" class=\"fileInfoLinkIcon\"><B>"+R_FILEINFO_PRIVATELINK+"</B>:<BR><A href=\""+sLink+"\" class=\"links\" style=\"color:red\">"+sLink+"</A>";
      sHtml+= "<BR><BR>";
      return sHtml; 
}
//-->