var dtID = false;
var dtTimer = false;



function HighTD(tag) {
	tag.style.backgroundColor = '#EEc1AE';
	if(tag.id.indexOf('top_') >= 0) {
		document.getElementById(tag.id.replace('top_', 'bot_')).style.backgroundColor = '#EEc1AE';;
	}
	else
	if(tag.id.indexOf('bot_') >= 0) {
		document.getElementById(tag.id.replace('bot_', 'top_')).style.backgroundColor = '#EEc1AE';;
	}
}

function HighTD2(tag) {
	tag.style.backgroundColor = '#B1F2AA';
	if(tag.id.indexOf('top_') >= 0) {
		document.getElementById(tag.id.replace('top_', 'bot_')).style.backgroundColor = '#B1F2AA';;
	}
	else
	if(tag.id.indexOf('bot_') >= 0) {
		document.getElementById(tag.id.replace('bot_', 'top_')).style.backgroundColor = '#B1F2AA';;
	}
}

function HighTD3(tag) {
	tag.style.backgroundColor = '#AEB0EE';
	if(tag.id.indexOf('top_') >= 0) {
		document.getElementById(tag.id.replace('top_', 'bot_')).style.backgroundColor = '#AEB0EE';;
	}
	else
	if(tag.id.indexOf('bot_') >= 0) {
		document.getElementById(tag.id.replace('bot_', 'top_')).style.backgroundColor = '#AEB0EE';;
	}
}

function LowTD(tag) {
	tag.style.backgroundColor = '#E3E7E8';
	if(tag.id.indexOf('top_') >= 0) {
		document.getElementById(tag.id.replace('top_', 'bot_')).style.backgroundColor = '#E3E7E8';;
	}
	else
	if(tag.id.indexOf('bot_') >= 0) {
		document.getElementById(tag.id.replace('bot_', 'top_')).style.backgroundColor = '#E3E7E8';;
	}
}
