<!--
function calcolatotale() {
var a = document.formric.AdultiCam1.options[document.formric.AdultiCam1.selectedIndex].text;
var b = document.formric.bambocci.options[document.formric.bambocci.selectedIndex].text;
var totcam1 = ((+a)+(+b));

var c = document.formric.AdultiCam2.options[document.formric.AdultiCam2.selectedIndex].text;
var d = document.formric.bambocci2.options[document.formric.bambocci2.selectedIndex].text;
var totcam2 = ((+c)+(+d));

var e = document.formric.AdultiCam3.options[document.formric.AdultiCam3.selectedIndex].text;
var f = document.formric.bambocci3.options[document.formric.bambocci3.selectedIndex].text;
var totcam3 = ((+e)+(+f));

var g = document.formric.AdultiCam4.options[document.formric.AdultiCam4.selectedIndex].text;
var h = document.formric.bambocci4.options[document.formric.bambocci4.selectedIndex].text;
var totcam4 = ((+g)+(+h));


var i = document.formric.AdultiCam5.options[document.formric.AdultiCam5.selectedIndex].text;
var l = document.formric.bambocci5.options[document.formric.bambocci5.selectedIndex].text;
var totcam5 = ((+i)+(+l));

var m = document.formric.AdultiCam6.options[document.formric.AdultiCam6.selectedIndex].text;
var n = document.formric.bambocci6.options[document.formric.bambocci6.selectedIndex].text;
var totcam6 = ((+m)+(+n));

var o = document.formric.AdultiCam7.options[document.formric.AdultiCam7.selectedIndex].text;
var p = document.formric.bambocci7.options[document.formric.bambocci7.selectedIndex].text;
var totcam7 = ((+o)+(+p));

document.formric.camer1totpx.value=totcam1;
document.formric.camer2totpx.value=totcam2;
document.formric.camer3totpx.value=totcam3;
document.formric.camer4totpx.value=totcam4;
document.formric.camer5totpx.value=totcam5;
document.formric.camer6totpx.value=totcam6;
document.formric.camer7totpx.value=totcam7;
document.formric.Viaggiatori.value=totcam1 + totcam2 + totcam3 + totcam4 + totcam5 + totcam6 + totcam7;

}

function cancella() {

document.formric.camer1totpx.value= parseFloat(c).toFixed(2).replace('.',',');
document.formric.AdultiCam1.selectedIndex=0;
document.formric.bambocci.selectedIndex=0;

document.formric.camer2totpx.value= parseFloat(c).toFixed(2).replace('.',',');
document.formric.AdultiCam2.selectedIndex=0;
document.formric.bambocci2.selectedIndex=0;

document.formric.camer3totpx.value= parseFloat(c).toFixed(2).replace('.',',');
document.formric.AdultiCam3.selectedIndex=0;
document.formric.bambocci3.selectedIndex=0;

document.formric.camer4totpx.value= parseFloat(c).toFixed(2).replace('.',',');
document.formric.AdultiCam4.selectedIndex=0;
document.formric.bambocci4.selectedIndex=0;

document.formric.camer5totpx.value= parseFloat(c).toFixed(2).replace('.',',');
document.formric.AdultiCam5.selectedIndex=0;
document.formric.bambocci5.selectedIndex=0;

document.formric.camer6totpx.value= parseFloat(c).toFixed(2).replace('.',',');
document.formric.AdultiCam6.selectedIndex=0;
document.formric.bambocci6.selectedIndex=0;

document.formric.camer7totpx.value= parseFloat(c).toFixed(2).replace('.',',');
document.formric.AdultiCam7.selectedIndex=0;
document.formric.bambocci7.selectedIndex=0;
}
//-->


