function act(url, dove) {
	if (url == 1) {
		document.carrello.target = dove;
		document.carrello.action = 'updatearticolo.php';
	}
	if (url == 2) {
		document.carrello.target = dove;
		document.carrello.action = 'dati_personali.php';
	}			
}		
		
function svuota_carrello() {
	location.href = "svuota_carrello.php";
}	

function apriPopup(Url, W, H)
{
 	desktop = window.open(Url,"CiPiEmme","toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=" + W + ",height=" + H );
	desktop.focus();
}