// JavaScript Document
function img_popup(FILE,width,height) {
	var popw = width + 4;
	var poph = height + 4;
	CONTENT =
	'<html><head>' +
	'<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">' +
	'<title></title><style>img {cursor:pointer; cursor:hand;}</style></head><body marginheight="2" marginwidth="2" leftmargin="2" topmargin="2"><div align="center">' +
	'<img onClick="window.close()" src="' + FILE + '" border="0" width="' + width + '" height="' + height + '">' +
	'</div></body></html>';
	pop = window.open("","",'height='+ poph +',width='+ popw +',screenX=100,screenY=180,left=180,top=100');
	pop.document.open();
	pop.focus();
	pop.document.write(CONTENT);
	pop.document.close();
}

