function correctHeight(paddingCol1, paddingCol2, paddingCol3) {
	var divHeightCol1 = 0;
	var divHeightCol2 = 0;
	var divHeightCol3 = 0;
	var height = 0;
	
	divHeightCol1 = document.getElementById('col1_content').offsetHeight;
	
	if(document.getElementById('col2_content') != null) {
		divHeightCol2 = document.getElementById('col2_content').offsetHeight;
	}
	
	if(document.getElementById('col3_content') != null) {
		divHeightCol3 = document.getElementById('col3_content').offsetHeight;
	}

	if(divHeightCol1 > divHeightCol2){
		height = divHeightCol1;
		
	}
	else {
		height = divHeightCol2;
		
	}
	
	if(divHeightCol3 > height){
		height = divHeightCol3;
	}
	
	if(document.getElementById('col1_content')) {
		document.getElementById('col1_content').style.height = (height-paddingCol1)+'px';	
	}
	
	if(document.getElementById('col2_content')) {	
		document.getElementById('col2_content').style.height = (height-paddingCol2)+'px';	
	}
	
	if(document.getElementById('col3_content')) {
		document.getElementById('col3_content').style.height = (height-paddingCol3)+'px';	
	}
}

function correctSubcl() {
	var divHeightCol1 = 0;
	var divHeightCol2 = 0;
	var divHeightCol3 = 0;
	var height = 0;
	
	divHeightCol1 = document.getElementById('col1_content').offsetHeight;
	
	if(document.getElementById('col2_content') != null) {
		divHeightCol2 = document.getElementById('col2_content').offsetHeight;
	}
	
	if(document.getElementById('col3_content') != null) {
		divHeightCol3 = document.getElementById('col3_content').offsetHeight;
	}

	if(divHeightCol1 > divHeightCol2){
		height = divHeightCol1;
		
	}
	else {
		height = divHeightCol2;
		
	}
	
	if(divHeightCol3 > height){
		height = divHeightCol3;
	}
	
	height = height - 310;
	
	subclHeight = document.getElementById('subcl').offsetHeight;
	
	height = height - subclHeight;
	subclHeight = height + subclHeight;
	
	var d = navigator.appName == 'Microsoft Internet Explorer';

	if(d){
		document.getElementById('subcl').style.height = (subclHeight-14)+'px';

	}
	else {
		document.getElementById('subcl').style.height = (subclHeight-24)+'px';
	}
}