function pvpa_mnu(obj)
{
	tb = document.getElementsByTagName('a');
	for (i=0; i < tb.length; i++)
	{
		if( tb[i].id ) 
		{ 
			tb[i].style.display = 'block'; 
			balise = document.getElementById('sel_'+tb[i].id);
			if(balise != null) balise.style.display = 'none'; 
		} 
	}
	obj.style.display = 'none';
	document.getElementById('sel_'+obj.id).style.display = 'block';
}

function masqueSelectIe6()
{
	if(Prototype.Browser.IE)
	{
		lstsel = document.getElementsByTagName('select');
		for(i=0;i<lstsel.length;i++)
		{
			if(lstsel[i].className == 'donthide')
			{ lstsel[i].style.visibility = 'visible'; }
			else
			{ lstsel[i].style.visibility = 'hidden'; }
		}
	}
}
function showSelectIe6()
{
	if(Prototype.Browser.IE)
	{
		lstsel = document.getElementsByTagName('select');
		for(i=0;i<lstsel.length;i++)
		{
			lstsel[i].style.visibility = 'visible';
		}
	}
}
function openPopup(nom)
{

	inHeight =  window.innerHeight;
	clHeight =  document.body.clientHeight;

	if(inHeight > clHeight)
	{
		document.getElementById('fond_'+nom).style.height = window.innerHeight + 'px';
	}
	else
	{
		document.getElementById('fond_'+nom).style.height = document.body.clientHeight + 'px';
	}
	
	masqueSelectIe6();
	document.getElementById('fond_'+nom).style.display = 'block';
	document.getElementById('cadr_'+nom).style.display = 'block';
}
function closePopup(nom)
{
	showSelectIe6();
	document.getElementById('fond_'+nom).style.display = 'none';
	document.getElementById('cadr_'+nom).style.display = 'none';
}


function openRealPopup(page){
	 window.open(page,"publication","menubar=no, status=no, scrollbars=no, menubar=no, width=800, height=650");
}
