<!-- hide

highlightcolour="#333";
highlightbackground="";
highlighttext="Moins";

normalcolour="#333";
normalbackground="";
normaltext="Plus";

function ensavoirplus(which){
	if (document.getElementById && document.createTextNode){
		if (which=="dispall") {ensavoirplusAll(1);}
		else if (which=="hideall") {ensavoirplusAll(0);}
		else {
			m=document.getElementById("menu");
			trig=document.getElementById(which + '-div').style.display;
			t=document.getElementById(which + '-h5');
			h=document.getElementById(which + '-a').firstChild;
	                z= 'i'+ which;
			i=document.images[z];
			if (trig=="block") trig="none";
			else if (trig=="" || trig=="none") trig="block";
			if (trig=="none"){
			  //				h.nodeValue=h.nodeValue.replace(highlighttext,normaltext);
				t.style.background=normalbackground;
				t.style.color=normalcolour;
	                        i.src = pics[z][0].src;
				}
			else {
			  //				h.nodeValue=h.nodeValue.replace(normaltext,highlighttext);
				t.style.background=highlightbackground;
				t.style.color=highlightcolour;
	                        i.src = pics[z][1].src;
				}
			document.getElementById(which + '-div').style.display=trig;
		}
	}
} 

function ensavoirplusAll(show){
	if (document.getElementById && document.createTextNode){
		m=document.getElementById("menu");
		for (i=0;i<m.getElementsByTagName("div").length;i++){
			t=m.getElementsByTagName("h5").item(i);
			h=t.getElementsByTagName("a").item(0).firstChild;
			if (show==1){
				h.nodeValue=h.nodeValue.replace(normaltext,highlighttext);
				t.style.background=highlightbackground;
				t.style.color=highlightcolour;
				m.getElementsByTagName("div").item(i).style.display="block";
			}
			else {
				h.nodeValue=h.nodeValue.replace(highlighttext,normaltext);
				t.style.background=normalbackground;
				t.style.color=normalcolour;
				m.getElementsByTagName("div").item(i).style.display="none";
			}
		}
	}
}


   function preload(name, first, second, clic) {  
  // preload images and place them in an array

    if (browserOK) {     
	if ( pics[name] == null) {
             pics[name] = new Array(3);
	     pics[name][0] = new Image();pics[name][0].src = first;
	     pics[name][1] = new Image();pics[name][1].src = second;
	     pics[name][2] = new Image();pics[name][2].src = clic;
        }
      }
   }
   function on(name,fraref,tyx){
     if (browserOK) {
        if ( objref != name) {
	  fraref.document.images[name].src = pics[name][tyx].src;
        }
     }
   }
   function up(name,fraref){
     if (browserOK) {
	if (ofraref != null) {
           if (objref != "") {
              if (ofraref.document.images[objref] != null) {
		  ofraref.document.images[objref].src = pics[objref][0].src;
              }
           }
        }
        objref=name;ofraref=fraref;
        if (fraref.document.images[objref] != null) {
          // show the second image because cursor moves across this image
	  fraref.document.images[objref].src = pics[objref][2].src;
        }
      }
    }
    function setobjref(obj,fraref){
            objref=obj;
            ofraref=fraref;
    }
    function view(url,width,height) {
       windowC=window.open(url,"window2","toolbar=no,scrollbars=yes,width=" + width + ",height=" + height);
       windowC.focus();
    }
// -->
