function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


function PopupImage(img) {
	titre="ZOOM";
	w=open("",'image','width=400,height=400,toolbar=no,scrollbars=no,resizable=no');	
	w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE></HEAD>");
	w.document.write("<SCRIPT language=javascript>function checksize()  { if (document.images[0].complete) {  window.resizeTo(document.images[0].width+12,document.images[0].height+30); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
	w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0><IMG src='"+img+"' border=0 onClick='javascript:window.close();' style='cursor:hand'>");
	w.document.write("");
	w.document.write("</BODY></HTML>");
	w.document.close();
}



imgPath = new Array;
SiClickGoTo = new Array;
if (document.images)
 {
 i0 = new Image;
 i0.src = '/img-Rn2D/model-federation-nationale-cdt/aleatoire-1/0.jpg';
 SiClickGoTo[0] = "";
 imgPath[0] = i0.src;
 i1 = new Image;
 i1.src = '/img-Rn2D/model-federation-nationale-cdt/aleatoire-1/1.jpg';
 SiClickGoTo[1] = "";
 imgPath[1] = i1.src;
 i2 = new Image;
 i2.src = '/img-Rn2D/model-federation-nationale-cdt/aleatoire-1/2.jpg';
 SiClickGoTo[2] = "";
 imgPath[2] = i2.src;
  i3 = new Image;
 i3.src = '/img-Rn2D/model-federation-nationale-cdt/aleatoire-1/3.jpg';
 SiClickGoTo[3] = "";
 imgPath[3] = i3.src;
 }
a = 0;
function ejs_img_fx(img)
 {
 if(img && img.filters && img.filters[0])
  {
  img.filters[0].apply();
  img.filters[0].play();
  }
 }

function StartAnim()
 {
 if (document.images)
  {
  document.write('<IMG usemap="#Map2" SRC="/img-Rn2D/federation-nationale-des-cdt/aleatoire-1/0.jpg" BORDER=0 NAME=defil style="filter:progid:DXImageTransform.Microsoft.Pixelate(MaxSquare=100,Duration=1)">');
  defilimg()
  }
 else
  {
  document.write('<IMG usemap="#Map2" SRC="/img-Rn2D/federation-nationale-des-cdt/aleatoire-1/0.jpg" BORDER=0>')
  }
 }
function ImgDest()
 {
 document.location.href = SiClickGoTo[a-1];
 }
function defilimg()
 {
 if (a == 4)
  {
  a = 0;
  }
 if (document.images)
  {
  ejs_img_fx(document.defil)
  document.defil.src = imgPath[a];
  tempo3 = setTimeout("defilimg()",5000);
  a++;
  }
 }
 
 function loadAjax(url,cible,src)
{
	//Changement du contenu
	var xhr_object = null; 
	document.getElementById(cible).innerHTML = "Chargement ...";
 
	if(window.XMLHttpRequest) // Firefox 
	   xhr_object = new XMLHttpRequest(); 
	else if(window.ActiveXObject) // Internet Explorer 
	   xhr_object = new ActiveXObject("Microsoft.XMLHTTP"); 
	else { // XMLHttpRequest non supporté par le navigateur 
	   alert("Votre navigateur ne supporte pas l'ajax ..."); 
	   return; 
	} 
	//xhr_object.open("GET", url+'&cible='+cible, true); 
	xhr_object.open("GET", url, true); 
	xhr_object.onreadystatechange = function() 
	{ 
	   if(xhr_object.readyState == 4)
	   {
			document.getElementById(cible).innerHTML = xhr_object.responseText;
		}
	} 
	xhr_object.send(null); 
}