function ouvrir(l,h,url) {
hauteur=Math.round((screen.availHeight-h)/2);
largeur=Math.round((screen.availWidth-l)/2);
window.open(url, "site", "toolbar=0,location=0,directories=0,status=0, scrollbars=1,resizable=1,menubar=0,top="+hauteur+",left="+largeur+",width="+l+",height="+h);
}


function AfficherImage(img){
  Image1= new Image();
  Image1.src=(img);
  Control(img);
}
function Control(img){
  if((Image1.width!=0)&&(Image1.height!=0)){
    VoirImage(img);
  }
  else{
    fonction="Control('"+img+"')";
    intervalle=setTimeout(fonction,20);
  }
}
function VoirImage(img){
  largeur=Image1.width+20;
  hauteur=Image1.height+20;
  proprietes="width="+ largeur +",height="+ hauteur;
  win=window.open(img,"",proprietes);
}


	function Ihide(id)
	  {
 	   	if (document.getElementById(id).style.display == 'none') 
    	current = 'block'; 
 	    else 
 	   	current = 'none';
			
 	    document.getElementById(id).style.display = current;
	  }
	function hide(id)
	  {
	  document.getElementById(id).style.display = 'none' ;
 	  }
	  
function LigneOnMouseOver(src,color) {
	ExCL = src.style.backgroundColor;
	src.style.backgroundColor = color;
}


function LigneOnMouseOut(src) {
	src.style.backgroundColor = ExCL;
}

