function f_16_p() {
wnd=window.open("", "w_tmp", "dependent=no,directories=yes,menubar=yes,resizable=yes,scrollbars=yes,toolbar=yes,titlebar=yes");
wnd.document.open();
wnd.document.writeln('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">');
wnd.document.writeln('<html lang="en">');
wnd.document.writeln('<head>');
wnd.document.writeln('<title>www.povetkin.ru</title>');
wnd.document.writeln('<meta name="description" content="Alexander Povetkin (boxing)">');
wnd.document.writeln('<meta name="keywords" content="Povetkin, boxing, Russia, Kursk">');
wnd.document.writeln('<meta http-equiv="Pragma" content="no-cache">');
wnd.document.writeln('<meta http-equiv="Cache-Control" content="no-cache">');
wnd.document.writeln('<meta http-equiv="charset" content="iso-8859-1">');
wnd.document.writeln('<meta http-equiv="imagetoolbar" content="no">');
wnd.document.writeln('<style type="text/css">');
wnd.document.writeln('.b0100 {');
wnd.document.writeln('  border-top:    none;');
wnd.document.writeln('  border-right:  1px solid windowtext;');
wnd.document.writeln('  border-bottom: none;');
wnd.document.writeln('  border-left:   none;');
wnd.document.writeln('  vertical-align: top;');
wnd.document.writeln('}');
wnd.document.writeln('.b0110 {');
wnd.document.writeln('  border-top:    none;');
wnd.document.writeln('  border-right:  1px solid windowtext;');
wnd.document.writeln('  border-bottom: 1px solid windowtext;');
wnd.document.writeln('  border-left:   none;');
wnd.document.writeln('}');
wnd.document.writeln('.b1000 {');
wnd.document.writeln('  border-top:    1px solid windowtext;');
wnd.document.writeln('  border-right:  none;');
wnd.document.writeln('  border-bottom: none;');
wnd.document.writeln('  border-left:   none;');
wnd.document.writeln('  vertical-align: top;');
wnd.document.writeln('}');
wnd.document.writeln('.b1100 {');
wnd.document.writeln('  border-top:    1px solid windowtext;');
wnd.document.writeln('  border-right:  1px solid windowtext;');
wnd.document.writeln('  border-bottom: none;');
wnd.document.writeln('  border-left:   none;');
wnd.document.writeln('  vertical-align: top;');
wnd.document.writeln('}');
wnd.document.writeln('.flag {');
wnd.document.writeln('  border:        #bbbbbb 1px solid;');
wnd.document.writeln('}');
wnd.document.writeln('.res {');
wnd.document.writeln('  vertical-align: top;');
wnd.document.writeln('}');
wnd.document.writeln('h3 {');
wnd.document.writeln('  color: black;');
wnd.document.writeln('  font-family: Arial, Helvetica, sans-serif;');
wnd.document.writeln('  font-size: 14px;');
wnd.document.writeln('  font-style: normal;');
wnd.document.writeln('  font-weight: medium;');
wnd.document.writeln('  font-weight: bold;');
wnd.document.writeln('  text-align: center;');
wnd.document.writeln('  padding: 1px 0px 1px 0px;');
wnd.document.writeln('}');
wnd.document.writeln('#title {');
wnd.document.writeln('  color: black;');
wnd.document.writeln('  font-family: Arial, Helvetica, sans-serif;');
wnd.document.writeln('  font-size: 11px;');
wnd.document.writeln('  font-weight: bold;');
wnd.document.writeln('  text-align: left;');
wnd.document.writeln('  padding: 0px 0px 0px 0px;');
wnd.document.writeln('}');
wnd.document.writeln('th {');
wnd.document.writeln('  color: black;');
wnd.document.writeln('  font-family: Arial, Helvetica, sans-serif;');
wnd.document.writeln('  font-size: 10px;');
wnd.document.writeln('  font-weight: bold;');
wnd.document.writeln('  text-align: left;');
wnd.document.writeln('  vertical-align: bottom;');
wnd.document.writeln('}');
wnd.document.writeln('#center {');
wnd.document.writeln('  color: black;');
wnd.document.writeln('  font-family: Arial, Helvetica, sans-serif;');
wnd.document.writeln('  font-size: 10px;');
wnd.document.writeln('  font-weight: bold;');
wnd.document.writeln('  text-align: center;');
wnd.document.writeln('  vertical-align: middle;');
wnd.document.writeln('}');
wnd.document.writeln('</style>');
wnd.document.writeln('</head>');
wnd.document.writeln('<body onload="window.focus();" onclick="self.close();" topmargin=0 leftmargin=0 marginwidth=0 marginheight=0 bgcolor=#dfdfdf>');

wnd.document.writeln('<table id="center" width=100% border="1" cellpadding="0" cellspacing="0"><tr><td align=center>');

  if ((typeof(s_title) != 'undefined') && (s_title.length > 0)) {
    s_title=s_title.substr(0, s_title.indexOf(" lbs")+4);
    wnd.document.writeln('<h3>');
    wnd.document.writeln(s_title);
    wnd.document.writeln('</h3>');
  }

wnd.document.writeln('<table id="center" border=0 cellpadding=0 cellspacing=0 style="border-collapse: collapse;">');

  wnd.document.writeln('<tr height="24">');
  for (var i = 0; i < a_head.length; i++) {
    wnd.document.writeln('<td height="24" id="title">'+a_head[i]+'</td>');
  }
  wnd.document.writeln('</tr>');

var s_data = "";
var s_clas = "";
var i_clas = 0;
var s_img  = "";
var k      = 0;

  for (var i = 1; i < 32; i++) {
    wnd.document.write('<tr>');
    for (var j = 1; j <= a_head.length; j++) {
      s_data = "&nbsp;";
      s_clas = "";
      i_clas = 0;

// class ----------------------------------------------

      // 1 column
      if (j == 1) {
        i_clas = i % 4;
        if (i_clas == 2) {s_clas = ' class=b1100';}
        if (i_clas == 3) {s_clas = ' class=b0110';}
      }
      // 2 column
      if (j == 2) {
        i_clas = i % 8;
        if (i_clas == 3) {s_clas = ' class=b1100';}
        if ((i_clas > 3) && (i_clas <  6)) {s_clas = ' class=b0100';}
        if (i_clas == 6) {s_clas = ' class=b0110';}
        if (i_clas == 7) {s_clas = ' class=res';}
      }
      // 3 column
      if (j == 3) {
        i_clas = i % 16;
        if (i_clas == 5) {s_clas = ' class=b1100';}
        if ((i_clas > 5) && (i_clas < 12)) {s_clas = ' class=b0100';}
        if (i_clas == 12) {s_clas = ' class=b0110';}
        if (i_clas == 13) {s_clas = ' class=res';}
      }
      // 4 column
      if (j == 4) {
        i_clas = i % 32;
        if (i_clas == 9) {s_clas = ' class=b1100';}
        if ((i_clas > 9) && (i_clas < 24)) {s_clas = ' class=b0100';}
        if (i_clas == 24) {s_clas = ' class=b0110';}
        if (i_clas == 25) {s_clas = ' class=res';}
      }
      // 5 column
      if (j == 5) {
        i_clas = i % 64;
        if (i_clas == 17) {s_clas = ' class=b1000';}
      }
// data  ----------------------------------------------
      s_data='&nbsp;';

      // 1/8 (16)
      if ((j == 1) && (i % 2 == 1)) {
        if (a_16[(i-1)/2+1][0] != "") {
          s_data='<table border="0" cellpadding="0" cellspacing="0" width=100%><tr><th width="30">';
          s_data+='<img class=flag src="img/flag/'+a_16[(i-1)/2+1][0]+'.gif" width="30" height="20" hspace="0" vspace="0" border="0" align="left" alt=""></th>';
          s_data+='<th nowrap>&nbsp;'+'('+a_16[(i-1)/2+1][0].toUpperCase()+')';
          s_data+='&nbsp;'+a_16[(i-1)/2+1][1];
          s_data+='</th></tr></table>';
          }
        if (s_data == '') s_data='&nbsp;-&nbsp;';
      }

      // 1/4 (8)
      if ((j == 2) && (i % 4 == 2)) {
        k = (i + 2) / 4;
        if (a_08[k][0] != "") {
          s_data='<table border="0" cellpadding="0" cellspacing="0" width=100%><tr><th width="30">';
          s_data+='<img class=flag src="img/flag/'+a_08[k][0]+'.gif" width="30" height="20" hspace="0" vspace="0" border="0" align="left" alt=""></th>';
          s_data+='<th nowrap>&nbsp;'+a_08[k][1];
          s_data+='</th></tr></table>';
          }
        if (s_data == '') s_data='&nbsp;-&nbsp;';
      }
      if ((j == 2) && (i % 4 == 3)) {
        k = (i + 1) / 4;
        if (a_08[k][2] != "") {
          s_data = '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'
          s_data = s_data + a_08[k][2];
        }
        if (s_data == '') s_data='&nbsp;-&nbsp;';
      }

      // 1/2 (4)
      if ((j == 3) && (i % 8 == 4)) {
        k = (i + 4) / 8;
        if (a_04[k][0] != "") {
          s_data='<table border="0" cellpadding="0" cellspacing="0" width=100%><tr><th width="30">';
          s_data+='<img class=flag src="img/flag/'+a_04[k][0]+'.gif" width="30" height="20" hspace="0" vspace="0" border="0" align="left" alt=""></th>';
          s_data+='<th nowrap>&nbsp;'+a_04[k][1];
          s_data+='</th></tr></table>';
          }
        if (s_data == '') s_data='&nbsp;-&nbsp;';
      }
      if ((j == 3) && (i % 8 == 5)) {
        k = (i + 3) / 8;
        if (a_04[k][2] != "") {
          s_data = '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'
          s_data = s_data + a_04[k][2];
        }
        if (s_data == '') s_data='&nbsp;-&nbsp;';
      }

      // Final (2)
      if ((j == 4) && (i % 16 == 8)) {
        k = (i + 8) / 16;
        if (a_02[k][0] != "") {
          s_data='<table border="0" cellpadding="0" cellspacing="0" width=100%><tr><th width="30">';
          s_data+='<img class=flag src="img/flag/'+a_02[k][0]+'.gif" width="30" height="20" hspace="0" vspace="0" border="0" align="left" alt=""></th>';
          s_data+='<th nowrap>&nbsp;'+a_02[k][1];
          s_data+='</th></tr></table>';
          }
        if (s_data == '') s_data='&nbsp;-&nbsp;';
      }
      if ((j == 4) && (i % 16 == 9)) {
        k = (i + 7) / 16;
        if (a_02[k][2] != "") {
          s_data = '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'
          s_data = s_data + a_02[k][2];
        }
        if (s_data == '') s_data='&nbsp;-&nbsp;';
      }

      // Winner (1)
      if ((j == 5) && (i % 32 == 16)) {
        k = (i + 16) / 32;
        if (a_01[k][0] != "") {
          s_data='<table border="0" cellpadding="0" cellspacing="0" width=100%><tr><th width="30">';
          s_data+='<img class=flag src="img/flag/'+a_01[k][0]+'.gif" width="30" height="20" hspace="0" vspace="0" border="0" align="left" alt=""></th>';
          s_data+='<th nowrap>&nbsp;'+a_01[k][1];
          s_data+='</th></tr></table>';
          }
        if (s_data == '') s_data='&nbsp;-&nbsp;';
      }
      if ((j == 5) && (i % 32 == 17)) {
        k = (i + 15) / 32;
        if (a_01[k][2] != "") {
          s_data = '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'
          s_data = s_data + a_01[k][2];
        }
        if (s_data == '') s_data='&nbsp;-&nbsp;';
      }

// ----------------------------------------------------
      wnd.document.write('<th'+s_clas+'>');
      wnd.document.write(s_data);
      wnd.document.write('</th>');
    }
    wnd.document.writeln('</tr>');
  }

wnd.document.writeln('</table>');
wnd.document.writeln('<br></td></tr></table></body></html>');
wnd.document.close();
}

