function deploie(rub)
{
	var d=document.getElementById('CR'+R_sel);
	if (d&&(R_sel>rub)) {d.style.display='none';}
	if (R_sel!=R_bloc)
	{
		d=document.getElementById('TR'+R_sel);
		if (d) {d.style.backgroundColor=ETEINT;}
		d=document.getElementById('L'+R_sel);
		if (d) {d.style.backgroundColor=ETEINT;}
	}
	if ((R_sel!=R_bloc)||(SR_sel!=SR_bloc))
	{
		var d=document.getElementById('R'+R_sel+'I'+SR_sel);
		if (d) {d.style.backgroundColor=ETEINT;}
		d=document.getElementById('L'+R_sel+'I'+SR_sel);
		if (d) {d.style.backgroundColor=ETEINT;}
	}
	R_sel=rub;
	SR_sel=0;
	var str_color=ALLUME;
	if(R_sel==R_bloc){str_color=AFFICHE;}
	var d=document.getElementById('CR'+R_sel);
	if (d) {d.style.display='block';}
	d=document.getElementById('TR'+R_sel);
	if (d) {d.style.backgroundColor=str_color;}
	d=document.getElementById('L'+R_sel);
	if (d) {d.style.backgroundColor=str_color;}
}
<!--
function allume(rub,srub)
{
	deploie(rub);
	SR_sel=srub;
	var str_color=ALLUME;
	if((R_sel==R_bloc)&&(SR_sel==SR_bloc)) {str_color=AFFICHE;}
	var d=document.getElementById('R'+R_sel+'I'+SR_sel);
	if (d) {d.style.backgroundColor=str_color;}
	d=document.getElementById('L'+R_sel+'I'+SR_sel);
	if (d) {d.style.backgroundColor=str_color;}
}
function init()
{
	var i=1
	var d=document.getElementById('CR'+i);
	while(d)
	{
		if (i!=R_bloc)
		{
			d.style.display='none';
		}
		i=i+1;
		d=document.getElementById('CR'+i);
	}
	allume(R_bloc,SR_bloc);
}
function zoom_image(img)
{
	nom_f=open("","zoom","dependent=yes,top=10,left=10,height=550,width=800",false);
	nom_f.document.write("<HTML><HEAD><TITLE>Image agrandie</TITLE></HEAD><BODY BGCOLOR= #EBCA7D>");
	nom_f.document.write("<DIV STYLE='height=500;text-align:center;'><IMG SRC='images/"+img+"' alt='Accessoires 4x4 illustration produit en cours' height='500' BORDER=0>");
	nom_f.document.write("</DIV><INPUT TYPE='button' STYLE='margin-left:650px;font-size:9px;background-color: #EBCA7D;' VALUE='fermer la fenêtre' OnClick=JavaScript:self.close();></DIV></BODY></HTML>")
}
//-->