   <!--
     function newWindow()
    {
      window.open("new_year.html","wnd","width=600,height=500");
    }
    
    function newDubnometr()
    {
      window.open("dubno.html","wnd1","width=600,height=500");
    }
    
 
var MyWindow = null;

function OpenPopUp(kartinka) {
    MyWindow = window.open('','popupWin','resizable=yes,scrollbars=no,top=0,left=0');
    MyWindow.document.open();
    MyWindow.document.write('\
<html>\
<body bgcolor="#000000" leftmargin=0 topmargin=0  marginwidth=0 marginheight=0 onLoad="window.focus();resize2pic()">\
<center>\
<img src="' + kartinka +'" name="img" border=0 alt="" align=center>\
</body>\
<Script Language="JavaScript">\
function resize2pic() {\
	if ( (screen.availWidth <= (document.images.img.width))\
	&& (screen.availHeight <= (document.images.img.height)) )\
    {\
	window.resizeTo(screen.availWidth+4, screen.availHeight+4);\
    } else {\
	window.resizeTo(document.images.img.width+30, document.images.img.height+30);\
    }\
}\
</script>\
</html>\
');
    MyWindow.document.close();
}
//-->


