var timerID = null;
var timerOn = false;
var timecount = 0;

function HideAll() {
document.getElementById("Ly_Admin").style.display = "none";
document.getElementById("Ly_Asso").style.display = "none";
document.getElementById("Ly_Dossier").style.display = "none";
document.getElementById("Ly_Affil").style.display = "none";
}

/** ====================================================================================== **/

function ShowAdmin() {
	document.getElementById("Ly_Admin").src = "";
}

function HideAdmin() {
document.getElementById("Ly_Admin").style.display = "none";
}

/** ====================================================================================== **/

function ShowAsso() {
	document.getElementById("Ly_Asso").src = "";
}

function HideAsso() {
document.getElementById("Ly_Asso").style.display = "none";
}

/** ====================================================================================== **/

function ShowDossier() {
	document.getElementById("Ly_Dossier").src = "";
}

function HideDossier() {
document.getElementById("Ly_Dossier").style.display = "none";
}

/** ====================================================================================== **/

function ShowAffil() {
	document.getElementById("Ly_Affil").src = "";
}

function HideAffil() {
document.getElementById("Ly_Affil").style.display = "none";
}

/** ====================================================================================== **/

function startTimeAdmin() {
	if (timerOn == false) {
		timerID=setTimeout( "HideAdmin()" , timecount);
		timerOn = true;
	}
}

function startTimeAsso() {
	if (timerOn == false) {
		timerID=setTimeout( "HideAsso()" , timecount);
		timerOn = true;
	}
}

function startTimeDossier() {
	if (timerOn == false) {
		timerID=setTimeout( "HideDossier()" , timecount);
		timerOn = true;
	}
}

function startTimeAffil() {
	if (timerOn == false) {
		timerID=setTimeout( "HideAffil()" , timecount);
		timerOn = true;
	}
}


function ShowContent(d) {
document.getElementById(d).style.display = "";
}

function ShowContent(d) {
document.getElementById(d).style.display = "";
}

function stopTime() {
	if (timerOn) {
		clearTimeout(timerID);
		timerID = null;
		timerOn = false;
	}
}
// JavaScript Document