function SetColumnHeightEqual(firstEl, secondEl)
{
	var fEl = document.getElementById(firstEl);
	var sEl = document.getElementById(secondEl);
	if ( fEl != null && sEl != null )
	{
		if (fEl.offsetHeight > sEl.offsetHeight) sEl.style.height = fEl.offsetHeight+'px';
		else if ( sEl.offsetHeight > fEl.offsetHeight) fEl.style.height = sEl.offsetHeight+'px';
	}
}

function setElementBgColor(el, strColor, subEl)
{
	if ( el!=null )
	{
		if ( subEl!='' ) {
			var arEls = el.getElementsByTagName(subEl);
			if ( arEls.length > 0 )
				if ( subEl=='td' )
					for (i=0;i<arEls.length;i++)
						arEls[i].style.backgroundColor=strColor;
				else
					arEls[0].style.backgroundColor=strColor;
		} else {
			el.style.backgroundColor=strColor;
		}
	}
}