function setBGCol()
{
	var el;

	// get the object name for the thing to color
	var obj_col = arguments[0];

	// get the object name for the thing to set the color in
	var txt_col = arguments[1];

	// get the color
	var col = arguments[2];

	if (br_W3C_DOM_API)
	{
		el = document.getElementById(obj_col);
		el.style.backgroundColor = col
		el = document.getElementById(txt_col);
		el.value = col;
	}
	else if (br_IE4_API||br_IE5_API)
	{
		el = document.all.obj_col;
		el.style.backgroundColor = col
	}
	else if (br_NS4_API)
	{
		document.layers[obj_col].backgroundColor = col
	}
}
function setFGCol()
{
	var el;

	// get the object name for the thing to color
	var obj_col = arguments[0];

	// get the object name for the thing to set the color in
	var txt_col = arguments[1];

	// get the color
	var col = arguments[2];

	if (br_W3C_DOM_API)
	{
		el = document.getElementById(obj_col);
		el.style.color = col
		el = document.getElementById(txt_col);
		el.value = col;
	}
	else if (br_IE4_API||br_IE5_API)
	{
		el = document.all.obj_col;
		el.style.color = col
		el = document.all.txt_col;
	}
	else if (br_NS4_API)
	{
		document.layers[obj_col].color = col
	}
}
