var ns4 = document.layers;
var ns6 = document.getElementById && !document.all;
var ie4 = document.all;
offsetX = 0;
offsetY = 20;
var toolTipSTYLE="";
var animationFlashSTYLE="";
var etatMenuSelectionner="off"; //l'etat du menu selectionner

function initToolTips()
{

  if(ns4||ns6||ie4)
  {
    if(ns4) 
		{
		toolTipSTYLE = document.toolTipLayer;
		animationFlashSTYLE = document.animationFlash;
		}
    else if(ns6) 
		{
		toolTipSTYLE = document.getElementById("toolTipLayer").style;
		animationFlashSTYLE = document.getElementById("animationFlash").style;
		}
    else if(ie4) 
		{
		toolTipSTYLE = document.all.toolTipLayer.style;
		animationFlashSTYLE = document.all.animationFlash.style;
		}
    if(ns4)
		{
		//
		}
		
    else
    {
      toolTipSTYLE.visibility = "visible";
      toolTipSTYLE.display = "none";
      animationFlashSTYLE.visibility = "visible";
      animationFlashSTYLE.display = "block";
    }

  }

}
function toolTip(etat)
{
if (etat=="actif")
	{
	afficherMenuSelectionner(etat);
	etatMenuSelectionner=etat;
	}
	else
	{
	setTimeout("afficherMenuSelectionner()",300);
	etatMenuSelectionner="off";
	}
}

function afficherMenuSelectionner()
{

  if(afficherMenuSelectionner.arguments.length < 1 && etatMenuSelectionner!="actif" ) // hide
  {
    if(ns4)
		{
		toolTipSTYLE.visibility = "hidden";
		animationFlashSTYLE.visibility = "visible";
		}
		 else 
		{
		toolTipSTYLE.display = "none";
		animationFlashSTYLE.display = "block";
		}
  }
  else // show
  {

    if(ns4)
    {
      toolTipSTYLE.visibility = "visible";
	  animationFlashSTYLE.visibility = "hidden";
	  
    }
    if(ns6)
    {
      toolTipSTYLE.display='block'
      animationFlashSTYLE.display='none'
    }
    if(ie4)
    {
      toolTipSTYLE.display='block'
      animationFlashSTYLE.display='none'
    }
  }
 }
 
///////////////////////////////////////////////

function initToolTips2()
{

  if(ns4||ns6||ie4)
  {
    if(ns4) 
		{
		toolTipSTYLE = document.toolTipLayer;
		}
    else if(ns6) 
		{
		toolTipSTYLE = document.getElementById("toolTipLayer").style;
		}
    else if(ie4) 
		{
		toolTipSTYLE = document.all.toolTipLayer.style;
		}
    if(ns4)
		{
		//
		}
		
    else
    {
      toolTipSTYLE.visibility = "visible";
      toolTipSTYLE.display = "none";
    }

  }

}
function toolTip2(etat)
{
if (etat=="actif")
	{
	afficherMenuSelectionner2(etat);
	etatMenuSelectionner=etat;
	}
	else
	{
	setTimeout("afficherMenuSelectionner()",300);
	etatMenuSelectionner="off";
	}
}

function afficherMenuSelectionner2()
{

  if(afficherMenuSelectionner2.arguments.length < 1 && etatMenuSelectionner!="actif" ) // hide
  {
    if(ns4)
		{
		toolTipSTYLE.visibility = "hidden";
		}
		 else 
		{
		toolTipSTYLE.display = "none";
		}
  }
  else // show
  {

    if(ns4)
    {
      toolTipSTYLE.visibility = "visible";
    }
    if(ns6)
    {
      toolTipSTYLE.display='block'
    }
    if(ie4)
    {
      toolTipSTYLE.display='block'
    }
  }
 }