function changeStyle (strClassName)
{
	document.getElementById('visuelsante').className = strClassName;
}

function GetLayerStyle ( strLayerName )
{
	if ( bIsNS )
		{return ( document.layers[strLayerName] );}
	if ( bIsIE )
		{return ( document.all[strLayerName].style );}
	return ( null )
}

function  ShowLayer ( strLayerName )
{
	var oLayer = null;
	oLayer = GetLayerStyle ( strLayerName );
	if ( oLayer != null )
		{oLayer.visibility = strShowLayer;}
}

function HideLayer ( strLayerName )
{
	var oLayer = null;
	oLayer = GetLayerStyle ( strLayerName );
	if ( oLayer != null )
		{oLayer.visibility = strHideLayer;}
}

function InvertLayer ( strLayerName )
{
	var oLayer = null;
	oLayer = GetLayerStyle ( strLayerName );
	if ( oLayer != null )
		{
		if ( oLayer.visibility == strHideLayer )
			oLayer.visibility = strShowLayer;
		else
			oLayer.visibility = strHideLayer;
	}
}

function showMenu (iMenu) 
{
	var nomMenu = "menu" + iMenu ;
	hideMenu();
	with(document.getElementById(nomMenu).style) {
		display='block';
	}
	with(document.getElementById("cache").style) {
		visibility="visible";
	}
}

function hideMenu() 
{
	for(i=0;i<=2;i++) {
		with(document.getElementById("menu"+i).style) {
			display="none";
		}
		with(document.getElementById("cache").style) {
			visibility="hidden";
		}
	}
}
