// JavaScript Document
function setCorrections() {
	
var cont = document.getElementById("content");
var contWrap = document.getElementById("content-wrap");
var wheight = window.innerHeight; 
var ftr = document.getElementById("footer");
var container = document.getElementById("container");

contWrap.style.height = cont.offsetHeight + 10 + "px";
 fheight = wheight - container.offsetHeight - 20;
 if (fheight > 150) ftr.style.height =  fheight + 'px';
}



function setCorrections_home() {
var wheight = window.innerHeight; 
var ftr = document.getElementById("footer");
var container = document.getElementById("container");

 fheight = wheight - container.offsetHeight - 20;
 if (fheight > 150) ftr.style.height =  fheight + 'px';
 
 
}

