// CALCUL DE LA HAUTEUR DE LA FENÊTRE ET AJUSTEMENT DE LA HAUTEUR DU CONTENU

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 resize() {
		
	windowHeight = getWindowHeight();
	
	if (window.document.getElementById('page').offsetHeight<windowHeight-102) {
	window.document.getElementById('transversal').style.height = (windowHeight-102+12+"px");
	window.document.getElementById('page').style.height = (windowHeight-102+"px");
	}
	
	else {
	// AGRANDISSEMENT DE LA COLONNE DE DROITE POUR IE6
	window.document.getElementById('transversal').style.height = window.document.getElementById('page').offsetHeight;
	}
	
	

}
