/*
	V 1.0
	Usage : Another  JS/CSS menu
*/
var idHistoire = 1;
var idMax      = 12;

function historiquePrev() {
	document.getElementById('histoire_' + idHistoire).style.display = 'none';
	
	if(idHistoire > 1) {
		idHistoire--;
	} else {
		idHistoire = idMax;
	}
	
	document.getElementById('histoire_' + idHistoire).style.display = 'block';
}

function historiqueNext() {
	document.getElementById('histoire_' + idHistoire).style.display = 'none';
	
	if(idHistoire <= idMax-1) {
		idHistoire++;
	} else {
		idHistoire = 1;
	}
	
	document.getElementById('histoire_' + idHistoire).style.display = 'block';
}
