function Calc(){
	var tot = 0;

//  articolo 1
	if (isNaN(document.form.qt01.value)){
		q=0;
	}else{
		q=document.form.qt01.value;
	}
	
	t = q * 8.50;
	document.form.tot01.value = t.toFixed(2);
	document.form.qt01.value = q;
	tot = tot + t;

//  articolo 2
	if (isNaN(document.form.qt02.value)){
		q=0;
	}else{
		q=document.form.qt02.value;
	}
	
	t = q * 40;
	document.form.tot02.value = t.toFixed(2);
	document.form.qt02.value = q;
	tot = tot + t;

//  articolo 3
	if (isNaN(document.form.qt03.value)){
		q=0;
	}else{
		q=document.form.qt03.value;
	}
	
	t = q * 4;
	document.form.tot03.value = t.toFixed(2);
	document.form.qt03.value = q;
	tot = tot + t;

//  articolo 4
	if (isNaN(document.form.qt04.value)){
		q=0;
	}else{
		q=document.form.qt04.value;
	}
	
	t = q * 7.50;
	document.form.tot04.value = t.toFixed(2);
	document.form.qt04.value = q;
	tot = tot + t;

//  articolo 5
	if (isNaN(document.form.qt05.value)){
		q=0;
	}else{
		q=document.form.qt05.value;
	}
	
	t = q * 3.50;
	document.form.tot05.value = t.toFixed(2);
	document.form.qt05.value = q;
	tot = tot + t;

//  articolo 6
	if (isNaN(document.form.qt06.value)){
		q=0;
	}else{
		q=document.form.qt06.value;
	}
	
	t = q * 6;
	document.form.tot06.value = t.toFixed(2);
	document.form.qt06.value = q;
	tot = tot + t;

//  articolo 7
	if (isNaN(document.form.qt07.value)){
		q=0;
	}else{
		q=document.form.qt07.value;
	}
	
	t = q * 0;
	document.form.tot07.value = t.toFixed(2);
	document.form.qt07.value = q;
	tot = tot + t;

//  articolo 9
	if (isNaN(document.form.qt09.value)){
		q=0;
	}else{
		q=document.form.qt09.value;
	}
	
	t = q * 3;
	document.form.tot09.value = t.toFixed(2);
	document.form.qt09.value = q;
	tot = tot + t;

//  articolo 10
	if (isNaN(document.form.qt10.value)){
		q=0;
	}else{
		q=document.form.qt10.value;
	}
	
	t = q * 3.50;
	document.form.tot10.value = t.toFixed(2);
	document.form.qt10.value = q;
	tot = tot + t;

//  articolo 12
	if (isNaN(document.form.qt12.value)){
		q=0;
	}else{
		q=document.form.qt12.value;
	}
	
	t = q * 3;
	document.form.tot12.value = t.toFixed(2);
	document.form.qt12.value = q;
	tot = tot + t;

//  articolo 14
	if (isNaN(document.form.qt14.value)){
		q=0;
	}else{
		q=document.form.qt14.value;
	}
	
	t = q * 9.50;
	document.form.tot14.value = t.toFixed(2);
	document.form.qt14.value = q;
	tot = tot + t;

//  articolo 15
	if (isNaN(document.form.qt15.value)){
		q=0;
	}else{
		q=document.form.qt15.value;
	}
	
	t = q * 21;
	document.form.tot15.value = t.toFixed(2);
	document.form.qt15.value = q;
	tot = tot + t;

//  articolo 16
	if (isNaN(document.form.qt16.value)){
		q=0;
	}else{
		q=document.form.qt16.value;
	}
	
	t = q * 34;
	document.form.tot16.value = t.toFixed(2);
	document.form.qt16.value = q;
	tot = tot + t;

//  articolo 17
	if (isNaN(document.form.qt17.value)){
		q=0;
	}else{
		q=document.form.qt17.value;
	}
	
	t = q * 43;
	document.form.tot17.value = t.toFixed(2);
	document.form.qt17.value = q;
	tot = tot + t;

//  articolo 18
	if (isNaN(document.form.qt18.value)){
		q=0;
	}else{
		q=document.form.qt18.value;
	}
	
	t = q * 29;
	document.form.tot18.value = t.toFixed(2);
	document.form.qt18.value = q;
	tot = tot + t;

//  articolo 19
	if (isNaN(document.form.qt19.value)){
		q=0;
	}else{
		q=document.form.qt19.value;
	}
	
	t = q * 16.50;
	document.form.tot19.value = t.toFixed(2);
	document.form.qt19.value = q;
	tot = tot + t;

//  articolo 22
	if (isNaN(document.form.qt22.value)){
		q=0;
	}else{
		q=document.form.qt22.value;
	}
	
	t = q * 4;
	document.form.tot22.value = t.toFixed(2);
	document.form.qt22.value = q;
	tot = tot + t;

//  articolo 23
	if (isNaN(document.form.qt23.value)){
		q=0;
	}else{
		q=document.form.qt23.value;
	}
	
	t = q * 7.50;
	document.form.tot23.value = t.toFixed(2);
	document.form.qt23.value = q;
	tot = tot + t;

//  articolo 24
	if (isNaN(document.form.qt24.value)){
		q=0;
	}else{
		q=document.form.qt24.value;
	}
	
	t = q * 12;
	document.form.tot24.value = t.toFixed(2);
	document.form.qt24.value = q;
	tot = tot + t;

//  articolo 26
	if (isNaN(document.form.qt26.value)){
		q=0;
	}else{
		q=document.form.qt26.value;
	}
	
	t = q * 17;
	document.form.tot26.value = t.toFixed(2);
	document.form.qt26.value = q;
	tot = tot + t;

//  articolo 27
	if (isNaN(document.form.qt27.value)){
		q=0;
	}else{
		q=document.form.qt27.value;
	}
	
	t = q * 6;
	document.form.tot27.value = t.toFixed(2);
	document.form.qt27.value = q;
	tot = tot + t;

//	Aggiorna totale finale	
	document.form.totale.value = tot.toFixed(2);
}
