// JavaScript Document
function resize(){
var col1 = document.getElementById('c1');
var col2 = document.getElementById('c2');
var col3 = document.getElementById('c3');

var col1h = col1.offsetHeight;
var col2h = col2.offsetHeight;
var col3h = col3.offsetHeight;

var theBiggest = "";

//which of the heights is the biggest
if (col1h >=col2h){
	//col 1 is bigger than column 2
	if (col1h >=col3h){
		//col 1 is bigger than column 3 and column 2
		theBiggest = col1h;
	}else{
		//col 3 is bigger than column 1 and column 2
		theBiggest = col3h;
	}
}else{
	//col 2 is bigger than column 1
	if (col2h >- col3h){
		// col 2 is bigger than column 1 and column 3
		theBiggest = col2h;
	}else{
		  //col 3 is bigger than column 2 and column 1
		  theBiggest = col3h;
	}
}
col1.style.height = theBiggest + 'px';
col2.style.height = theBiggest + 'px';
col3.style.height = theBiggest + 'px';

var windowHeight = document.getElementById('footer').offsetTop;
var moreHeight = windowHeight + 10;
var wrapper = document.getElementById('wrapper');
wrapper.style.height = moreHeight + 'px';
}
function resizeWrapper(){
	var windowHeight = document.getElementById('footer').offsetTop;
	var moreHeight = windowHeight + 10;
	var wrapper = document.getElementById('wrapper');
	wrapper.style.height = moreHeight + 'px';
}