function ZoomFoto(sPaginaASP, iFotoW, iFotoH){
	searchWin = window.open(sPaginaASP,'ingrandimento_foto','left=0, top=0, scrollbars=no, width=' + iFotoW + ', height='+ (iFotoH + 30) + ', resizable=no, status=no, location=no, toolbar=no');
    // searchWin.refer = self;
}

function ZoomCartColori(sPaginaASP, iFotoW, iFotoH){
	searchWin = window.open(sPaginaASP,'ingrandimento_cartcolori','left=0, top=0, scrollbars=yes, width=' + iFotoW + ', height='+ (iFotoH + 30) + ', resizable=yes, status=no, location=no, toolbar=no');
    // searchWin.refer = self;
}

function ZoomColor(link){
	searchWin = window.open(link,'ingrandimento_colore','left=0, top=0, scrollbars=no, width=300, height=300, resizable=no, status=no, location=no, toolbar=no');
	// searchWin.refer = self;
}

function ZoomMappa(str){
   	searchWin = window.open(str,'ingrandimento_mappa','left=0, top=120, scrollbars=no, width=500, height=385, resizable=no, status=no, location=no, toolbar=no');
  	// searchWin.refer = self;
}

function ZoomForm(str){
   	searchWin = window.open(str,'dillo_amica','left=0, top=0, scrollbars=no, width=400, height=420, resizable=no, status=no, location=no, toolbar=no');
   	// searchWin.refer = self;
}

function apriFinestraCentrata(url, width, height) {
	var winl = (screen.width - width) / 2;
	var wint = (screen.height - height) / 2;
	newWin = window.open(url, 'popupWindow', 'top='+wint+',left='+winl+',height='+height+',width='+width+',resizable=no,scrollbars=auto');
	newWin.focus();
}

function apriFinestraStampa(url) {
	var width = 620;
	var height = 480;
	var winl = (screen.width - width) / 2;
	var wint = (screen.height - height) / 2;
	newWin = window.open(url, 'popupWindow', 'top='+wint+',left='+winl+',height='+height+',width='+width+',resizable=no,scrollbars=yes');
	newWin.focus();
}