//============================================================================
function f_16() {

  if ((typeof(s_title) != 'undefined') && (s_title.length > 0)) {
    document.writeln('<h3>');
    document.writeln(s_title);
    document.writeln('</h3>');
  }

document.writeln('<table id="center" width=100% border="0" cellpadding="0" cellspacing="0"><tr bgcolor="black"><td>');
document.writeln('<table id="left"   width=100% border="0" cellspacing="1" cellpadding="0">');

  document.writeln('<tr height="24" bgcolor=#00b4ce>');
  for (var i = 0; i < a_head.length; i++) {
    document.writeln('<td height="24" id="title">'+a_head[i]+'</td>');
  }
  document.writeln('</tr>');

var s_img="";
var s_hr1="";
var s_hr2="";
var s_emp='<img src="img/_pix_.gif" width="1" height="20" hspace="0" vspace="0" border="0" align="left" alt="">';
var s_col_empty="#90aaaa";

  for (var i = 1; i <= 16; i++) {
    s_col="#acc5c8"; if (a_16[i][0] == "") s_col=s_col_empty;
    document.writeln('<tr bgcolor="#acc5c8">');
    document.writeln('<td id="left" nowrap bgcolor='+s_col+'>');
    if (a_16[i][0] == "") {s_img=s_emp;} else {s_img='<a href="flags.html#'+a_16[i][0]+'"><img src="img/flag/'+a_16[i][0]+'.gif" width="30" height="20" hspace="0" vspace="0" border="0" align="left" alt="'+a_16[i][0]+'"></a>';}
    if (a_16[i][2] == null) {s_hr1=""; s_hr2="";} else {s_hr1='<a href="'+a_16[i][2]+'">'; s_hr2='</a>';}
    document.writeln(s_img+'&nbsp;'+s_hr1+'<b>'+a_16[i][1]+'</b>'+s_hr2);
    document.writeln("</td>");
    if (i % 2 == 1) {
      document.writeln('<td id="center" rowspan=2>');
      if (a_08[(i+1)/2][0] == "") {s_img="";} else {s_img='<a href="flags.html#'+a_08[(i+1)/2][0]+'"><img src="img/flag/'+a_08[(i+1)/2][0]+'.gif" width="30" height="20" hspace="0" vspace="0" border="0" align="center" alt="'+a_08[(i+1)/2][0]+'"></a>';}
      document.writeln(s_img+'<br><b>'+a_08[(i+1)/2][1]+'</b><br>'+a_08[(i+1)/2][2]);
      document.writeln("</td>");
      if (i % 4 == 1) {
        document.writeln('<td id="center" rowspan=4>');
        if (a_04[(i+3)/4][0] == "") {s_img="";} else {s_img='<a href="flags.html#'+a_04[(i+3)/4][0]+'"><img src="img/flag/'+a_04[(i+3)/4][0]+'.gif" width="42" height="28" hspace="0" vspace="0" border="0" align="center" alt="'+a_04[(i+3)/4][0]+'"></a>';}
        document.writeln(s_img+'<br><b>'+a_04[(i+3)/4][1]+'</b><br>'+a_04[(i+3)/4][2]);
        document.writeln("</td>");
        if (i % 8 == 1) {
          document.writeln('<td id="center" rowspan=8>');
          if (a_02[(i+7)/8][0] == "") {s_img="";} else {s_img='<a href="flags.html#'+a_02[(i+7)/8][0]+'"><img src="img/flag/'+a_02[(i+7)/8][0]+'.gif" width="54" height="36" hspace="0" vspace="0" border="0" align="center" alt="'+a_02[(i+7)/8][0]+'"></a>';}
          document.writeln(s_img+'<br><b>'+a_02[(i+7)/8][1]+'</b><br>'+a_02[(i+7)/8][2]);
          document.writeln("</td>");
          if (i % 16 == 1) {
            document.writeln('<td id="center" rowspan=16>');
            if (a_01[(i+15)/16][0] == "") {s_img="";} else {s_img='<a href="flags.html#'+a_01[(i+15)/16][0]+'"><img src="img/flag/'+a_01[(i+15)/16][0]+'.gif" width="60" height="40" hspace="0" vspace="0" border="0" align="center" alt="'+a_01[(i+15)/16][0]+'"></a>';}
            document.writeln(s_img+'<br><b>'+a_01[(i+15)/16][1]+'</b><br>'+a_01[(i+15)/16][2]);
            document.writeln("</td>");
          }
        }
      }
      document.writeln("</tr>");
    }
  }

  if ((typeof(a_foot) != 'undefined')) {
    document.write('<tr height="24" bgcolor=#00b4ce>');
    for (var i = 0; i < a_head.length; i++) {
      document.write('<td height="24" id="title">'+a_foot[i]+'</td>');
    }
    document.write('</tr>');
  }

document.write('</table>');
document.write('</td></tr></table>');
}

