//字符串"adContainer" 是div里面的ID
document.getElementById('adContainer').style.backgroundColor = "#FF0000";
//显示背景
document.getElementById('adContainer').style.backgroundColor = "";
//隐藏背景
document.getElementById('adContainer').style.backgroundColor = "none";
$("body").css("background-image","url(" + s + ")");