<!--
function openWin(f,xx,yy,title)
{
  var bottom_height = 30;
  var border_top='2px solid #E6E3E3';
  var border_bottom = '2px solid #A5A2A2';
  var backgroundColor = '#C5C5C5';
  var button_css = 'color:#000000;width:90px;font-family:arial;font-size:8pt;font-weight:bold;cursor:pointer;cursor:hand;';
  var y = yy;
  yy+=bottom_height;
  var div_css = "width:"+xx+"px,height:"+y+"px;";
  var table_css = "background-color:"+backgroundColor+";border-top:"+border_top+";border-left:"+border_top+";border-right:"+border_bottom+";border-bottom:"+border_bottom+";height:"+bottom_height+"px;width:100%;padding:2px;";
  myWin=open("","displayWindow","width="+xx+",height="+yy+",status=no,toolbar=no,menubar=no,resizable=no,scrollbars=no");
  myWin.document.open();
  var str = "<html><head><title>"+title+"</title></head>";
  str+="<body  marginwidth=0 marginheight=0 leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0>";
  str+="<div style='"+div_css+"'><img src=\""+f+"\" hspace=0 vspace=0 border=0 width='"+xx+"' height='"+y+"'></div>";
  str+="<table cellpadding='0' cellspacing='0' style='"+table_css+"'>";
  str+="<tr><td align='right'>";
  str+="<input type='button' value='Закрыть' style='"+button_css+"' onClick='window.close();' > ";
  str+="</td>";
  str+="<td width='7'>";
  str+="</td>";
  str+="<tr>";
  str+="</table>";
  str+="</body></html>";
  myWin.document.write(str);
  myWin.focus();
}


//-->