// JavaScript Document
function openingBigImage(adr,name,data,widther,heighter) {			
				var adress=adr;
				var param="width="+(parseInt(widther)+18)+",height="+(parseInt(heighter)+18)+",align=center,top=0,resizable=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,copyhistory=no";
				var content="<HTML><head><title>"+data+"</title><meta http-equiv='Content-Type' content='text/html; harset=windows-1251'></head>";
					content+="<body BGCOLOR=white leftmargin='0' topmargin='0' marginwidth='0' marginheight='0'>";
					content+="<div align='center'><img src='"+adress+"' width='"+widther+"' height='"+heighter+"' alt='Нажмите, чтобы закрыть изображение' style='cursor:pointer' onClick='self.close()'></div></body></html>";
				var OpenWindow=window.open('',name,param)
				OpenWindow.document.write(content) 
				OpenWindow.document.close() 
				}	
