
       Graph = "<img border='0' src='imgs/rank.gif' width='12' height='12' />";

       function Down(D)
       {
              Do = "include/download-cgi.php?kat=" + D + "";
       }
       function Nb1(N,S,P,R)
       {

              if (S == '1'){Ie = Graph}
              if (S == '2'){Ie = Graph+Graph}
              if (S == '3'){Ie = Graph+Graph+Graph}
              if (S == '4'){Ie = Graph+Graph+Graph+Graph}
              if (S == '5'){Ie = Graph+Graph+Graph+Graph+Graph}

              document.write("<table border='0' width='100%' cellspacing='1' cellpadding='1'>");
              document.write("<tr><td width='60%' align='left' valign='top' class='td0'><b>" +N+ "<\/b><\/td>");
              document.write("<td width='20%' align='left' valign='top' class='td0'>" +Ie+ "<\/td>");
              document.write("<td width='20%' align='right' valign='top' rowspan='2'>" +R+ " Kb ");

if (P == 'ZOBACZ'){document.write("<br><a href='brpro.php?sid=3'>&gt;&gt; ZOBACZ<\/a>");}
else{document.write("<a href='" +Do+ "&progs=" +P+ "'><img border='0' src='imgs/down.gif' width='21' height='23' align='middle' /><\/a>");}

              document.write("</td></tr>");
       }
       function Nb2(O)
       {
              document.write("<tr><td width='80%' align='left' valign='top' class='tekst' colspan='2'>" +O+ "<\/td><\/tr><\/table>");
       }
       function NbS()
       {
              document.write("<br/>");
       }

       function Legenda(S)
       {
              if (S == '1'){Ie = Graph}
              if (S == '2'){Ie = Graph+Graph}
              if (S == '3'){Ie = Graph+Graph+Graph}
              if (S == '4'){Ie = Graph+Graph+Graph+Graph}
              if (S == '5'){Ie = Graph+Graph+Graph+Graph+Graph}

              document.write(Ie);
       }
