// JavaScript Document
function visu_mur()
{
  var leServeur="";
  var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
    myHeight = document.body.clientHeight;
  }

	myWidth =  parseInt(myWidth *0.90);
	myHeight = parseInt((myWidth*9)/15);
		le_location=window.location.href ;
		//alert(le_location);
		if (le_location.indexOf(".reseauculturel.") >= 0  ) {
			 leServeur="http://www.reseauculturel.fr"; 
		} else {
			if (le_location.indexOf("gestion.reseau") >= 0 || le_location.indexOf("terre-catalane") >= 0 ) {
				 leServeur="http://gestion.reseau/ipop/visualisation"; 
			} else {
				leServeur="http://www.reseauculturel.fr"; 
			}
		}
		//alert(leServeur);		
		le_link =leServeur + "/mur/mur_flash.php?myWidth="+myWidth+"&myHeight="+myHeight ;
	gal_win(le_link,myHeight,myWidth,"Mur images");

}

function gal_win(le_url,hh,ww, titre) {
//'articles.asp?id=4821&amp;popup=1'
	le_url = le_url +'&amp;TB_iframe=true&amp;height=' + hh + '&amp;width=' + ww;
	//alert(le_url);
	//document.getElementById("tetiere").style.visibility = "hidden";
	TB_show(titre, le_url, false);

}

