non funge troppo bene...

function pippo(aButton,value) {
if (aButton.style.backgroundColor == 'green') {
aButton.style.backgroundColor = 'red';
a.push(value);
return;
}
aButton.style.backgroundColor = 'green';
a.pop(value); //questo comando nn lo sente!
return;
}

:master: