	function show_image(filename, w, h)
	{
		popup = window.open('', '', 'width='+w+', height='+h+',toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,top=50,left=50');
		popup.document.write('<html><head><title>Просмотр изображения</title></head><body topmargin="0" leftmargin="0"><img src="'+filename+'"></body></html>');
		popup.window.focus();
	}
