//////////// Correction temporaire pour bug activation onglets
//////////// dans pages etape par etape 2007-07-19
//////////// init Etape
function initEtape(){
	document.getElementById("detailOnglet1").onclick = function(){selectOnglet(1)};
	document.getElementById("detailOnglet2").onclick = function(){selectOnglet(2)};
	document.getElementById("detailOnglet3").onclick = function(){selectOnglet(3)};
}
//////////// fin initEtape

//////////// selectOnglet
function selectOnglet(targ){
	for(var i=1;i<4;i++){
		if(i!=targ){
			document.getElementById("detailOnglet" + i).parentNode.className = "premier";
		}
	}
	document.getElementById("detailOnglet" + targ).parentNode.className = "premier current";
}
//////////// fin selectOnglet
addEvent(window, "load", initEtape);

