sciao

function Rollover2(id,img){
if(document.getElementById(id)){
document.getElementById(id).style.backgroundImage= "url("+img+")";
}
}

credo così possa andare