//Script to make the div heights match up.

var ColumnDiv = 'leftColInside';
var Target = 'footerDiv';

function adjustHeight(){
	var column = document.getElementById(ColumnDiv);

	//alert(column.clientHeight);
	//alert(findTop(document.getElementById(Target)) + " - (" + column.clientHeight + " + " + findTop(column) + ")");
	column.style.height = column.clientHeight + (findTop(document.getElementById(Target)) - (column.clientHeight + findTop(column)) - 26) + 'px';
	//alert(column.clientHeight);
}

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

function divHeightStart() {
	adjustHeight();
	document.body.onresize = adjustHeight;
	window.onresize = adjustHeight;
}

