
//
function heightEqualizer()
{
    var d1 = document.getElementById('colonne_gauche');
	var d2 = document.getElementById('colonne_centre');
	var d3 = document.getElementById('colonne_droite');
    var offset_1 = new Object; var offset_2 = new Object; var offset_3 = new Object;
	offset_1.height = d1.clientHeight; offset_2.height = d2.clientHeight; offset_3.height = d3.clientHeight;
    //
	if(offset_1.height > offset_2.height && offset_1.height > offset_3.height)
	{
		d2.style.height = (offset_1.height - 4) + 'px'; d3.style.height = (offset_1.height - 4) + 'px';
	}
	else if(offset_2.height > offset_1.height && offset_2.height > offset_3.height)
	{
		d1.style.height = (offset_2.height - 4) + 'px'; d3.style.height = (offset_2.height - 4) + 'px';
	}
	else if(offset_3.height > offset_2.height && offset_3.height > offset_1.height)
	{
		d1.style.height = (offset_3.height - 4) + 'px'; d2.style.height = (offset_3.height - 4) + 'px';
	}
	return offset_1; return offset_2; return offset_3;
}
/**/
function heightEqualizer_4()
{
    var d1 = document.getElementById('colonne_gauche');
	var d2 = document.getElementById('colonne_centre');
	var d3 = document.getElementById('colonne_droite');
    var offset_1 = new Object; var offset_2 = new Object; var offset_3 = new Object;
	offset_1.height = d1.clientHeight; offset_2.height = d2.clientHeight; offset_3.height = d3.clientHeight;
    //
	if(offset_1.height > offset_2.height && offset_1.height > offset_3.height)
	{
		d2.style.height = (offset_1.height - 4) + 'px'; d3.style.height = (offset_1.height - 4) + 'px';
	}
	else if(offset_2.height > offset_1.height && offset_2.height > offset_3.height)
	{
		d1.style.height = (offset_2.height) + 'px'; d3.style.height = (offset_2.height) + 'px';
	}
	else if(offset_3.height > offset_2.height && offset_3.height > offset_1.height)
	{
		d1.style.height = (offset_3.height - 4) + 'px'; d2.style.height = (offset_3.height - 4) + 'px';
	}
	return offset_1; return offset_2; return offset_3;
}
//
function heightEqualizer_3()
{
	var d2 = document.getElementById('colonne_gauche_recherche');
	var d3 = document.getElementById('colonne_droite');
    var offset_2 = new Object; var offset_3 = new Object;
	offset_2.height = d2.clientHeight; offset_3.height = d3.clientHeight;
    
	if(offset_2.height > offset_3.height)
	{
		d3.style.height = (offset_2.height - 4) + 'px';
	}
	else if(offset_3.height > offset_2.height && offset_3.height > offset_1.height)
	{
		d1.style.height = (offset_3.height - 4) + 'px'; d2.style.height = (offset_3.height - 4) + 'px';
	}
	return offset_2; return offset_3;
}
//
function heightEqualizer_2()
{
	var d2 = document.getElementById('colonne_gauche_activite');
	var d3 = document.getElementById('colonne_droite');
    var offset_2 = new Object; var offset_3 = new Object;
	offset_2.height = d2.clientHeight; offset_3.height = d3.clientHeight;
    
	if(offset_2.height > offset_3.height)
	{
		d3.style.height = (offset_2.height + 25) + 'px';
	}
	else if(offset_3.height > offset_2.height)
	{
		d3.style.height = (offset_3.height + 100)  + 'px';
	}
	return offset_2; return offset_3;
}
//
function heightEqualizer_5()
{
	var d1 = document.getElementById('fondgrisgauche');
	var d2 = document.getElementById('colonne_gauche_activite');
	var d3 = document.getElementById('colonne_droite');
    var offset_1 = new Object; var offset_2 = new Object; var offset_3 = new Object;
	offset_1.height = d1.clientHeight; offset_2.height = d2.clientHeight; offset_3.height = d3.clientHeight;
    
	if(offset_2.height > offset_3.height)
	{
		d1.style.height = (offset_2.height - 199) + 'px';
		d3.style.height = (offset_2.height - 4) + 'px';
	}
	else if(offset_3.height > offset_2.height)
	{
		d3.style.height = (offset_3.height + 100)  + 'px';
		d1.style.height = (offset_3.height - 95) + 'px';
	}
	return offset_1; return offset_2; return offset_3;
}
//
function heightEqualizer_6()
{
	var d1 = document.getElementById('fondgrisgauche');
	var d2 = document.getElementById('colonne_gauche_activite');
	var d3 = document.getElementById('colonne_droite');
    var offset_1 = new Object; var offset_2 = new Object; var offset_3 = new Object;
	offset_1.height = d1.clientHeight; offset_2.height = d2.clientHeight; offset_3.height = d3.clientHeight;
    
	if(offset_2.height > offset_3.height)
	{
		d1.style.height = (offset_2.height - 199) + 'px';
		d3.style.height = (offset_2.height + 16) + 'px';
	}
	else if(offset_3.height > offset_2.height)
	{
		d3.style.height = (offset_3.height + 100)  + 'px';
		d1.style.height = (offset_3.height - 95) + 'px';
	}
	else if(offset_1.height > offset_3.height)
	{
		d1.style.height = (offset_3.height + 100)  + 'px';
		d3.style.height = (offset_3.height - 95) + 'px';
	}
	return offset_1; return offset_2; return offset_3;
}
/**/
function heightEqualizer_7()
{
    var d1 = document.getElementById('colonne_gauche');
	var d2 = document.getElementById('colonne_centre');
	var d3 = document.getElementById('colonne_droite');
    var offset_1 = new Object; var offset_2 = new Object; var offset_3 = new Object;
	offset_1.height = d1.clientHeight; offset_2.height = d2.clientHeight; offset_3.height = d3.clientHeight;
    //
	if(offset_1.height > offset_2.height && offset_1.height > offset_3.height)
	{
		d2.style.height = (offset_1.height) + 'px'; d3.style.height = (offset_1.height) + 'px';
	}
	else if(offset_2.height > offset_1.height && offset_2.height > offset_3.height)
	{
		d1.style.height = (offset_2.height - 4) + 'px'; d3.style.height = (offset_2.height - 4) + 'px';
	}
	else if(offset_3.height > offset_2.height && offset_3.height > offset_1.height)
	{
		d1.style.height = (offset_3.height) + 'px'; d2.style.height = (offset_3.height - 4) + 'px';
	}
	return offset_1; return offset_2; return offset_3;
}
/**/
function heightEqualizer_8()
{
    var d1 = document.getElementById('colonne_gauche');
	var d3 = document.getElementById('colonne_droite');
    var offset_1 = new Object; var offset_3 = new Object;
	offset_1.height = d1.clientHeight; offset_3.height = d3.clientHeight;
    //
	if(offset_1.height > offset_3.height)
	{
		d3.style.height = (offset_1.height) + 'px';
	}
	/*else if(offset_2.height > offset_1.height && offset_2.height > offset_3.height)
	{
		d1.style.height = (offset_2.height - 4) + 'px'; d3.style.height = (offset_2.height - 4) + 'px';
	}
	else if(offset_3.height > offset_2.height && offset_3.height > offset_1.height)
	{
		d1.style.height = (offset_3.height) + 'px'; d2.style.height = (offset_3.height - 4) + 'px';
	}*/
	return offset_1; return offset_3;
}