function libreexp_surnom_on(surnomid)
{
	if (!document.getElementById) return;
	Obj = document.getElementById(surnomid);
	Img = document.getElementById('libreexp-mosaique');
	if (!Obj || !Img || !Obj.style || !Img.style) return;
	var cible = Obj.getElementsByTagName('A')[0];
	cible.style.color = '#f51801';
	cible.style.backgroundColor = 'yellow';
	Img.style.cursor = 'help';
}
function libreexp_surnom_off(surnomid)
{
	if (!document.getElementById) return;
	Obj = document.getElementById(surnomid);
	Img = document.getElementById('libreexp-mosaique');
	if (!Obj || !Img || !Obj.style || !Img.style) return;
	var cible = Obj.getElementsByTagName('A')[0];
	cible.style.color = '';
	cible.style.backgroundColor = '';
	Img.style.cursor = 'default';
}

function libreexp_montre(ref)
{
	if (!isIE5 && !isIE5Mac && !isSafari && !window.opera) return;
	var ul = ref.getElementsByTagName('UL')[0];
	if (isSafari || isIE5Mac || window.opera) { ul.style.top = '13px'; }
	if (isSafari || window.opera) { return; }
	ul.style.display = 'block';
	var pool = document.getElementById('surnoms');
	for (i=0; i<pool.childNodes.length; i++)
	{
		var li = pool.childNodes[i];
		if (li.nodeType==1 && li.nodeName.toLowerCase()=='li' && li != ref)
		{
			//li.style.visibility = 'hidden';
			li.style.position = 'static';
		}
	}
}
function libreexp_cache(ref)
{
	if (!isIE5) return;
	var ul = ref.getElementsByTagName('UL')[0];
	ul.style.display = 'none';
	var pool = document.getElementById('surnoms');
	for (i=0; i<pool.childNodes.length; i++)
	{
		var li = pool.childNodes[i];
		if (li.nodeType==1 && li.nodeName.toLowerCase()=='li')
		{
			//li.style.visibility = 'hidden';
			li.style.position = 'relative';
		}
	}
}
