
window.onload=montrer;
function montrer(id, current_dt, open)
{
	var d = document.getElementById(id);

	if(current_dt !=null)
	{
		var dt = document.getElementById(current_dt);

		if(dt != null) {
			dt.style.backgroundColor = '#a8adb6';
		}
	}

	for (var i = 1; i<=10; i++)
	{
		if (document.getElementById('smenu'+i))
		{
			document.getElementById('smenu'+i).style.display='none';
		}
	}

	if (d && open)
	{
		d.style.display='block';
	}
}

function cacher(id, current_dt)
{
	var d = document.getElementById(id);

	if(current_dt !=null)
	{
		var dt = document.getElementById(current_dt);

		if(dt != null)
			dt.style.backgroundColor = '#888e98';
	}


	if (d)
	{
		d.style.display='none';
	}
}

function menu_over(obj, menu)
{
	obj.style.color = '#ffffff';
	obj.style.background = '#70caef';
	menuObj = document.getElementById(menu);
	menuObj.style.background = '#70caef';

}

function menu_out(obj, menu)
{
	obj.style.color = '#888e98';
	obj.style.background = '#ffffff';
	menuObj = document.getElementById(menu);
	menuObj.style.background = '#bcbfc3';

}

