function maxpic(name,x,y) {
	x=x*2;
	y=y*2;
	var win = window.open('','_blank',"toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width="+x+",height="+y);
	win.document.open("text/html");
	with (win.document) {
	    write("<html><head><title>Продажа трубопроводной и запорной арматуры - фитинги, шаровой кран, фланцы, вентили, клапаны, задвижки и т.д.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</title><script language='JavaScript'>self.focus()</script></head><body bgcolor='#000000' leftmargin=0 topmargin=0 marginheight=0 marginwidth=0><a href='#' onclick='window.close()'><center><img src='"+name+"'");
	    write(" alt='закрыть'  align='middle' border='0'></center></a></body></html>");
	    close();
 }
}



