function PopupPic(kep_nev) { 
DispWin=window.open("","","width=800,height=800,resizable=false,scrollbars=no,scrolling=no,status=no");
DispWin.document.open();
DispWin.document.writeln("<HTML><head>");
DispWin.document.writeln("<script language='javascript'>");
DispWin.document.writeln("function fitPic() {");
DispWin.document.writeln("if (window.innerWidth){");
DispWin.document.writeln("iWidth = window.innerWidth;");
DispWin.document.writeln("iHeight = window.innerHeight;");
DispWin.document.writeln("}else{");
DispWin.document.writeln("iWidth = document.body.clientWidth;");
DispWin.document.writeln("iHeight = document.body.clientHeight;");
DispWin.document.writeln("}");
DispWin.document.writeln("iWidth2 = document.images[0].width - iWidth;");
DispWin.document.writeln("iHeight2 = document.images[0].height - iHeight;");
DispWin.document.writeln("window.resizeBy(iWidth2+30, iHeight2+30);");
DispWin.document.writeln("};");
DispWin.document.write("</scr");
DispWin.document.write("ipt>");
DispWin.document.writeln("</head>");
DispWin.document.writeln("<BODY bgColor='#BCCCF0' scroll='no' leftMargin='15' topMargin='10' bottomMargin='0' rightMargin='10' onload='fitPic()'>");
DispWin.document.writeln("<A href='javascript:window.close()'><img src='"+kep_nev+"' border='0' hspace='0' vspace='0'></A>");
DispWin.document.writeln("</TD></TR></TABLE></BODY>");
DispWin.document.writeln("</HTML>");
DispWin.document.close();
}

