document.getElementById("Id1").style.backgroundImage = "url(value)";
to change the background image attribute in the CSS. But, the attribute used in CSS is
background-Image
Why we can't use the same name under Javascript as document.getElementById("Id1").style.background-Image = "url(value)";