ImgIdGal=1

function OnImgGal(ImgDirGal,Comando){
if (Comando==1){ImgIdGal+=1;}else{ImgIdGal-=1;}
if (ImgIdGal>ImgTot){ImgIdGal=1;}
if (ImgIdGal<1){ImgIdGal=ImgTot;}
document.getElementById("ContFoto").style.background = "url('"+ImgDirGal+ImgIdGal+".jpg') center center no-repeat"
}



