

// these first two functions are using fixed parameters for the names

// and number of columns, these can be used for a layout where 

function getLongest_1() {

	colLength = new Array(2);

	colLength[0] = document.getElementById("left-column").offsetHeight;

	colLength[1] = document.getElementById("content").offsetHeight;



	colLength.sort(sortNumeric);

	colLength.reverse();

	return colLength[0];

}

function setLongest() {

	divLen = getLongest_1();

	document.getElementById("left-column").style.height = divLen+"px";

	document.getElementById("content").style.height = divLen+"px";



	

}

function sortNumeric(a,b)

{

return a - b

}

