function resize()
{
	var corps = document.getElementById( 'corps' );
	var heightCorps = parseInt( corps.scrollHeight );
	// var contenu = document.getElementById( 'contenu' );
	// var heightContenu = parseInt( contenu.scrollHeight );
	// var contenuScroll = document.getElementById( 'contenu-scroll' );
	// var heightContenuScroll = parseInt( contenuScroll.scrollHeight );
	
	var heightBody = parseInt( document.body.clientHeight );
	
	var gauche3 = document.getElementById( 'gauche3' );
	var heightGauche3 = parseInt( gauche3.scrollHeight );
	
	var milieu3 = document.getElementById( 'milieu3' );
	var heightMilieu3 = parseInt( milieu3.scrollHeight );
	
	var droite3 = document.getElementById( 'droite3' );
	var heightDroite3 = parseInt( droite3.scrollHeight );
	
	var bandeau = document.getElementById( 'bandeau' );
	var heightBandeau = parseInt( bandeau.scrollHeight );
	
	var sousBandeau = document.getElementById( 'endessous-bandeau' );
	var heightSousBandeau = parseInt( sousBandeau.scrollHeight );
	
	var piedDePage = document.getElementById( 'pied-de-page' );
	var heightPiedDePage = parseInt( piedDePage.scrollHeight );
	
	var heightNormal=(((heightBody-heightBandeau)-heightSousBandeau)-heightPiedDePage);
	var heightMax=0;
	
	if(heightGauche3>heightMax)
	{
		heightMax=heightGauche3;
	}
	if(heightDroite3>heightMax)
	{
		heightMax=heightDroite3;
	}
	if(heightMilieu3>heightMax)
	{
		heightMax=heightMilieu3;
	}
	// alert(heightNormal);
	// alert(heightMax);
	if(heightNormal>=heightMax)
	{
		corps.style.height   = (heightNormal-10) + 'px'; //10 pixel de margin-top sur le corps
	}
	else
	{
		corps.style.height   = heightMax + 'px';
	}
	
	
		
	// height = heightBody;
	
	// if( heightBody < 600 )
	// {
		// height = 600;
	// }
	
	
	
	// if( heightContenuScroll <= 322 ) // 600 - 278
	// {
		// corps.style.height   = '322px';
		// contenu.style.height = '322px';
	// }
	// else if( heightContenuScroll <= height - 278 )
	// {
		// corps.style.height   = heightContenuScroll + 'px';
		// contenu.style.height = heightContenuScroll + 'px';
	// }
	// else
	// {
		// corps.style.height   = ( height - 278 ) + 'px';
		// contenu.style.height = ( height - 278 ) + 'px';
	// }
	
	// var Expression = new RegExp( 'MSIE 6.0' );
	
	// if( navigator.appName == 'Microsoft Internet Explorer' && Expression.test( navigator.appVersion ) )
	// {
		// var diff = 298;
	// }
	// else
	// {
		// var diff = 278;
	// }
	

		
	// corps.style.height   = ( height - 297 ) + 'px';
	// contenu.style.height = ( height - 297 ) + 'px';
}


