//
//
var obj, style;
var to_obj, to_style;
var from_obj, from_style;

function setObj( o )
{
	if (document.getElementById) {
		obj		= document.getElementById(o);
		style	= document.getElementById(o).style;
	} else {
		obj		= eval((document.layers) ? "document."+o : (o));
		style	= eval((document.layers) ? "document."+o+".style" : (o)+".style");
	}
}

function setColor(id, color)
{
	setObj(id);
	style.color = color;
}

function setBackgroundColor(id, color)
{
	setObj(id);
	style.backgroundColor = color;
}

function setImageFile( image, file )
{
	document.images[image].src = file;
}

