function setBg(id, bg)
{
	obj = document.getElementById(id);
	if (obj.style) {
		obj.style.backgroundColor = bg;
	}
}
