<!--//
function pop(image_url) {
var html = '<html xmlns:imp="http://www.artemy.info/"><head><title>Иллюстрации</title>' +
'<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">' +
'<link rel="stylesheet" type="text/css" href="/i/c.css" media="all"><body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">' + 
'<div style="text-align:left; vertical-align: bottom;">' +
'<img src="' + image_url + '" alt="нажми, чтобы закрыть окно" title="нажми, чтобы закрыть окно" onclick="window.close();" border="0" '+
'name="photo" onload="window.moveTo(Math.round((screen.availWidth-document.photo.width)/2), Math.round((screen.availHeight-document.photo.height)/3));window.resizeTo(document.photo.width+4, document.photo.height+24)">' +
'</div></body></html>';
var width = 800, height = 600;
var top = Math.round((screen.availHeight-height)/2);
var left = Math.round((screen.availWidth-width)/2);
var popup_window = window.open('', 'photo', 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=0');
popup_window.document.open();
popup_window.document.write(html);
popup_window.document.close();
popup_window.focus();
}
//-->
