//START : COMPLEMENT SCRIPT HIGHSLIDE 
hs.graphicsDir = '../skin/javascript/highslide/graphics/';
hs.outlineWhileAnimating = true;
hs.width = '600';
hs.height = '480';
hs.align = 'center';

// remove the registerOverlay call to disable the close button
hs.registerOverlay({
	overlayId: 'closebutton',
	position: 'top right',
	fade: 2 // fading the semi-transparent overlay looks bad in IE
});
hs.registerOverlay({
	thumbnailId: null,
	overlayId: 'controlbar',
	position: 'top left',
	hideOnMouseOut: true,
	opacity: 0.9
});
//END : COMPLEMENT SCRIPT HIGHSLIDE 

//START : FUNCTION PAGE PRESTATIONS DISPLAY BLOCK
function loadFunctionPresta() {
	displayBlocPresta('bloc1', 'aBloc1');
}
function displayBlocPresta(thingId, athingId) {
	for(i=1; i<9; i++){
		document.getElementById('bloc'+i).style.display = 'none';
		document.getElementById('aBloc'+i).style.backgroundColor = '#1560d2';
	}
	document.getElementById(thingId).style.display = 'block';
	document.getElementById(athingId).style.backgroundColor = '#979797';
}
//END : FUNCTION PAGE PRESTATIONS DISPLAY BLOCK

//START : FUNCTION PAGE EQUIPE DISPLAY BLOCK
function loadFunctionEquipe() {
	displayBlocEquipe('member1');
}
function displayBlocEquipe(thingId) {
	for(i=1; i<10; i++){
		document.getElementById('member'+i).style.display = 'none';
	}
	document.getElementById(thingId).style.display = 'block';
}

