serve almeno
document.getElementById(x).style.background="url(. ./Immagini/SfondoAzzurro.jpg)";