Element.on(window, 'load', function(){
	//Lightbox sur les images contenue dans le texte
	$$('.texte img').each(function(img){
		if(((img.up()).tagName).toLowerCase() == 'a') return false;
		img.on('click', function(){
			this.lightbox();
		});
	});
	
	//Génération du menu
	var sublinks = $H();
	$$('#menu span').each(function(span){
		span.show();
		//recherche de la div du parent	
		var div_parent = span.previous('div');
		(div_parent.down('div')).insert({'bottom': span});
	});
});
