<!--
var ns4=document.layers
var ie4=document.all
var ns6=document.getElementById&&!document.all

var loaded=false;
var d = document;

var filet = '<tr><td colspan="2"  align="right" bgcolor="#FFBF10"><img src="'+chemin+'img/dotcreme.gif" width="100" height="1" vspace="1"></td></tr>';
var fleche = '<td valign="top" align="center" width="10" bgcolor="#FFBF10"><img src="'+chemin+'img/menu_left/puce_OFF.gif" hspace="2"></td><td valign="top" width="90" bgcolor="#FFBF10"><a class="menu"';

function loadCheck(){
 	loaded = true;
}

function dW(blabla){
	document.write(blabla);
}

function newSub(y,id,content,bt){
	if (document.layers){dW('<layer left=151 top="'+y+'" width="100" name="'+id+'" visibility="hide" onMouseOut="hideAll();allImgOff();" onMouseOver="hop(\''+bt+'\',\''+id+'\');">'); var end = '</layer>';} //bgcolor="#AFCCF3"
	else {dW('<div style="position:absolute;left:151px;width:100px;top:'+y+'px;visibility:hidden;bgcolor:#AFCCF3;" id="'+id+'" onMouseOut="hideAll();allImgOff();" onMouseOver="hop(\''+bt+'\',\''+id+'\');">'); var end = '</div>';}	
	dW('<table width="100" cellpadding="0" cellspacing="0" border="0">');
	dW('<tr><td colspan="2"><img src="'+chemin+'img/menu_left/border1.gif"></td></tr>');
	dW(content);
	dW('<tr><td colspan="2"><img src="'+chemin+'img/menu_left/border2.gif"></td></tr>');
	dW('</table>'+end);
}

function rol(img,etat) {
	if (document.images && loaded)
	{
		if(document.images[img] != null)
			document.images[img].src=eval(img+"_"+etat+".src");
	}
}

function show(calq){
	if(loaded){
    if(document.layers){document.layers[calq].visibility = "show";}
    else if(ie4){document.all[calq].style.visibility = "visible";}
    else if(ns6){document.getElementById(calq).style.visibility = "visible";}
	}
}


function hide(calq){
	    if(document.layers){
			document.layers[calq].visibility  = "hide";
		}else if(ie4){
			document.all[calq].style.visibility = "hidden";
		}else if(ns6){
		 	document.getElementById(calq).style.visibility = "hidden";
		}
	
}

function hideAll(){
	if(loaded){
		hide('sub1');
		hide('sub2');
		hide('sub3');
		hide('sub4');
		hide('sub5');
		hide('sub6');
		hide('sub7');
		hide('sub8');
	}

}

function allImgOff(){
	if(loaded){
		
	rol('bt_01','OFF');	rol('bt_02','OFF');
	rol('bt_03','OFF');	rol('bt_04','OFF');
	rol('bt_05','OFF');	rol('bt_06','OFF');
	rol('bt_07','OFF');	rol('bt_08','OFF');

	cocheRubriqueCourante();

	}
}


function hop(img,calq){
	allImgOff();
	hideAll();
	rol(img,'ON');
	show(calq);
}

function zou(img){
	hideAll();
	rol(img,'OFF');
}


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


function envoyer(url, type, id) {
	if (id)
		insertion_id = '&id='+id;
	else
		insertion_id = '';

	MM_openBrWindow(chemin+'outils/envoyer.php?url='+url+'&type='+type+''+insertion_id,'pop_envoyer','scrollbars=yes,resizable=no,width=590,height=560');
}


function reagir(type, id) {
	if (id)
		insertion_id = '&id='+id;
	else
		insertion_id = '';
	
	if (document.layers) {reagir_h = 420;} else {reagir_h = 403;} 
	MM_openBrWindow(chemin+'outils/reagir.php?type='+type+''+insertion_id,'pop_reagir','scrollbars=yes,resizable=no,width=590,height='+reagir_h);
}

//-->