function cambiaImmagine(folder,nr){document.getElementById('soggetto').src="../img/progetti/"+folder+"/"+folder+"-"+nr+"_med.jpg"}/*function ShowAndHide(id1,id2){if(document.getElementById){el1=document.getElementById(id1);el2=document.getElementById(id2);if(el1.style.display=="none"){el1.style.display="block";el2.style.display="none";}else{el1.style.display="none";el2.style.display="block";}}}*/function ShowAndHide(id1){if(document.getElementById){el1=document.getElementById(id1);if(el1.style.display=="none"){el1.style.display="block";}else{el1.style.display="none";}}}function identifica(){nome = window.location.hrefstart = nome.lastIndexOf("/")+1;end = nome.lastIndexOf(".");gap = end-start;identificatore = nome.substr(start, gap);return (identificatore);}function Zoom(immagine_da_guardare){identifica();window.location.href = "zoom.html?prog="+identificatore+"&img="+immagine_da_guardare;}function prevNextProject(next){identifica();var nextPage = Math.round(identificatore)+next;var nextPageString = nextPage.toString()switch (nextPageString.length){case 1:	newId = '00'+nextPageString;	break;case 2:	newId = '0'+nextPageString;	break;};switch (newId){case '000':	window.location.href = nome.replace(identificatore,'025');	break;case '026':	window.location.href = nome.replace(identificatore,'001');	break;default:window.location.href = nome.replace(identificatore,newId);}}