allora setta sempre tutto il background, in modo da sovrascriverlo interamente
document.body.style.background="url(immagini/1.jpg) transparent repeat-x";
document.body.style.background="#ffffff";
http://www.w3.org/TR/CSS21/colors.html#background
ciao

Rispondi quotando