function FabVisionneusePhotos()
{

	var photos = document.getElementById('fab_photo_choix') ;
	if (photos == null) {return false;}
	else{
		var liens = photos.getElementsByTagName('a') ;
		var big_photo = document.getElementById('fab_photo_affiche') ;
		
		for (var i = 0 ; i < liens.length ; ++i) {
			liens[i].onclick = function() {
				big_photo.src = this.href; 
				big_photo.alt = this.title; 
				return false;
			};
		}
	}
	
	var photos01 = document.getElementById('fab_photo_choix_01') ;
	if (photos01 == null) {return false;}
	else{
		var liens01 = photos01.getElementsByTagName('a') ;
		var big_photo01 = document.getElementById('fab_photo_affiche_01') ;
		
		for (var i = 0 ; i < liens01.length ; ++i) {
			liens01[i].onclick = function() {
				big_photo01.src = this.href; 
				big_photo01.alt = this.title; 
				return false;
			};
		}
	}
	var photos02 = document.getElementById('fab_photo_choix_02') ;
	if (photos02 == null) {return false;}
	else{
		var liens02 = photos02.getElementsByTagName('a') ;
		var big_photo02 = document.getElementById('fab_photo_affiche_02') ;
		
		for (var i = 0 ; i < liens02.length ; ++i) {
			liens02[i].onclick = function() {
				big_photo02.src = this.href; 
				big_photo02.alt = this.title; 
				return false;
			};
		}
	}
/* Nouveau */
	var photos03 = document.getElementById('fab_photo_choix_03') ;
	if (photos03 == null) {return false;}
	else{
		var liens03 = photos03.getElementsByTagName('a') ;
		var big_photo03 = document.getElementById('fab_photo_affiche_03') ;
		
		for (var i = 0 ; i < liens03.length ; ++i) {
			liens03[i].onclick = function() {
				big_photo03.src = this.href; 
				big_photo03.alt = this.title; 
				return false;
			};
		}
	}
	var photos04 = document.getElementById('fab_photo_choix_04') ;
	if (photos04 == null) {return false;}
	else{
		var liens04 = photos04.getElementsByTagName('a') ;
		var big_photo04 = document.getElementById('fab_photo_affiche_04') ;
		
		for (var i = 0 ; i < liens04.length ; ++i) {
			liens04[i].onclick = function() {
				big_photo04.src = this.href; 
				big_photo04.alt = this.title; 
				return false;
			};
		}
	}
	var photos05 = document.getElementById('fab_photo_choix_05') ;
	if (photos05 == null) {return false;}
	else{
		var liens05 = photos05.getElementsByTagName('a') ;
		var big_photo05 = document.getElementById('fab_photo_affiche_05') ;
		
		for (var i = 0 ; i < liens05.length ; ++i) {
			liens05[i].onclick = function() {
				big_photo05.src = this.href; 
				big_photo05.alt = this.title; 
				return false;
			};
		}
	}
	var photos06 = document.getElementById('fab_photo_choix_06') ;
	if (photos06 == null) {return false;}
	else{
		var liens06 = photos06.getElementsByTagName('a') ;
		var big_photo06 = document.getElementById('fab_photo_affiche_06') ;
		
		for (var i = 0 ; i < liens06.length ; ++i) {
			liens06[i].onclick = function() {
				big_photo06.src = this.href; 
				big_photo06.alt = this.title; 
				return false;
			};
		}
	}
	var photos07 = document.getElementById('fab_photo_choix_07') ;
	if (photos07 == null) {return false;}
	else{
		var liens07 = photos07.getElementsByTagName('a') ;
		var big_photo07 = document.getElementById('fab_photo_affiche_07') ;
		
		for (var i = 0 ; i < liens07.length ; ++i) {
			liens07[i].onclick = function() {
				big_photo07.src = this.href; 
				big_photo07.alt = this.title; 
				return false;
			};
		}
	}
	var photos08 = document.getElementById('fab_photo_choix_08') ;
	if (photos08 == null) {return false;}
	else{
		var liens08 = photos08.getElementsByTagName('a') ;
		var big_photo08 = document.getElementById('fab_photo_affiche_08') ;
		
		for (var i = 0 ; i < liens08.length ; ++i) {
			liens08[i].onclick = function() {
				big_photo08.src = this.href; 
				big_photo08.alt = this.title; 
				return false;
			};
		}
	}
	var photos09 = document.getElementById('fab_photo_choix_09') ;
	if (photos09 == null) {return false;}
	else{
		var liens09 = photos09.getElementsByTagName('a') ;
		var big_photo09 = document.getElementById('fab_photo_affiche_09') ;
		
		for (var i = 0 ; i < liens09.length ; ++i) {
			liens09[i].onclick = function() {
				big_photo09.src = this.href; 
				big_photo09.alt = this.title; 
				return false;
			};
		}
	}
}
window.onload = FabVisionneusePhotos;

/* OUVRIR IMAGE EN "POPUP" */
function ouvrirfenetreimage(contenu){
if (document.getElementById){
box = document.getElementById("imagepop").style; // attrape le div "imagepop"
if(navigator.appName.substring(0,3) == "Net") //detecte position souris
document.captureEvents(Event.MOUSEMOVE);
document.onmousemove = pointer; //lance fonction pointer au mouvement souris dans la zone
}

var content ="<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR=#006600><TR><TD><TABLE WIDTH=1 CELLPADDING=3 CELLSPACING=1><TR><TD BGCOLOR=#FFFFFF><CENTER><"+contenu+"></CENTER></TD></TR></TABLE></TD></TR></TABLE>";
if (document.getElementById)
{
document.getElementById("imagepop").innerHTML = content;
box.visibility = "visible";
}
}

function pointer(e)
{
var x = (navigator.appName.substring(0,3) == "Net") ? e.pageX : event.x+document.body.scrollLeft;
var y = (navigator.appName.substring(0,3) == "Net") ? e.pageY : event.y+document.body.scrollTop;
box.left = x+2+"px";
box.top = y+2+"px";
}
function fermerfenetreimage()
{
if (document.getElementById)
box.visibility = "hidden";
}
