<td id="tab1" style="background:url(image/tab/tab.jpg) no-repeat;"> </td>
JS部分:
document.getElementById('tab1').style.backgroundImage="url(image/tab/tab-1.jpg)";