Event.observe(window,"load",function(){

	if(document.all) { //This means it is IE
				if($('homeColumns') != null){

		
			var firstColumn = parseInt(document.getElementById('firstColumn').offsetHeight);
			var secondColumn = parseInt(document.getElementById('secondColumn').offsetHeight);
			var thirdColumn = parseInt(document.getElementById('thirdColumn').offsetHeight);
			var maxheight = (firstColumn>secondColumn)?((firstColumn>thirdColumn)?firstColumn:thirdColumn):((thirdColumn>secondColumn)?thirdColumn:secondColumn);
			maxheight = maxheight + 'px';
			$('firstColumn').setStyle({'height' : maxheight});
			$('secondColumn').setStyle({'height' : maxheight});
			$('thirdColumn').setStyle({'height' : maxheight});


		}
	}else if($('homeColumns') != null){

		
			var firstColumn = parseInt(document.getElementById('firstColumn').getStyle('height'));
			var secondColumn = parseInt(document.getElementById('secondColumn').getStyle('height'));
			var thirdColumn = parseInt(document.getElementById('thirdColumn').getStyle('height'));
			var maxheight = (firstColumn>secondColumn)?((firstColumn>thirdColumn)?firstColumn:thirdColumn):((thirdColumn>secondColumn)?thirdColumn:secondColumn);
			maxheight = maxheight + 'px';
			$('firstColumn').setStyle({'height' : maxheight});
			$('secondColumn').setStyle({'height' : maxheight});
			$('thirdColumn').setStyle({'height' : maxheight});


		}else if($('sub_container') != null){
			var left_navigation = parseInt(document.getElementById('left_navigation').getStyle('height'));
			var contentColumn = parseInt(document.getElementById('contentColumn').getStyle('height'));
			var maxheight = (left_navigation>contentColumn)?(left_navigation):(contentColumn);
			maxheight = maxheight + 'px';
			leftmaxheight = (parseInt(maxheight)) + 'px';
			$('left_navigation').setStyle({'height' : maxheight});
			$('contentColumn').setStyle({'height' : leftmaxheight});
		}
	
});

