function micl(id, obj)
{
	var container = document.getElementById(id), o;
	if (new Number(container.sID) != 0 && (o = document.getElementById(id + '_' + container.sID)) != null) o.className = 'trtc';

	while (obj.tagName != 'TABLE') obj = obj.parentNode;
	obj.rows.item(0).cells.item(1).className = 'trtc2';

	var s = obj.rows.item(0).cells.item(1).id.split('_');
	container.sID = s[s.length - 1];

	var table = obj.nextSibling;
	if (table == null || table.tagName != 'TABLE' || table.style.marginLeft != '13px')
	{
		try { obj.rows.item(0).cells.item(1).firstChild.click(); }
		catch (e) {}
		return false;
	}

	if (table.style.display == '')
	{
		table.style.display = 'none';
		obj.rows.item(0).cells.item(0).firstChild.src = imPlus.src;
	}
	else
	{
		table.style.display = '';
		obj.rows.item(0).cells.item(0).firstChild.src = imMinus.src;
	}

	return false;
}

function miov(obj)
{
	obj.baC_ = obj.style.backgroundColor;
	obj.boC_ = obj.style.borderColor;
	obj.style.backgroundColor = '#FFEBEB';
	obj.style.borderColor = '#dbdbdb';
}

function miou(obj)
{
	obj.style.backgroundColor = obj.baC_;
	obj.style.borderColor = obj.boC_;
}

function mido(obj)
{
	obj.baC1_ = obj.style.backgroundColor;
	obj.style.backgroundColor = '#FFEBEB';
}

function miup(obj)
{
	obj.style.backgroundColor = obj.baC1_;
}