//Script to make the div heights match up.

var ColumnsDiv = 'contentArea';
var Target = 'contentClear';
function adjustHeights(){

	var columns = document.getElementById(ColumnsDiv).getElementsByTagName('div')
	for (i=0;i<columns.length;i++){
		if (columns[i].id.toLowerCase().indexOf('column') > -1){
			//alert(columns[i].clientHeight);
			//alert(findTop(document.getElementById(Target)) + " - (" + columns[i].clientHeight + " + " + findTop(columns[i]) + ")");
			columns[i].style.height = columns[i].clientHeight + (findTop(document.getElementById(Target)) - (columns[i].clientHeight + findTop(columns[i]))) + 'px';
			//alert(columns[i].clientHeight);
		}
	}
}

function findTop(obj) {
	var curtop = 0;
	if (obj.offsetParent) {
		curtop = obj.offsetTop
		while (obj = obj.offsetParent) {
			curtop += obj.offsetTop
		}
	}
	return curtop;
}

function Start() {
		adjustHeights();
		goGetInputsThatNeedTextClearingOnFocus();

		//document.body.onresize = adjustHeights;
		//window.onresize = adjustHeights;
}