//funzione ke apre una console per segnalare l'avvenuto inserimento di un articolo nel carrello/preventivo
function aggiungi_nel_carrello(codice_articolo){
		var url_da_aprire = 'http://www.cotonierafacchini.it/cgi-bin/preventivo-facchini.cgi?azione=inserisci&cod_art='+codice_articolo
		window.open( url_da_aprire ,"Articolo_messo_nel_preventivo" , "width=300 , height=210 , scrollbars=0 , menubar=0 ,toolbar=0, top=100,left=100") 
}
<!--Apre l'immagine ingradita dei prodotti
function Apri_ingrandimento(categoria,immagine,imageLarghezza,imageAltezza,informazioni) {
	imageLarghezza = Math.abs(imageLarghezza)
	imageAltezza = Math.abs(imageAltezza)
	if (imageLarghezza<348){
		imageWidth = imageLarghezza + (368 - imageLarghezza);
	}else if (imageLarghezza>348){
			imageWidth = imageLarghezza + 86;
	}
	imageHeight = imageAltezza + 162;
	//window.alert(""+imageWidth+"")
	//window.alert(""+imageHeight+"")
	var agt=navigator.userAgent.toLowerCase();
	if (agt.indexOf("opera") != -1){
	  var args= new Array();
	  args[0]='parent';
	  args[1]=immagine;
	  var i ; document.MM_returnValue = false;
	  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
	} else {
	newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",top=100,left=100");
	newWindow.document.open();
	newWindow.document.write('<html><head><title>Cotoniera Facchini - Ingrandimento articolo</title></head><body background="img/cielo.jpg" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><table border="0" cellspacing="0" cellpadding="0" width='+imageWidth+' height='+imageHeight+'><tr><td align="right" width="28" valign="bottom"><img src="img/cf.gif" width="21" height="21" vspace="2" hspace="2"></td><td width="0" background="img/riga_top.gif" valign="bottom"><img src="img/angolo1.gif" width="153" height="28"></td><td background="img/riga_top.gif" align="center" valign="middle">&nbsp;</td><td align="right" width="0" background="img/riga_top.gif" valign="bottom"><div align="right"><img src="img/angolo2.gif" width="153" height="28"></div></td><td width="28" valign="bottom"><img src="img/cf.gif" width="21" height="21" vspace="2" hspace="2"></td></tr><tr><td align="right" width="28" valign="top" height="0" background="img/riga_sx.gif"><img src="img/angolo8.gif" width="28" height="153"></td><td colspan="3" rowspan="3" align="center">');
	newWindow.document.write('<a href="javascript:window.close();"><img src="'+categoria+'/'+immagine+'.jpg" alt="Clicca per chiudere questa finestra" width="'+imageLarghezza+'" border="0" height="'+imageAltezza+'"></a><br><font face="times new roman" size="2">'+informazioni+'</font><form method="post" action=""><input type="button" value="CHIUDI" onClick="window.close()" name="button"></form>'); 
	newWindow.document.write('</td><td width="28" valign="top" background="img/riga_dx.gif"><img src="img/angolo3.gif" width="28" height="153"></td></tr><tr><td align="right" width="28" background="img/riga_sx.gif">&nbsp;</td><td width="28" background="img/riga_dx.gif">&nbsp;</td></tr><tr><td align="right" width="28" valign="bottom" height="0" background="img/riga_sx.gif"><img src="img/angolo7.gif" width="28" height="153"></td><td width="28" valign="bottom" height="0" background="img/riga_dx.gif"><img src="img/angolo4.gif" width="28" height="153"></td></tr><tr><td align="right" width="28" valign="top"><img src="img/cf.gif" width="21" height="21" vspace="2" hspace="2"></td><td width="0" background="img/riga_low.gif" valign="top"><img src="img/angolo6.gif" width="153" height="28"></td><td background="img/riga_low.gif" valign="top">&nbsp; </td><td align="right" width="0" background="img/riga_low.gif" valign="top"><div align="right"><img src="img/angolo5.gif" width="153" height="28"></div></td><td width="28" valign="top"><img src="img/cf.gif" width="21" height="21" vspace="2" hspace="2"></td></tr></table></body></html>');  
	newWindow.document.close();
	newWindow.focus();
	}
}
//-->
