var presentationTimer = "";

function showPresentation() { 
	window.clearTimeout(presentationTimer);
	var elem = document.getElementById ("presentationsousmenu");
	if (is_mac && is_ie4up) {
		passe = true
	} else {
		var divTag = document.getElementById("onglet");
		var AnchorPos = getAnchorPosition("onglet")
		newY = AnchorPos.y + 3;
		elem.style.top=newY;
		elem.style.zIndex = 5;
	}

	elem.style.display = "block";
	etatPresentation = "show"

	//Change l'etat du bouton Presentation et fonctionnement
	fsButton('presentation',-40);
}

function hidePresentation() { 
	var elem = document.getElementById ("presentationsousmenu");
	if (is_mac && is_ie4up) {
		passe = true
	} else {
		var divTag = document.getElementById("presentation");
		var AnchorPos = getAnchorPosition("presentation")
		elem.style.top=AnchorPos.y+3;
		elem.style.zIndex = 5;
	}

    elem.style.display = "none";
	etatPresentation = "hide"
	
	//Change l'etat du bouton Presentation et fonctionnement
	fsButton('presentation',0);
}

function showHideTimer() {
	presentationTimer = window.setTimeout('hidePresentation();', 500);
}
