
var fgd_index = 1;
var url = document.location.href;

function displayOnglet(num, total) {

	//masque tous les autres
	for(i=1; i<total+1; i++) {
		document.getElementById("onglet"+i).style.display = 'none';	
		idImg = 'ong' + i;
		pathImg = 'img/onglet_off.gif'
		document.images[idImg].src = pathImg;		
	}

	document.getElementById("onglet"+num).style.display = 'block';

	idImg = 'ong' + num;
	pathImg = 'img/onglet_on.gif'
	document.images[idImg].src = pathImg;
	
}


