function makeLongPage(){
	var yScroll, windowHeight;
	if (window.innerHeight && window.scrollMaxY) yScroll = window.innerHeight + window.scrollMaxY;
	else if (document.body.scrollHeight > document.body.offsetHeight) yScroll = document.body.scrollHeight;
	else yScroll = document.body.offsetHeight;
	if (self.innerHeight) windowHeight = self.innerHeight;
	else if (document.documentElement && document.documentElement.clientHeight) windowHeight = document.documentElement.clientHeight;
	else if (document.body) windowHeight = document.body.clientHeight;
	if(yScroll < windowHeight) pageHeight = windowHeight;
	else pageHeight = yScroll;
	var globalHeight = pageHeight;
	if((document.getElementById("Menu").offsetHeight + 170) > pageHeight) globalHeight = (document.getElementById("Menu").offsetHeight + 170);
	if((document.getElementById("AjaxContenu").offsetHeight + 380) > pageHeight) globalHeight = (document.getElementById("AjaxContenu").offsetHeight + 380);
	document.getElementById("Global").style.height = (globalHeight-160) + "px";
	return true;
}
window.onload = function (){
	makeLongPage();
}
window.onresize = function (){
	var admin =  document.getElementsByName("recalcul");
	if(admin.length==0) makeLongPage();
}