function activer_onglet(x)
{

	for (var i = 0; i <= 19; i++)  
	{
		if ( document.getElementById("div_onglet_"+i) ) 
		{
			document.getElementById("div_onglet_"+i).style.display='none';
			//if ( document.getElementById("table_art_onglets_ong_g_"+i) ) document.getElementById('table_art_onglets_ong_g_'+i).style.cssText='border-bottom: #000000 solid 1px;';
			//if ( document.getElementById("table_art_onglets_ong_m_"+i) ) document.getElementById('table_art_onglets_ong_m_'+i).style.cssText='border-bottom: #000000 solid 1px;';
			//if ( document.getElementById("table_art_onglets_ong_d_"+i) ) document.getElementById('table_art_onglets_ong_d_'+i).style.cssText='border-bottom: #000000 solid 1px;';
			if ( document.getElementById("table_art_onglets_ong_lien_"+i) ) document.getElementById('table_art_onglets_ong_lien_'+i).className = 'table_art_onglets_lien';
		}
		/* document.getElementByID('div_onglet_'+i).style.display='none';  */
	}

	document.getElementById("div_onglet_"+x).style.display='block';
	//document.getElementById('table_art_onglets_ong_g_'+x).style.cssText='border-bottom: #000000 solid 0px;';
	//document.getElementById('table_art_onglets_ong_m_'+x).style.cssText='border-bottom: #000000 solid 0px;';
	//document.getElementById('table_art_onglets_ong_d_'+x).style.cssText='border-bottom: #000000 solid 0px;';
	if ( document.getElementById("table_art_onglets_ong_lien_"+x) ) document.getElementById('table_art_onglets_ong_lien_'+x).className = 'table_art_onglets_lien_selected';

}
