function switch_fonds(statut)
{
	if (document.getElementById)
	{
		if (target = document.getElementById('fonds'))
		{
			if (statut == 'investisseur')
				target.style.display = "";
			else
				target.style.display = "none";
		}
	}
	return false;
}

function showId(id, current)
{
	if (document.getElementById)
	{
		if (target = document.getElementById('investissement_' + current))
			target.style.display = 'none';

		if (target = document.getElementById('investissement_' + id))
			target.style.display = 'block';
	}
	return false;
}

function showParagraphe(id)
{
	if (document.getElementById)
	{
		if (target = document.getElementById('paragraphe_' + id))
			var backup = target.style.display;

		for (i = 1; i < 6; i++)
		{
			if (target2 = document.getElementById('paragraphe_' + i))
				target2.style.display = 'none';
		}

		if (backup == 'none')
			target.style.display = 'block';
		else
			target.style.display = 'none';
	}
	return false;
}

function toggleFunction(id)
{
	if (document.getElementById)
	{
		if (target = document.getElementById('people_' + id))
		{
			if (target.style.display != 'block')
				target.style.display = 'block';
			else
				target.style.display = 'none';
		}
	}
	return false;
}

