
function mostra_foto(foto,articolo)
{
	var ShowingImage = new Image();
	ShowingImage.src = foto;
	var wid = ShowingImage.width + 55;
	var hei = ShowingImage.height + 120;
	
	
	if (wid <  60 || hei < 130)
	{
		wid = 1000;
		hei = 700;
	}
		wid_b = wid - 25; // è la dumensione della tabella che contiene il tutto
		hei_b = hei - 25;
			
	
OpenWindow = window.open("", "remoteWin", "resizable=0, scrollbars=0, toolbar=0, left=10, top=10, width=" + wid + ", height=" + hei);

	
OpenWindow.document.write("<html><head><title>GT La bottega del peltro " + articolo + "</title>");
OpenWindow.document.write("<link href='style.css' rel='stylesheet' type='text/css'></head>");
OpenWindow.document.write("<body>");
OpenWindow.document.write("<table height='"+ hei_b +"' width = '" + wid_b + "' border='0'><td valign='center'><center>");
OpenWindow.document.write("<img style='border-bottom-style:solid; border-left-style:solid; border-right-style:solid; border-top-style:solid; padding:5px; border-width:medium; border-style:outset; border-color:#9CCAEB;' src='"+ foto + "'>");
OpenWindow.document.write("<br/><br/><center>" + articolo + "</center>");
OpenWindow.document.write("<br/><a href=\"javascript:window.close();\">[ close window ]</a>");
OpenWindow.document.write("</center></td></table></body></html>");
}

function inizializza_fotografie()
{
        var i;
        var ShowingImage = new Array();

        for(i = 0; i < fotografie.length; ++i)
        {
                ShowingImage[i] = new Image();
                ShowingImage[i].src = fotografie[i];
        }
}

function stampa_footer()
{
	document.write("<div class='footer'>");
	document.write("La bottega del peltro di Tabellini Dr. Giorgio &amp; C. s.n.c. | Via Mignano, 36 25072 Bagolino (BS) - Italy | e-mail: info@labottegadelpeltro.it");
	document.write("</div>");
}

function stampa_back()
{
	document.write("<div class='back'>");
//	document.write("<a href='../menu_categorie.html'>[ prova ]</a>");
	document.write("<a href='javascript:history.back()' class='back'>[ Back ]</a>");
	document.write("</div>");
}
