// JavaScript Document
function afficheMaxi(chemin) {
	
	// titolo finestra	
   titolo = "Cogliati ... Cogliati";
    // alt immagine
   alt = "Fotografia &copy; Cogliati ... Cogliati";	
   
	i1 = new Image;
	i1.src = chemin;
	html = '<HTML>\n<HEAD>\n<TITLE>Cogliati ... Cogliati</TITLE>\n<style type="text/css">body{margin:0; background:black;} img {border:0;}</style>\n<meta http-equiv="imagetoolbar" content="false" />\n</HEAD>\n<BODY>\n<CENTER><IMG SRC="'+chemin+'" name="myImage"  alt="'+alt+'" onLoad="window.resizeTo(document.myImage.width+14,document.myImage.height+32);window.moveTo((self.screen.width-document.myImage.width)/2,(self.screen.height-document.myImage.height)/2)"></CENTER>\n</BODY>\n</HTML>';
	popupImage = window.open('','img','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=0,status=0');
	popupImage.document.open();
	popupImage.document.write(html);
	popupImage.document.close()
	popupImage.focus(); 
	
}