var tallest=0;

function fixColumnRaggedEdges(){
	if(document.getElementById('pawnbone')){positionPawnbone();}
	//start of cruddy code for IE
	var columns=new Array();
	columns[0]=document.getElementById('column1').offsetHeight;
	columns[1]=document.getElementById('column2').offsetHeight;
	columns[2]=document.getElementById('column3').offsetHeight;
	for (i=0; i<columns.length; i++) {if(columns[i]>tallest){tallest=columns[i];}}
	document.getElementById('column1').style.height=tallest+"px";
	document.getElementById('column2').style.height=tallest+"px";
	document.getElementById('column3').style.height=tallest+"px";

	/* shorter, cleaner code for standards-compliant browsers, but not IE :_(
	var columns=document.getElementsByClassName('column');//populates an array of columns in the document
	for (i=0; i<columns.length; i++) {if(columns[i].offsetHeight>tallest){tallest=columns[i].offsetHeight}}//sets "tallest" to the tallest column's height
	for (i=0; i<columns.length; i++) {columns[i].style.height=tallest+"px";}//styles all columns to be same height as "tallest"
*/
}

function positionPawnbone(){
	document.getElementById('main_content').style.marginBottom="0";
	document.getElementById('main_content').style.paddingBottom="0";
}

/* Coded by Maurice Ferguson www.electronfusioncreative.com */

