
function capaPaint(obj,colH,child) {

	this.nav = (document.layers)? true : false;
	if (this.nav) {
		if (child) {
			document.layers[obj].document.layers[child].bgColor= colH;
		} else {
			document.layers[obj].bgColor= colH;
		}
	} else {
		if (child) {
			document.all[child].style.backgroundColor = colH;

		} else {
			document.all[obj].style.backgroundColor = colH;

		}
	}
}
