
function setHeight(firstele, secondele)
{
	var first = document.getElementById(firstele);
	var second = document.getElementById(secondele);

	first.style.height = 'auto';
	second.style.height = 'auto';
	var x = first.offsetHeight;
	//alert(x+firstele);
	var y = second.offsetHeight;
	//alert(y+secondele+second.style.paddingBottom);
	if(y < x)
	{
		second.style.height = x + "px";
		//first.style.height  = x + "px";
	}
	else
	{
		first.style.height = y + "px";
		//second.style.height = y + "px";
	}

}