function getLongest() {
 	colLength = new Array(2);
 	colLength[0] = document.getElementById("content-column").offsetHeight;
 	colLength[1] = document.getElementById("right-column").offsetHeight;
 	colLength[2] = document.getElementById("left_id").offsetHeight;
 	colLength.sort();
	colLength.reverse();
 	return colLength[0];
}

function setheight()
{ 
var heightw=getLongest();

if (heightw>1800) 
{ 
	document.getElementById('content-column').style.height=heightw+"px";
	document.getElementById('right-column').style.height=heightw+"px";
	document.getElementById('left_id').style.height=heightw+100+"px";
	document.getElementById('footer').style.top=heightw+200+"px";
}
else
{
	document.getElementById('content-column').style.height="1593px";
	document.getElementById('right-column').style.height="1593px";
	document.getElementById('left_id').style.height="1593px";
	document.getElementById('footer').style.top = "1790px";
}
}