function SetColor(element,state)
{
	color = (state) ? 'red' : 'black';
	element.style.color = color;
}
