	function select_gal(gal_select,legende,src){
			if(gal_select.style.color!='#ff1111'){

				document.getElementById('gal1').style.color='';
				document.getElementById('gal2').style.color='';
				document.getElementById('gal3').style.color='';
				document.getElementById('gal11').style.color='';
				document.getElementById('gal12').style.color='';
				document.getElementById('gal13').style.color='';

				document.getElementById('gal1').style.cursor='hand';
				document.getElementById('gal2').style.cursor='hand';
				document.getElementById('gal3').style.cursor='hand';
				document.getElementById('gal1').style.cursor='pointer';
				document.getElementById('gal2').style.cursor='pointer';
				document.getElementById('gal3').style.cursor='pointer';

				document.getElementById('gal11').style.cursor='hand';
				document.getElementById('gal12').style.cursor='hand';
				document.getElementById('gal13').style.cursor='hand';
				document.getElementById('gal11').style.cursor='pointer';
				document.getElementById('gal12').style.cursor='pointer';
				document.getElementById('gal13').style.cursor='pointer';

				gal_select.style.color='#ff1111';
				gal_select.style.cursor='default';
				gal_select.style.backgroundColor='';
				document.getElementById('legend_ct').innerHTML=legende;
				get_page_contenu(src);
			}
		}

	    function gal_over(gal_select){
	    	if(navigator.appName!="Netscape"){
		    	if(gal_select.style.color!='#ff1111'){
		    		gal_select.style.backgroundColor='#770000';
		    	}else{
		    		gal_select.style.cursor='default';
		    	}
	    	}else{
	    		if(gal_select.style.color!='rgb(255, 68, 68)'){
		    		gal_select.style.backgroundColor='#770000';
		    	}else{
		    		gal_select.style.cursor='default';
		    	}
	    	}
	    }

	  function init_contenu(page_name,link_name){
      document.location='http://www.jeanfourton.com/index.html?page_name=' + page_name + '&link_name=' + link_name;
	  }

		function init(){

		  var nom=new Array();
      var valeur=new Array();
      link_name="";
      page_name="";

      param = window.location.search.slice(1,window.location.search.length);

      first = param.split("&");

      for(i=0;i<first.length;i++){
          second = first[i].split("=");
          nom[i] = second[0];
          valeur[i] = second[1];
          if(second[0]=="page_name")page_name=second[1];
          if(second[0]=="link_name")link_name=second[1];
      }

      if(page_name!=""){
        get_page_contenu(page_name,link_name) ;
      }else{
        get_page_contenu('ndrs.htm','b_ndrs');
      }

		  with(document.body.style)
				{
				  scrollbarDarkShadowColor="000000";
				  scrollbar3dLightColor="000000";
				  scrollbarArrowColor="995522";
				  scrollbarBaseColor="000000";
				  scrollbarFaceColor="170202";
				  scrollbarHighlightColor="995522";
				  scrollbarShadowColor="995522";
				  scrollbarTrackColor="170202";
				}

		  if(navigator.appName!="Netscape"){
				//document.getElementById('blank_top').style.height="27px";
				//document.getElementById('fcontenu').style.width="98%";

				//document.getElementById('gal1').stylecursor="hand";
				//document.getElementById('gal2').stylecursor="hand";
				//document.getElementById('gal3').stylecursor="hand";

				document.getElementById('b_biographie').style.cursor="hand";
				document.getElementById('b_textes_critiques').style.cursor="hand";
				document.getElementById('b_ndrs').style.cursor="hand";
				document.getElementById('b_tenebre').style.cursor="hand";
				document.getElementById('b_thumbs').style.cursor="hand";
				document.getElementById('b_adagp').style.cursor="hand";
				document.getElementById('b_contact').style.cursor="hand";
			}else{
				//document.getElementById('blank_top').style.height="27px";
				//document.getElementById('fcontenu').style.width="98%";
				document.getElementById('b_biographie').style.cursor="pointer";
				document.getElementById('b_textes_critiques').style.cursor="pointer";
				document.getElementById('b_ndrs').style.cursor="pointer";
				document.getElementById('b_tenebre').style.cursor="pointer";
				document.getElementById('b_thumbs').style.cursor="pointer";
				document.getElementById('b_adagp').style.cursor="pointer";
				document.getElementById('b_contact').style.cursor="pointer";
			}
			document.getElementById('biographie_link').href="javascript:get_page_contenu('biographie.htm','b_biographie')";
			document.getElementById('textes_critiques_link').href="javascript:get_page_contenu('textes_critiques.htm','b_textes_critiques')";
			document.getElementById('ndrs_link').href="javascript:get_page_contenu('ndrs.htm','b_ndrs')";
			document.getElementById('tenebre_link').href="javascript:get_page_contenu('tenebre.htm','b_tenebre')";
			document.getElementById('thumbs_link').href="javascript:get_page_contenu('thumbs/index.html','b_thumbs')";
			document.getElementById('gadagp_link').href="javascript:get_page_contenu('gadagp.htm','b_adagp')";
			document.getElementById('contact_link').href="javascript:get_page_contenu('contact.htm','b_contact')";

			document.getElementById('b_biographie').innerHTML="&nbsp;&bull; Biographie de l'artiste";
			document.getElementById('b_textes_critiques').innerHTML="&nbsp;&bull; Textes critiques";
			document.getElementById('b_ndrs').innerHTML="&nbsp;&bull; Le Nœud de Raison";
			document.getElementById('b_tenebre').innerHTML="&nbsp;&bull; La Galerie des Ténèbres";
			document.getElementById('b_thumbs').innerHTML="&nbsp;&bull; Période n°5 <span class=\"txt9px\">et illustrations</span>";
			document.getElementById('b_adagp').innerHTML="&nbsp;&bull; La Galerie ADAGP";
			document.getElementById('b_contact').innerHTML="&nbsp;&bull; Contact";
			
			
			//document.getElementById('contenu').allowtransparency="true";
		}

		function openGallerie(elem){
      var tenebre=window.open("http://jeanfourton.com/tenebre/main.html","Galerie","fullscreen");
      tenebre.focus();
			return(false);
	  }

	  function openGallerie_ndrs(elem){
   	  var ndrs=window.open("http://jeanfourton.com/ndrs/index.htm","Le_Noeud_De_Raison","fullscreen=no,resizable=yes");
			ndrs.focus();
			return(false);
   	}

   	function writediv(texte,div,pere){
			eval(pere+'.getElementById(div).innerHTML = texte;');
		}

		function vb(){
			var C=null;
			try{
				C=new ActiveXObject("Msxml2.XMLHTTP")
			}catch(e){
				try{
					C=new ActiveXObject("Microsoft.XMLHTTP")
				}catch(sc){
					C=null
				}
			}
			if(!C&&typeof XMLHttpRequest!="undefined"){
				C=new XMLHttpRequest()
			}
			return C
		}

		function file(fichier){
			 xhr_object =vb()
		     xhr_object.open("GET", fichier, false);
		     xhr_object.send(null);
		     if(xhr_object.readyState == 4) return(xhr_object.responseText);
		     else return(false);
		}

		last_button=0;
		function get_page_contenu(page,button){			
			if(last_button!=button){
				document.getElementById('contenu').innerHTML="";
				document.getElementById('dwait').style.visibility="visible";
				document.getElementById('contenu').style.heigt="450px";
				try{
					if(texte = file(page)){
						document.getElementById('contenu').innerHTML=stripslashes(texte);
						document.getElementById(button).style.color='#ffffff';
						if(navigator.appName!="Netscape")document.getElementById(button).style.cursor='none';
						if(last_button){
							document.getElementById(last_button).style.color='#FF9933';
							if(navigator.appName!="Netscape"){
							  document.getElementById(last_button).style.cursor='hand';
							}else{
							  document.getElementById(last_button).style.cursor='pointer';
							}
						}
						last_button=button;
					}
				}catch(ex){
					document.getElementById('contenu').innerHTML="<br /><br /><p><font color=red><center><b>La page recherch&eacute;e est introuvable ou un probl&egrave;me de connexion en est peut-&ecirc;tre la cause.<br /><br />Si le probl&egrave;me persiste, merci de bien vouloir l'indiquer au <a href='mailto:info@jeanfourton.com'>webmaster</a>.</b></center></font></p><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />";
				}
				document.getElementById('dwait').style.visibility="hidden";
			}
		}

		function stripslashes(str){
			//str=str.replace(/\\'/g,'\'');
			//str=str.replace(/\\"/g,'"');
			str=str.replace(/\\\\/g,'\\');
			str=str.replace(/\\0/g,'');
			return str;
		}

		function addslashes(str){
			str=str.replace(/\'/g,'\\\'');
			str=str.replace(/\"/g,'\\"');
			str=str.replace(/\\/g,'\\\\');
			str=str.replace(/\0/g,'\\0');
			return str;
		}

		function open_url(url){
			var page_url;
			page_url=window.open(url,'Jean_Fourton');
			try{
				page_url.focus();
			}catch(ex){
			  alert('Une erreure est survenue lors de la tentative d\'ouverture de l\'URL.');
			}
		}