<!--
//CHARGEMENT

//FUNCTION
function getWindowHeight() { //HAUTEUR ECRAN
	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 setFooter() { //PLACEMENT DU BAS DE PAGE FOOTER
	if (document.getElementById) {
		var windowHeight = getWindowHeight();
		if (windowHeight > 0) {
			var haut = 315;
			var contentHeight = document.getElementById('right').offsetHeight;
			var footerElement = document.getElementById('footer');
			var footerHeight  = footerElement.offsetHeight;
			
			if (windowHeight - (contentHeight + footerHeight + haut) >= 0) {
				footerElement.style.top = (windowHeight - footerHeight) + 'px';
			}else {
				footerElement.style.top = (contentHeight + haut) + 'px';
			}
		}
	}
}

//ACTION
window.onload = function() {
	setFooter();
}
window.onresize = function() {
	setFooter();
}
window.onunload = function() {

}
//-->

function setFlash() { //CLICK FLASH IE6
 theObjects = document.getElementsByTagName("object");
for (var i = 0; i < theObjects.length; i++) {
theObjects[i].outerHTML = theObjects[i].outerHTML;
   }
}

//ACTION
window.onload = function() {
	setFlash();
}
