function getWindowHeight() {
		var windowHeight = 0;
		if (typeof(window.innerHeight) == 'number') {
			windowHeight = window.innerHeight;
		}
		else {
			if (document.documentElement && document.documentElement.clientHeight) {
				windowHeight = document.documentElement.clientHeight;
			}
			else {
				if (document.body && document.body.clientHeight) {
					windowHeight = document.body.clientHeight;
				}
			}
		}
		return windowHeight;
	}
	function setFooterAccueil() {
		if (document.getElementById) {
			var windowHeight = getWindowHeight();
			if (windowHeight > 543) {
				var spacerElement = document.getElementById('spacer');
				var spacerHauteur = (windowHeight - 523);
				spacerElement.style.height = spacerHauteur+"px";
			}
			else {
					var spacerElement = document.getElementById('spacer');
					spacerElement.style.height = 20+"px";
				}
		}	
	}
	
	function setFooter() {
		
		if (document.getElementById) {
			var windowHeight = getWindowHeight();
			if (windowHeight > 420) {
					var ascHauteur = windowHeight - 180;
					document.getElementById('DivMainContainer').style.height = ascHauteur+"px";
					document.getElementById('DivNewsContainer').style.height = ascHauteur+"px";
					
					
					
			
			}
		}	
	}
	
	function setFooterFormation() {
		if (document.getElementById) {
			var windowHeight = getWindowHeight();
			if (windowHeight > 420) {
					//var ascHauteur = windowHeight - 194;
					
					
					var ascHauteur = windowHeight - 180;
					document.getElementById('DivMainContainer').style.height = ascHauteur+"px";
					document.getElementById('TableMenuFormation').style.height = ascHauteur+"px";
			}
		}	
	}