

// Sets the height of the mainContent DIV to an odd number pixel height. This is so that 
// alternating lines in the background of the footer block graphic match up with the alternating
// lines in the window background texture.

window.onload = function adjustDocHeight() {
	var divHeight = document.getElementById('mainContent').offsetHeight;
	//alert (divHeight);
	
	// If height is not an even number...
	if (!((divHeight % 2) == 0)) {
		//alert("odd number!");
		var newHeight = divHeight + 1;
		var newHeight = newHeight + 'px';
		///alert (typeof(newHeight) + ': ' + newHeight);
		document.getElementById('mainContent').style.height = newHeight;
	}
}