perché stai usando stringhe
if(current == 0) document.form_foto.button2.disabled=true;
if(current == 0) document.form_foto.button.disabled=false;
perché stai usando stringhe
if(current == 0) document.form_foto.button2.disabled=true;
if(current == 0) document.form_foto.button.disabled=false;