function openWin(file, w, h, info){
	var x = screen.availWidth;
	var y = screen.availHeight;
	win = open("Фото","open","width="+w+",height="+h+",status=no,toolbar=no,menubar=no,scrollbars=no,screenX="+(x-w)/2+",screenY="+(y-h)/2);
  	win.document.open();
  
	win.document.write("<html><head></head><body bgcolor='#D6EBFC' oncontextmenu='return false', onselectstart='return false' oncopy='return false'>");
win.document.write(""+info+"<br><br><img src="+file+" border=1></body></html>");
//win.status = "Фото";	
//win.defaultStatus = "Фото";
win.document.close();

}
